EnderDragonSMP
EnderDragonSMP
A small plugin I made to prevent the Ender Dragon portal from spawning on death, and will divide the XP between whoever helped kill the dragon, and give the Egg to whoever hit it the most. It is exceedingly configurable.
If you use this plugin and enjoy it, please donate whatever you think it is worth.
Features
- Prevents the portal from spawning on Ender Dragon death.
- Divide the XP between all the players who attacked the Dragon.
- Give the Egg to whoever did the most damage.
- Respawn EnderDragon.
Commands and Permissions
- /edspawn - Will respawn the Dragon next time a player enters the End.
- /edreload - Reloads config.
Configuration Options
Disable enderdragon block damage?
blockdamage: true
Update automatically?
autoupdate: true
make portal on death?
disableportalspawn: true
give egg/xp on death.
dropeggondeath: false
dropxpondeath: false
Spawn dragon when entering the End
spawndragon: true
Should the Ender Dragon drop a dropped item entity on death?
dropegg: false
Enable dividing of XP between all players who attacked it.
enablexpdivision: true
How much XP should a player get per hit?
xpperhit: 60
Give egg to whichever player did the most damage.
giveeggondeath: true
Support
Just comment for feature requests and bug reports. Keep in mind I am new to java and may be unable to implement many features right now.
Source Code
https://github.com/Skyshayde/EnderDragonSMP
To-Do
- EnderDragon respawning on configurable amounts of time
@PhanaticD
Is the XP working?
@Skyshayde
its the default config except i disabled the cash option, I havent checked the console im just going by what players have been saying that no one is getting the egg
@PhanaticD
is it stack tracing? Or just not working? Could you send me the config?
doesnt seem to be giving the player who did the most damage the egg
@UnUltima23
I am working on it at the moment.
Could you make it so it respawns the Endercrystals to heal the dragon again?
@Min3Wood
I will see what I can do to add that.
Skyshayde I love this plugin but I think it still missing something. If you could add that a person could only get experience from time to time or be configurable respawn time ender dragon it would be a wonderful plugin.
@boba4237sdad
Aha, I have this fixed in my testing version. I'll tidy it up and release it later tonight.
thanx it is a good plugin it is very helpful
Hi Skyshade,
Sorry, here's some more, hope it is enough:
PasteBin
@boba4237sdad
I am debugging it now, but you sure that is the entire thing? It doesn't tell me where in the code it stacktraced.
I have some small problems with an error coming when a player enters another world. This incident was going from world to world_nether.
Your text to link here...
Submitting 1.0 Now! should be fully stable, bug me if you can find any bugs. It will auto update.
@DJ411
I found out what was wrong, fixed it. I'll upload a fix now.
@Skyshayde
http://pastebin.com/Pwe0UbeK Here is an error. I was using 0.8
Also, make sure you are using 0.9, I fixed a small error where I was casting an entity to Player without making sure it was a player. Which I believe was in 0.8
@DJ411
Could you post this error? I will take a look.
I seem to get errors in my console when i'm attack the Dragon and EnderCrystals.
Hey guys, just uploaded v.0.9 for verification, it has auto updating and a scoreboard system for the end so you can at a glance see who has done the most. Both can be disabled in the config. It will probably be verified sometime tomorrow, or you can download it from the GitHub. Keep in mind, it has NOT been verified by the BukkitDev team yet. If you want to build it from source yourself, you can just install Maven, clone the repository, and run "mvn clean install" from the directory with the pom.xml in it. You can PM me if you need more help, and I will write up a howto on the GitHub eventually.
Edit: Wrote up a quick HowTo.