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!
Fun little perk for higher ranks, Thanks :)
@extremespancake
Oh! I like that idea! I hadn't even thought of that. Keep up the good work. :)
@NuclearNarwhal
I'll see if I can add a list of potion effects to the config file, but I'm not entirely sure if I will get that to work :/. So far I've added it so the horses (optionally) deal back a third of the damage they are dealt.
I was pondering possible editions to the plugin and came up with the idea that maybe Zombie/Skeleton horses could receive a couple of potion effects during the night time? This option would obviously be configurable, either with a simple "true" or "false" value or maybe if you wanted to get real fancy a list of potion effects (and potencies) that they received at night! Another thing I was thinking about that is sort of off-topic as far as the main plugin theme goes is that possibly adding enchantments for saddles would be cool... Like ones that increase jump (an example of the enchantment name being "Leap") and one that increases speed (a name for which could be something like "Dash" or "Sprint")... These were rather random ideas so I don't expect them to be added necessarily, but if you need something to add then I think these would be pretty cool. :)
@NuclearNarwhal
All right sure, been looking for a reason to update this. I'll see what I can do, reload command is quite easy I think but economy is more of a challenge (As in I have to research how to do it and all).I also have exams until the end of this week so I'll see when I can squeeze it in.
@NuclearNarwhal
If you use ServerSigns, you could make a sign where the player has 30 seconds to convert a horse to an undead version...the sign could be set to have an extreme cooldown so they can only do it once in a great while. You could also set it up to require a certain amount of cash to use.
LHammonds
I might decide to end up using this plugin on my server, seeing as it seems nice and simple! But I thought maybe in the configuration you could add an option to change what item you need to use to convert/cure the horses... Because personally I would rather have the cost to convert them far more expensive to prevent just anyone from getting their hands on a Zombie/Skeleton horse! Something that would be even better is that maybe if you could make it specify the required name of the item so that I could add it to my shop... For example, converting wouldn't work with a normal bone but if it was named "&9&lBone of Transformation" (those colour codes make it blue and bolded)... That way I could make that specific item quite expensive. Or simply adding the option to hook an economy plugin would be great, so that you needed an item but then it also costed money when you tried to convert! (or cure)
Thanks in advance! And this looks like a nice plugin, I'll probably be adding it!
EDIT: Please add a reload command! I don't like to have to reboot every time I make config changes... And even though I'm sure I'll only ever have to set the config once per version, (if it stays at this level of simplicity) it would still be nice to have!
Love this Plugin and so do our players! It works fine with our horse protection nhorses as well!
@Onewingseraphim
Hello
How odd, I don't think this is a problem with the plugin though. Just tested locally now and the .* permission works fine. Is it possible you had undeadhorses.skeletonride set to false at some point?
Just added the plugin gave everyone the undeadhorses.* permission and they couldn't ride skeleton horses, I added the undeadhorses.skeletonride permission and worked after that.
@AcePlugins
Hey
Please be more descriptive, what sort of commands would you like?
this looks like a nice plugin but would be nice if you had some commands
@extremespancake
Thank you :) Happy New Year!
As a new year's treat, V3.1 has been uploaded for DEFINITE now :)
Seems I never actually uploaded 3.1 for some reason. Re upload in a second...
I would reupload I think a week a bit to long :)
Version 3.1 is currently being processed!
Ignore my last post, maybe I should read all of it before i post.
@Hackettbr
It is! :)
I really wish this was for 1.6.4 mostly because my server hasn't been updated.