RideThaDragon
RideThaDragon
No more support here! For updated versions have a look there!
Overview
Ever wanted to own and ride a Enderdragon? Now you can!
Commands
/dragon - To buy a dragon or, if you already own one, ride on it.
/dragon locate - To locate your dragon with a compass.
/dragon remove - To remove your own dragon.
/dragon spawn - To spawn a wild dragon.
/dragon removeall - To remove all dragons in all worlds. WARNING: Use this only in case of emergency.
/dragon removeall world - To remove all dragons in the world "world".
/dragon speed X.Y - To set the speed of rided dragons to X.Y - Please note that I don't recommend setting values below 0.9. Higher values may even crash your server! Also note that a player can feed the dragon to get a max of +1.0 speed. You have been warned!
/dragon height X - To set the min. height for dragons to X in the world you're in.
/dragon height world name X - To set the min. height for dragons to X in the world "world name".
/dragon protect (world name) - To completely protect the world you are in (or "world name", if given) from dragons destroying/flying into blocks!
/dragon WorldGuard - To prevent dragons from flying into WorldGuard regions. Disabled by default!
/dragon BananaRegion - To prevent dragons from flying into BananaRegion regions. Disabled by default!
/dragon towny - To prevent dragons from flying into towns. Disabled by default!
/dragon residence - To prevent dragons from flying into Residence regions. Disabled by default!
/dragon factions - To prevent dragons from flying into Factions regions. Disabled by default!
/dragon cost X - To set the price to summon a dragon to X. 0 to disable dragon costs. This will only work if your server runs with Vault!
/dragon texture http://www.example.com/dragon.png - To change the URL for the texture (you need the SpoutPlugin and Spoutcraft to see the texture) to http://www.example.com/dragon.png - The link has to be accessible for the public.
/dragon owntexture http://www.example.com/owndragon.png - To change the URL for the texture (you need the SpoutPlugin and Spoutcraft to see the texture) to http://www.example.com/owndragon.png - The link has to be accessible for the public.
Please note that all protective commands only work for summoned dragons!
/Update RideThaDragon - to update this plugin. Have a look here for more information.
Permissions (superPerms)
ridetha.dragon - To use the /dragon command. Defaults to all.
ridetha.admin - To use the /dragon subcommands. Defaults to op.
ridetha.locate - To use /dragon locate. Defaults to all.
ridetha.remove - To use /dragon remove. Defaults to all.
ridetha.inv - To be able to look into the your dragon inventory. Defaults to all.
ridetha.allinvs - To be able to look in every dragon inventory. Defaults to op.
ridetha.shoot - To be able to shoot fireballs with left-clicking. Defaults to op.
autoupdate.announce - Users with this node will be notified about new updates. Defaults to op.
autoupdate.update.ridethadragon - Users with this node will be able to use /update this plugin. Defaults to op.
for more information about the autoupdate nodes have a look here.
Dragon control
Controlling your dragon is simple: Look in the direction you want it to fly.
Use the sneaking key to toggle the parking brake.
Since v4.0 you can control the dragon with the arrow keys! For that to work the server needs the SpoutPlugin and the player Spoutcraft. Both is completely optional.
Since v5.0 you can let your dragon shoot a fireball with a left click while riding on it.
Dragon inventory
Since v5.0 each dragon has a inventory. To access it simply right click your dragon!
Dragon feeding
To make your dragon temporary faster right click it with a golden apple in your hand. Every apple will give +0.1 speed (max: +1.0 speed).
Videos
Thanks to Danither for making this video!
@G4meM0ment Did you read the description?
/dragon protect (world name) - To completely protect the world you are in (or "world name", if given) from dragons destroying blocks!
/dragon WorldGuard - To prevent dragons from flying into WorldGuard regions. Disabled by default!
/dragon BananaRegion - To prevent dragons from flying into BananaRegion regions. Disabled by default!
@V10lator
Latest RB ! 1597 :)
@Pr4w This is strange. Which CraftBukkit version are you using?
I'm getting an error on start, but it works fine :) 2011-12-20 00:04:21 [WARNING] Task of 'RideThaDragon' generated an exception java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.bukkit.World; at de.V10lator.RideThaDragon.RideThaDragon$DragonControl.run(RideThaDragon.java:426) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
@XepherLink Double check permissions! Sources are in the jar.
Also the only command that works is /dragon, and can you post the source code plox :D
You can't control it o.o
@AvariceSyn Sounds bad. :( Can anyone confirm this?
@DagumBoss Please double check your permissions and typo. If that doesn'thelp please send me the craftbukkit version and a list of all other plugins via PM.
The remove commands don't work. Now I'm stuck with this:
http://imageshack.us/photo/my-images/849/20111213102250.png
Dragons will still destroy blocks in worldguard regions. They may not actually show as physically going through, however the blocks in the path that it would normally fly are still destroyed.
@Joymo I'll make dragons with jockeys invincible. But for dragons spawned with "/dragon spawn" I won't add it, mainly cause of the dragon at The End.
@Royalgamer06 Should work just fine?
Another issue...the dragon can be killed and drops his loot + exp, making this an endlass XP farm. Any chance you could (with a config flag perhaps) make this dragon not drop loot or maybe easier, make him invincible?
@Joymo This is strange cause PermissionsEx is superPerms compatible and RideThaDragon uses superPerms. All I can say is re-check your permissions, there seems to be something wrong. :(
@V10lator
Latest PEX build in MySQL
Looks great going to give it a try some suggestion if I may
- invisible rider, so for us RPing on my server it can be us[dragon RP server] - maybe a way to tint the dragons texture? so every one can be colored different
@Joymo Which permissions system are you using?
@Royalgamer06 Your CB version is to old. You need >= 1566. Look in your logs next time:
[RideThaDragon] CraftBukkit < 1566 found.
[RideThaDragon] Full world protections disabled.
@V10lator
Well above it says "Defaults to op.", so I presume I would not need the permission node literally added as Op...but will try.
And regarding removing, as I said, I would like a remove command that removes all dragons from that world only, I figured that was the default, but if not, would like a seperate command that does that. Or is it technically only possible to remove ALL dragons from ALL worlds?
edit: Issue remains, with the admin node added, /dragon removeall, simply mounts me instead:
To make sure it's not some strange admin/op issue, I also tested with a normal player with the ride admin node added, he also couldn't removeall.
@Joymo Yes, the dot as a typo, thanks for reporting. :)
To your issue: Please check your permissions, seems like you're missing ridetha.admin. /dragon removeall is only for emergencies, cause it will delete the dragon at the end, too (you can spawn a new one afterwards), so it's a bad idea to give it to all players.
@All: Check out EndReset, too. ;)
Hmm "/dragon removeall " is making me ride a dragon instead of killing them.
And "/dragon.removeall world", that dot is a typo I presume? Anyways yea, that also just mounts me.
Also, a feature request would be, a config option to disable the player damage caused by the dragon, per world, to prevent griefing.
Another issue, when you someone riding a dragon, to a different world, it proper bugs up for that player...perhaps disable multiworld crossing while mounted? Or some other fix...
And another request, is to separate the permission nodes, that way I can at least hand out "remove all" (when fixed) to specific players in specific worlds, to clean up the dragons when they bug due to multiworld issues or whatnot :)