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...).
-
View User Profile
-
Send Message
Posted Aug 29, 2012Awesome! Testing now :D.
-
View User Profile
-
Send Message
Posted Aug 28, 20121.6 Is uploaded.
Still needs some time for Approval, I guess.
-
View User Profile
-
Send Message
Posted Aug 26, 2012@Tobiyas
Thanks so much!
-
View User Profile
-
Send Message
Posted Aug 24, 2012@SuperMinecraftBrosMC Sure. Feel free to add it.
Updating isn't that simple. ;) Targeting is not working properly (including Fireballs) at the moment. When I get it fixed, I guess I can release it.
I'm doing my best!
-
View User Profile
-
Send Message
Posted Aug 22, 2012@Tobiyas
ohh! Ok, Please update ASAP, I need it for my DvZ Plugin Compilation. Thanks, Also do you mind if I add it into the DvZ Plugin Pack?
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Tobiyas
Thanks for working on the update, this plugins great!
PS. A suggestion, you could make a boss mod, so it could include other mobs like giants!
-
View User Profile
-
Send Message
Posted Aug 20, 2012@SuperMinecraftBrosMC It doesn't work because the plugin is made for 1.2.4.
I'm on updating, but it is a bit more complicated as I thought.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@Spiritwind51
Thanks. Problem. I cant spawn dragons. I get an Internal Server error in my chat whenever i use /sedp Then i do /kedp and it says one dragon is killed... What should I do? I use the CB Recommend build for 1.3.1
-
View User Profile
-
Send Message
Posted Aug 19, 2012@SuperMinecraftBrosMC
Yepp, it will :).
-
View User Profile
-
Send Message
Posted Aug 17, 2012Question: If you spawn an EnderDragon with /spawnmob enderdragon 1 will the enderdragon become like the one from this plugin? (Shoots fireballs and all that cool Jass) Thank You!
-
View User Profile
-
Send Message
Posted Aug 15, 2012Please update this plugin.
But for those looking into this, its a must have if you have a fantasy map, or just love EnderDragons in general!!!!
-
View User Profile
-
Send Message
Posted Aug 14, 2012Hope to see an update!
-
View User Profile
-
Send Message
Posted Aug 7, 2012Like NazzyDragon pointed out, we've switched back to your plugin! Please let us know if you need another server for testing.
EDIT: Your plugin is the last one we need before we can update. Any way you could release a dev version?
-
View User Profile
-
Send Message
Posted Aug 7, 2012Well, theres your recommended CB! =)
-
View User Profile
-
Send Message
Posted Aug 3, 2012@VariousArtist Well... Sure it won't work with 1.3.1.
Have you looked at the new EntityEnderdragon.java ? ;) Kind of messy...
Not much changes after all happened. I already updated it for myself, but have not tested anything.
I'm not gonna update any features till 1.3.1 works without any strange issues. ;)
@NazzyDragon My inspiration! ;D
-
View User Profile
-
Send Message
Posted Aug 3, 2012Just a short info:
Enderdragons+ 1.5 bugs out with the 1.3 Craftbukkits:
http://pastebin.com/4LVgMS54
-
View User Profile
-
Send Message
Posted Aug 3, 2012This plugin is lookin' gooooooooooooood.
-
View User Profile
-
Send Message
Posted Jul 22, 2012@Tobiyas
Alright, I see your point on the lightning thing now, I was able to make it use lightning attacks through the use of another plugin, was way to overpowered, even when the lightning power was set low. On another note other types of damage and effects have made the dragon an entertaining and formidable foe, I currently have it set up so that it has a chance of blinding, poisoning, slowing attack speed, disarming, and using a weakness effect. The blindness and poisoning are everyone's favorites and something to consider if you ever want to expand it's powers past fireballs.
-
View User Profile
-
Send Message
Posted Jul 21, 2012Please make it so you can enable fireball explosion player dmg but disable block dmg!
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Tobiyas
I see how that would be a pain, but I don't see how using a fakeblock check would not fix it.
What I mean is somehow you might be able to get the dragon to think every block is a endstone or obsidian by by returning a check when it goes near any block it thinks its endstone even if its not.
But running a check on every single block I think would take more resources though I don't think it will as bad as it appears it would be if the plugin had to run rewrite movement. I am pretty sure you could just write something reasonably simple that makes the dragon to return true if is near any collision object and if true make it collide or move away.
Actually I have a better workaround idea one that would be non intensive that will fix this Just add a quick and dirty Min height check on attacking and Flight. Then the server owners can decide if what heights they want the dragons to go crazy. In my case I would set them to fly at above build height like 20 blocks above and attack at a block below build height.
Of course you could also have a min setting for fireball as well so they can still shoot a fireball but just not fly down to the player to do so.
I hope you understand what I am trying say. This would fix it pretty quick and the resource usage would be negligible