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!
@DragonMaster4131
thats great thanks, works a treat.
There are a few things i would change in this, any chance of getting the sources to this? when ive decompiled things with jed in the past they rarely compile again after.
Can you update for the latest version again?? Getting this error now..
<<code lua>>
2013-03-28 11:08:11 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'dragon' in plugin RideThaDragon v5.2.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:546) at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:980) at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:896) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:176) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:66) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:469) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:401) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException <</code>>.
so why don't you have full control of the flight ? and the plugin is not working
@morlanius
Update 1.5.1
Ok, I updated it again...
Download: Link Removed: http://www.mediafire.com/download.php?d5rkfvix85ai6o8
Here is a folder with all versions: Link Removed: http://www.mediafire.com/?ayitjkz2tt3fx
Have Fun...
@DragonMaster4131
I agree with whats been said here, you seem to be doing a good job at this. I also can think of many things as features. mainly linking lifetime to their health bar. and having it deplete either over time or over distance traveled. perhaps something like rotten flesh to replenish it.
@KCQuetzal
confirmed.
It seems as if 1.5.1 has broken DragonMaster4131's fix for this? Can anyone confirm?
@DragonMaster4131
Hey so are you going to fully take on this plugin and create a new bukkit dev page? I also have some ideas/features i think would be great to be added :D
@DragonMaster4131
Thanks!
@EpicTrance
Noob, it isn't a virus. If you think, that it is a virus, so create a virtual machine and a local bukkit server and test it. Or you can read the sources (extract the .jar with 7zip or WinRAR and open the .java files with an editor).
Mfg DragonMaster4131...
@DragonMaster4131
It could be a virus....
Update to 1.5:
Ok, I updated it again (tested with Craftbukkit build #2645). Please Note: This is a pre version! Have Fun!
Download: Link Removed: http://www.mediafire.com/download.php?7q513aj2aoqqt5f
Mfg DragonMaster4131...
@kagecookeh
Ok, I'll update this for 1.5 this afternoon (but only if craftbukkit for 1.5 is out)...
Please update! :D
@baumeistertyp
To prevent user from using the /dragon command, please use this permission node: ^ridetha.dragon
Or open the jar with WinRAR or 7Zip, open the plugin.yml and change on line 12 the "true" to "op".
Mfg DragonMaster4131...
@CubeNation
Your one worked for me, the other guys one didnt. but there is an issue with its movement once a player touches the movement keys. I think it should either be look to steer or key to steer. Keys would be better imho.
@DragonMaster4131
Cause I didn't see yours and it took me just some minutes to find those dependencies + the diff of the dragon class ;-)
But for sure, glad someone already helped here, but that seems like the original author has dropped the plugin :-/
@CubeNation
LOL, why you wasted your time with updating this Plugin? I already updated it :D (http://dev.bukkit.org/server-mods/ridethadragon/?comment=317)
(My version: Link Removed: http://www.mediafire.com/download.php?d92h7amhx8d57ah )
Hi all. I've just managed to fix/update this plugin for 1.4.7, so I'd thought in order to thank the plugin author may upload it until he will update it himself:
I'm not sure if I've fixed all variables in the dragon class, so there may be glitches with the dragon flying sideways sometimes *g* - but so far it works here.
Enjoy: http://cube-nation.de/files/RideTheDragon.jar
it does not seem to work with my server fo 1.4.7. I have java 7 as well. Any suggestions?