Pegasus Plugin
Always wanted a flying horse ? Now you got it !
Features
This plugin creates Pegasi, that is to say flying horse.
- Only one pegasus is allowed by player (you can customise your Pegasus at your tastes)
- Data is kept after rebooting, stocked in Json file
- Your pegasus died ? Just make him respawn the same way it was before.
- Use the configuration file : decide what is able to damage your Pegasus (fire, player, monster, ...) or the basic caracteristics of Pegasus (health, flying/jumping strength, has inventory, keep inventory on death, ...)
How it works
- Just type /pegasus-create to spawn a Pegasus, mount him and use spacebar to fly.
- Else, you can just direct him like usual
- Do not fear falling, you won't take damage !
Commands and permissions
Order of options does not matter.
- /pegasus-create <name> <color> <style> <variant> - spawn a Pegasus with customised options
permission : pegasus.create
- /pegasus-customise <name> <color> <style> <variant> - customises your Pegasus with the options (you have to be mounting it)
permission : pegasus.customise
- /pegasus-respawn : teleport your pegasus to your position, or create a new one with same features
permission : pegasus.respawn
- /pegasus-clear : kill all non-registered Pegasus
permission : pegasus.clear
- /pegasus-forceclear : kill all horses and clear associations data between Pegasus and players
permission : pegasus.forceclear
- /pegasus-clean : kill all registered Pegasus (may be necessary in case of update, and more clean as the others)
permission : pegasus.clean
The last two commands can be used by admin if they encounter problem with updating to this plugin version.
- Adding two permission nodes pegasus.player (can create, respawn and customise), and pegasus.aministrator (can clear, clean and forceclear)
Options :
- <name> : the name displayed of your pegasus
- <color> : Possible color of the horse
WHITE (White), CREAMY (Very light brown), CHESTNUT (Chestnut), BROWN (Light brown), BLACK (Pitch black), GRAY (Gray), DARK_BROWN (Dark brown))
- <style> : Possible style of the horse
NONE (No markings), WHITE (White socks or stripes), WHITEFIELD (Milky splotches), WHITE_DOTS (Round white dots), BLACK_DOTS (Small black dots)
- <variant> : Possible variant of the horse
HORSE (A normal horse), DONKEY (A donkey), MULE (A mule), UNDEAD_HORSE (An undead horse), SKELETON_HORSE (A skeleton horse)
Version and download
Version for Bukkit 1.7.9, 1.7.5, 1.7.2, 1.6.4 are available.
Want the latest build ? Cannot wait the approval to test it ? Download it below.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Known issues
Please let me know of any issues or wishes you have !
- [1.0.1] Can not allow the stockage of enchanting books inside of Pegasus data : problems of serialization and translating to Json
Coming soon
- Economy ? (rent a horse, ...)
Credits
Big thanks to @Jacek, @iKeirNez and all the contributors from this thread, without them, I could not even have started this plugin.
@EternalWolf5 : Done ! Just take the last version from the link in the description, and not the alpha one from the side menu. And you can customise your pegasus with the command /pegasus-customise, just have a look at the command part in the description.
Can u make it so non-ops cant spawn any? Cause i kinda have that problem on my server Also, when can we customize our pegasus's?
@madtomic : Thanks ! It is still beta, so if you have any problem, post it here, or send me a pm with the details !
@EnergizerBEAST1 : Hmm, if you say 1.7.5, it may be based on developpement snapshot of crafbukkit, and my plugin based on the last beta version, in 1.7.2. Since obfuscated code of entitites changes at each new version, I will check it out and contact you as soon as I got something working. Still, could you mp me the complete error and stacktrace appearing in the server ?
EDIT : Latest version for both versions (1.7.2 and 1.7.5) added.
This is awesome! Keep it up!
I would really like to test this, but I can't get it working.
It says: An internal error occurred while attempting to perform this command
I use Spigot 1.7.5
@dreamrdawn Hello dreamrdawn ! First, thanks a lot to be interested in my plugin ! Makes me motivated :)
The pegasus is already tamed, and the owner is the one typing the command. It also has a saddle and an inventory.
The good news for you is that I am going to release tonight a version with permission. ;) Also, for the color and type (skeleton horse, donkey), I will be working on it this evening. I have good hope that before tomorrow, you willl be able to choose the appearance of the horse when spawing it, like /pegasus <color or type>, for now all of them are white.
For theft and damage, for now it is the same as in classical game. But after the appearance of the horse, a configuration file will be the next item I willl be working on !
EDIT : It can be stolen, as in classical game, and can die also, even if not taking fall damage. EDIT2 : Now, you can have a custom pegasus ! Tomorrow, more to come !
When you spawn a Pegasus, are the horse attributes the same every time or random values? For example, will the horse always be the same color, with the same health, speed, and jump stats? Will Pegasus require taming? Will they have protections against damage or theft? I am asking questions because I really want to use this on my server! Dreamrdawn