Enderdragons+
Enderdragons Plus
Description
The plugin controls the spawning of Enderdragons. It fixes the feature that Enderdragons will always fly to the point 0,70,0 if they have no target. It also gives the dragons a home position, where it will return, if he flies to far away.
The Plugin will replace all dragons witch are spawned by these dragons. (except they are not of class: net.minecraft.server.EntityEnderdragon). It is compatible with DragonTravel. It is compatible with RideThaDragon.
There are multiple possibility to configure Dragons. Also there is the possibility to have different Dragon types (different Ages of Dragons) on the Server (see the section Dragon Ages).
Also you can ride dragons with this plugin and fire fireballs while riding (pure Awsomeness)!!
IMPORTANT! This will only work with CraftBukkit!!! (Tested with Version 1.7.2 R0.1) All other Bukkit Implementation and Versions can work, but it is not guaranteed.
Commands
- /edp : gives some info to the plugin
- /sedp : spawns an EnderDragon.
- /kedp [range] : kills all registered EnderDragons in the given range. range = 0 means All Enderdragons regardless of range and world.
- /edpunload : unloads all EnderDragons to an extenal files.
- /edpload : loads all external EnderDragons from files.
- /edpinfo : gives info how many EnderDragons are loaded.
- /edpreload : reloads the config of EnderDragons+.
- /edpgohome : sends all Enderdragons to their Home-Locations
- /edprespawner ... : does respawner commands
- /edpride [speed] : lets you ride a dragon.
PermissionNodes
Permissions are bound to the commands:
- edplus.create : /sedp
- edplus.kill : /kedp [range]
- edplus.commandback : /edpgohome
- edplus.reloadconfig : /edpreload
- edplus.unloadall : /edpuload
- edplus.loadall : /edpload
- edplus.info : /edpinfo
- edplus.riding.ride : /edpride [speed]
- edplus.riding.fireball : firing a fireball while riding a dragon (press q, key for throwing item away. Has to have an Item in hand)
Others:
- edplus.targeting.ignore : The person gets ignored by Dragons
- edplus.riding.fireball : fires a Fireball while riding with key 'q' (throw Item away).
Riding a Dragon
Simply use /edpride [speed] . The Speed is from very slow to unlimited. Recomondations are: slow: speed = 1, medium: speed = 3, fast: speed = 5.
You can Fire fireballs when riding a dragon. Simply press 'q' (throw Item away Key). Then The Dragon will fire a fireball on your Target location.
There are 2 Permissions. One for Riding, one for Fireball spitting. -> see Chapter: PermissionNodes.
Respawners:
IMPORTANT!!!!: if a player does not have the edplus.resawner.see Permission, he will not see the Respawner-Sign! Permissions:
- edplus.respawner.create: '/edprespawner create <spawnername> [respawnTime] [dragons]' and '/edprespawner link <spawnername>'
- edplus.respawner.remove: Hitting the sign to kill the respawner
- edplus.respawner.clear: /edprespawner clear
- edplus.respawner.info: /edprespawner info
- edplus.respawner.debug: /edprespawner debugsigns
- edplus.respawner.see: IMPORTANT: If the Player has this permission, he sees the Respawner Sign, if not, he does not see it!!
- edplus.respawner.port: /edprespawner port [number]
Commands:
- /edprespawner create <spawnername> [RespawnTime] [MaxDragons] : creates a respawner named: as in <spawnername>, with [RespawnTime] as respawn time and [MaxDragons] as maximum dragons at the same time (respawn time is in SECONDS).
- /edprespawner link <spawnername> : links your current location to the spawner named in: <spawnername>
- /edprespawner clear : clears all respawners and deletes them. (Emergency command)
- /edprespawner info : gives info where and how many Respawners are.
- /edprespawner debugsigns : if the respawner exists, but the Sign is not there, it will be replaced. ATTENTION, noticing, if the Sign is invisible!!
- /edprespawner port <Respawner Name> [number] : ports to the respawner with the name in <Respawner Name> and the Number: [number] (can be seen on sign or with /edprespawner info)
The Plugin is compatible to the following PermissionSystems:
- Vault
- PermissionsEx
- GroupManager
- BukkitPermissions
- bPermissions (experimental)
- No permissions (Op only)
Config
The Configuration is mostly good documented (config.yml).
Dragon Ages
There is another configuration. The Dragon ages located in the ageTable.yml.
Different Dragons with different ages can be spawned. This makes it possible to have different difficulties (like: small, normal, hard, etc.). For further information and syntax look at: Dragon Ages.
API (for developer)
API class: de.tobiyas.enderdragonsplus.API.DragonAPI Methods:
- public static boolean setTarget(LivingEntity dragon, LivingEntity target);
- public static boolean setTarget(LivingEntity dragon, Player player);
- public static boolean setTarget(LivingEntity dragon, Location location);
- public static boolean sendHome(LivingEntity dragon);
- public static boolean setNewHome(LivingEntity dragon, Location location);
- public static boolean setNewHomeAndGoTo(LivingEntity dragon, Location location);
- public static LivingEntity spawnNewEnderdragon(Location location);
- public static boolean setPropertyToDragon(LivingEntity dragon, String property, Object value);
- public static Object getPropertyToDragon(LivingEntity dragon, String property);
- public static boolean spitFireballOnTarget(LivingEntity dragon, Entity target);
Information that has to be given (Disclaimer):
- The Plugin is capable of uploading errors to a database. This is disabled by default. To Enable this feature, enable it in the configuration (uploadErrors: true).
- The Plugin collects metric data for usage (https://mcstats.org/). This is enabled by default. To disable this feature, set the config option to false (uploadMetrics: false).
Known Bugs (V1.11.0)
- On dragon reloading (chunk unload and reload) it will give a Bukkit warning that the dragon was stored wrong
Upcoming in next Version (V1.11.1)
- Currently working on V1.11.1:
- Untested:
- Still missing: - Fire breath (70%, looks promising, but needs more testing)
Thanks To:
- @NazzyDragon: for the Idea and the support for testing :)
- @V10Lator: for the Plugin: RideThaDragon (gonna miss you :( thanks for the cool plugin!)
- @XemsDoom, @Phiwa: for the Plugin: DragonTravel (gonna miss you :( thanks for the cool plugin!)
- @CraftBukkit team: for the API and "cleaning" Notch's code
OTHER
If you want to help me by donating, this would be great! This Project consumes a lot of time. The changes the bukkit Team / Mojang do are not always that fine to look through. Donating always motivates to do more/better work ;) . The link is on the top right!
I need some 'Beta testing people' to help me find bugs to already existing stuff. :/ can't do coding + testing at once (unfortunately I only have 2 arms...).
@TobiyasIt is working thanks! Keep up the good work..
Just a note - some of your /edp help pages have typos and stuff, let me know if you'd like some help with docs and cleaning things up
@Tobiyas
Thanks for the reply.
I'm using 1.9.1 for 1.5.2 (if that made sense??) as I'm using a spout heavy server. I have tried 1.10.2, unfortunately, as might be expected; isn't compatible with 1.5.2.
@tremor77
Try this release please.
@kobol1990
Which Version of the Plugin are you using?
HELP MAN! I've done everything I can and cannot get past the "Error during age evaluation" problem creating my spawner. I've used default, i've used the posted examples, i've removed the decimal points... not working for me.
Using this plugin on a 1.5.2 bukkit server;
The dragons keep flying to ,70,~ no matter how high i place the 'spawner' despite this plugin saying this bug is fixed...
Any ideas on how i can fix this?
@bettlibrary I'll give that a try, so far liking this plugin a lot. Hoping to provide opportunity to my players who've never even seen the dragon to fight it...
@tremor77
I had to delete the decimals in both healths and dmg in the ages yml to get it to work. Also there seems to be a number/character limit to the indestructible dragon because I had to trim that number down significantly.
I'm trying to create a spawner doing: /edprespawner create default 3600 1 and I keep getting error: "Error during age evaluation". Just using the default age file right now, fresh install of the plugin. Whats going wrong?
edit: using your ages config.. still no go..
edit #2: console errors: 2013-08-04 15:51:54 [WARNING] Age: simple, path: .maxHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: simple, path: .spawnHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: simple, path: .dmg not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: special, path: .maxHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: special, path: .spawnHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: special, path: .dmg not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: rare, path: .maxHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: rare, path: .spawnHealth not set/incorrect set. 2013-08-04 15:51:54 [WARNING] Age: rare, path: .dmg not set/incorrect set.
Sorry for the long response time. Was really buisy the last days.
@UltrafaceGuy
This is really strange. It works for me with your settings and your table. I'll hang my config here. Maybe it works for you. :( I have no idea what breaks for you.
@CaligoAccedito
I'll hang my own ageTable.yml to the end of this post (also my config.yml).
@LihPeu
That's a cool idea. I will add that. Do you need anything further? I'm gonna add:
link to my personal Configs:
@Astrodude1789
In the config dragonsSpitFireballs: true should be true by default.
Quick question please Tobiyas, It's cool how the plugin determines the player who dealt the most damage, would it be possible to access this players name with the API so I can a command to give the player a reward?
Thanks.
How do I configure enderdragons to be able to shoot fireballs?
@Tobiyas
Hi Tobiyas,
Chances are that I'm using your link wrong somehow, but I'd love it if I could access the ageTable.yml you mentioned below. All that loads in my browser is an empty Hastebin document.
@nowherebrain
The two most recent builds say 1.6.2.
Wat.
any chance of an update...1.6.2?
@Tobiyas
The age evaluation error is still there even with your ageTable, for me at least.
I fixed the loading bug.
If you wanna try if it works now, try this.
@TheMan2016
try this ageTable.yml works for me well. :( I get no error except the mentioned one with the Dragon loading is not correct -_- (screw you bukkit team...).
@Tobiyas
AgeTable: http://paste.md-5.net/vacutudano.sm
Config: http://paste.md-5.net/rimumusore.vala
@Tobiyas
config.yml:
http://paste.md-5.net/qitavokaca.vala
ageTable.yml:
http://paste.md-5.net/yukolikuki.sm
@TheMan2016
Could you past a copy of your 'config.yml' and your 'ageTable.yml'? I don't get that error.
@UltrafaceGuy
I don't get that error. Can you also link your 'config.yml' + 'ageTable.yml'?