Undead Horses
Thanks to NuclearNarwhal for the banner!
Undead Horses is a lightweight and simple plugin that allows users to turn any horse, donkey or mule into a skeleton or zombie horse. It is perfect for just having fun, or to use as a donator perk!
Name changing:
The owner checking on older versions this plugin will break when the name changing update comes out. This is because the plugin currently uses player names to check the owner against the name of the owner stored on the horse. This system, as you probably can begin to see, will be insecure when people are able to change their names. As a result, I will be switching over to using UUIDs for owner checking when the new update comes out. This change will be relatively simple code-wise, but it will mean that using an old version of the plugin on a bukkit version that allows name changing (which will most likely be 1.8 or another version of 1.7) will be broken.
I know that this will most likely not affect many users but I just thought that I would post this just in case!
Commands:
- /undeadhorses reload: reloads the config file
- Need a command? Let me know!
Permissions:
- undeadhorses.*: Grants all permissions for UndeadHorses. Defaults to operator (op).
- undeadhorses.zombie: Allows you to turn horses into zombie horses
- undeadhorses.skeleton: Allows you to turn horses into skeleton horses
- undeadhorses.zombieride: Allows you to ride zombie horses
- undeadhorses.skeletonride: Allows you to ride skeleton horses
- undeadhorses.zombiecure: Allows you to cure zombie horses
- undeadhorses.skeletoncure: Allows you to cure skeleton horses
- undeadhorses.convertunownedhorsesbypass: Allows you to bypass the must be owner to convert setting
- undeadhorses.cureunownedhorsesbypass: Allows you to bypass the must be owner to cure setting
- undeadhorses.reload: Allows you to reload the config
How to Use
To create an undead horse, first you must select your victim and decide what type of horse you would like them to be (Skeleton or zombie). To turn him into a zombie horse, right click him with rotten flesh (Must have undeadhorses.zombie permission). To turn him into a skeleton horse, right click him with a bone (Must have undeadhorses.skeleton permission). Voila! You now have an undead horse to call your own!
To cure you horse of their affliction, you must right click them with a gold ingot or gold nugget (requires undeadhorses.skeletoncure or undeadhorses.zombiecure depending on the type of horse).
Video
Thanks to shop1126!
Thanks to LHammonds!
Changelog
- V5.0
- Added ability to set potion effects on zombie and skeleton horses during the night. Done via the config.
- Made it so undead horses have flames coming out of them at night.
- Added option that makes it so undead horses will optionally deal back a third of the damage they are dealt.
- V4.1
- Jump to .1 due to numerous errors
- Added reload command and reload perm
- Added ability to charge a player Xp for converting
- V3.1
- Fixes that you have to be holding nothing to mount a horse
- Clean up of code
- Beta 1.7.2 R0.2 support!
- V 3.0
- Added ability to enable/disable if conversions should only happen at night.
- If the horse you are trying to convert is not your horse it will now tell you who owns it or if it is wild.
- Re-added that when you convert a wild horse it will tame it and set you as the owner.
- V 2.1 -general update
- The villager curing and infecting sounds now play when curing and converting a horse.
- Added undeadhorses.convertunownedhorsesbypass permission.
- Allows you to bypass the MustBeOwnerToConvert setting and allows you to convert horses you don't own
- Added undeadhorses.cureunownedhorsesbypass permission.
- Allows you to bypass the MustBeOwnerToCure setting and allows you to cure horses you don't own
- V 2.0 -second release
- Added the ability to enable/disable curing and converting if the player doing so isn't the owner. Done via a config file.
- Horses are no longer tamed when they are converted.
- Please report ANY bugs to me along with the error in the console and how to reproduce it. It is likely that there may be a few hiccups with the owner checking as it is impossible to test solo.
Ideas
- Make the undead horses useful somehow, please give me some ideas!
- Add an option to set a cost of converting/curing horses ADDED XP COST OPTION
- Leave ideas and recommendations below!
Server
Looking for the plugin in action? Go to zealraid.com!
@LHammonds
Hi
Thanks for the reply and the feedback, it is much appreciated!
I do see where you are coming from, the ability to go around converting horses could easily be abused. In the next update (Either today or tomorrow), I will try to include some configuration options including the cost for converting horses (Possibly money, an item or XP as you suggested). I really like your idea of it having to be midnight also but that will have to wait until a later release :(. Keep in mind though that could actually be this week!
Thanks for creating and sharing this plugin with us. It's awesome and even works in 1.7.2-R0.1
I have seen no console errors and it does exactly what it says on the tin.
EDIT #1: I could see how giving somebody the ability to convert horses could easily be abused. Is there any way that can be done to limit this ability? Such as placing the ability into a single-use item? Having an incremental (more granular) permission system might even be better. For example, the ability to convert wild horses vs ability to convert tame horses vs ability to convert named horses.
EDIT #2: Requiring additional resources to convert might also help prevent quick abuse such as requiring 40 levels of XP to convert a horse to undead...maybe even make it a requirement that it be midnight too as if part of a ritual. :)
Thanks,
LHammonds