DragonEggs
DragonEggs v2.3
This plugin finally adds a use to dragon eggs! When you right click a dragon egg while holding an eye of ender it will explode and summon an ender dragon. The plugin also includes many other features!
Usage
Simply place the DragonEggs.jar file into your /plugins directory and start/reload your server. A configuration file will be created that you can edit.
Current Features
- Summon ender dragons
- Customizable messages
- Dragon egg crafting recipe
- Disable ender dragons creating a portal on death
- Change the ender dragon's drop
- Take a configurable item(s) when summoning an ender dragon
- Economy support
- Per-environment summoning restrictions
- Per-environment anti-block damage for ender dragons
- Per-world limit of ender dragons
- Custom ender dragon health
Planned Features
- Suggest below
Plugin Spotlight
Due to DevBukkit's page encoding constraints it is not possible to embed a video. You can check the video out here. The video was made by KeepLife InContact, thanks!
Commands and Permissions
The permission to summon ender dragons is DragonEggs.Summon which defaults to TRUE. The permission DragonEggs.Admin for all the commands defaults to OP.
Command |
Permission Node |
/DragonEggs reload - Reload the configuration file | DragonEggs.Admin |
/DragonEggs reset - Reset the configuration file | DragonEggs.Admin |
/DragonEggs kill <radius> - Kill all ender dragons within <radius> blocks of you | DragonEggs.Admin |
Configuration
I recommend using a text editor such as Notepad++ because it makes your life a lot easier.
Configuration Node |
Description |
Type |
Default |
Messages.SummonSuccess | The message when a dragon egg hatches. It must be within quotes. You can use colours! | String | '&9You have released the wrath of the Ender Dragon!' |
Messages.Fail | The message when a player fails to hatch a dragon egg. This applies to a player not having permission and not having the correct item(s). It must be within quotes. You can use colours! | String | '&2You fail to summon the beast under your command.' |
Messages.WrongWorld | The message if a player tries to summon an ender dragon in the main world or nether if WorldControl.SummonDragonInEndOnly is set to true. It must be within quotes. You can use colours! | String | '&4The beast refuses to inhabit such a world.' |
Dragon.CreatePortal | If false an ender dragon will not create a portal and egg on death. If a portal is created in the main world or nether it will go nowhere. | Boolean | false | Dragon.DropEgg | If true an ender dragon will drop a dragon egg as an entity item on death. Useful if Dragon.CreatePortal is set to false. | Boolean | true |
Dragon.Health | The amount of health an ender dragon will have. The default is 200. This only affects dragons summoned from eggs. | Integer | 200 |
Dragon.Limit | Limit the amount of ender dragons per world. | List | - world;10 - world_nether;0 - world_the_end;1 |
ItemCost.Enabled | If true a player will be required to have the specified item(s) to summon an ender dragon. | Boolean | true |
ItemCost.Item | The item that should be taken. | String | GOLDEN_CARROT |
ItemCost.Amount | The amount of the item | Integer | 32 |
EconomyCost.Enabled | Whether it should cost money to summon an ender dragon. Requires Vault and a Vault supported economy plugin. | Boolean | false |
EconomyCost.Cost | The price to summon an ender dragon. | Boolean | false |
DisableDragonSpawn.NormalEnv | If true ender dragons cannot be summoned in a normal world environment. | Boolean | false |
DisableDragonSpawn.NetherEnv | If true ender dragons cannot be summoned in a nether world environment. | Boolean | false |
DisableDragonSpawn.TheEndEnv | If true ender dragons cannot be summoned in an end world environment. | Boolean | false |
DisableDragonBlockDamage.NormalEnv | If true ender dragons will not destroy any blocks in a normal world environment. | Boolean | false |
DisableDragonBlockDamage.NetherEnv | If true ender dragons will not destroy any blocks in a nether world environment. | Boolean | false |
DisableDragonBlockDamage.TheEndEnv | If true ender dragons will not destroy any blocks in an end world environment. | Boolean | false |
DragonEggRecipe.Enabled | If true the custom crafting recipe will be enabled. | Boolean | true |
DragonEggRecipe.<SlotName> | Check out this page. | String | ... |
Source
Source can be viewed on GitHub.
Statistics
Support the Development
If you find this plugin useful then please consider making a donation.
@YoFuzzy3
I'm having the same problem. I am an OP and I changed the Summon amount to 0 so it does not cost an item.
@optimus_Skillz
You have to make sure that:
It keeps saying you failed to summon the dragon under your command. I cant get it to work.
awesome! thanks!
@Celetrontmm
Okay I've done all 3 of your suggestions. The file is waiting approval.
Allright. Actually.. would it be possible to have a toggleable thing in the config to have the dragon only able to spawn in the overworld, with more hp and no block damage?
@Celetrontmm
I could try add an option to disable ender dragon block damage with multi-environment support. I don't really know how I could make the dragon more aggressive though.
I was thinking about this for a PvP server, having a normal dragon at the tip of your finger tips if very overpowered.. (we would reset the end every week.. so more than 1 dragon egg) Would it be possible for you to add a way to make the dragon only able to destroy certain blocks? or just change its explosion.. so it only can break weak materials.. or none.
What I was thinking is: If the dragon is spawned in the end, it is a normal dragon. Can't be spawned in the nether. If spawned in the overworld, it has much greater health but cannot destroy blocks, or only able to destroy dirt. Maybe make it more aggressive too? if possible.
Version 1.2 waiting to be approved:
Version 1.3 waiting to be approved:
@mig4ng
I'll start working on it. :)
add this = Check world blablabla If world is end( Code ) else ( do nothing )
This way the dragons will only spam in end, if you need any help just pm-me. You can also add this to config like SpawnDragonInEndOnly: true/false
@XGhostCrawlerX I've been trying to do that but having no luck.
EDIT: It is in the next version which is waiting to be approved.
Very nice plugin. I know it might not have much to do with it but could you add a feature that prevents the egg from being affected by gravity so that it cant fall?