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!
@Thorgeig
Just take it and run haha. I don't have any problem at all with you remaking it. I haven't touched minecraft or bukkit in years and I've moved onto other projects. Good luck! This was my first released bit of software so it kinda has a special place in my heart and its awesome to see that people actually still use it!
EDIT: If you want to take over this project page Thorgeig then message me and I'll see if I can sort it out. For the mean time I marked it abandoned.
1.9 compatible version
I decompiled the java file, fixed problems with 1.9, and created a fork on http://dev.bukkit.org/bukkit-plugins/undeadhorsesreloaded/.
Source code is at https://github.com/gbl/UndeadHorses.
extremespancake, if you're interested in reviving this plugin, now there's a working source again, tell me, and i'll give you my sources and take my forked plugin down.
Undead Horses 5.0 throws a bunch of errors in the log with Spigot 1.9.
Any plans on an update or should I put in a request on the forums for someone else to do an update?
EDIT: DoH, just read your post below about losing the source code. Dang.
Thanks, LHammonds
Undead Horses 5.0 works on Spigot 1.8.8. Loads without errors, auto-creates default configuration files, permissions work as expected and can switch horses from regular, to zombie to skeleton skins.
Sorry to hear about the source code. You put a lot of nice work into it.
LHammonds
@Jsib06 No clue.
@Triliton Check the permissions list above.
@carmeops Well the source code kinda got destroyed so unfortunately no xD
@Wonkee They aren't classed as horses I don't think, try a plugin which lets you specifically stop damage to the skeleton and zombie horses.
A couple friends are starting up a Bukkit server on the newest MC version 1.8+, is this mod still compatible with the newest update? Quick response would be appreciated on this. Thanks so much. Best, Jsib06
I have essentials installed for 1.8 Spigot. How do i get permissions for other then OP/admin to ride undead horses?
anything new? still using V4.1 in 1.8.6 cause of the fire effect noise
Is there a way to stop undead horses from taking damage? I have a plugin preventing damage to horses, but undead horses are still taking damage.
@TheBoomer
As far as I can tell, horses store the player object of their owner. This means that all I need to do is simply cast this object to a player and grab its UUID. As a result I do not THINK the switch will impact existing horses at all as the horse already stores the UUID of its owner anyway.
In other words, don't panic.
When (if you have not arleady) made the switch to use uuid lookups, will this impact existing horses - are they stored by playername currently, so that switching to uuid will not pull a uuid from existing horses - or is it storing player object, so that the info is already there anyways and the transition not impacting
@extremespancake
Thanks
@verservarlin
Yes of course, sorry for the inconvenience
can you make the flame thing on the horses configurable. i and other players do not like the noise it makes
Thanks. As for the leads, it is nothing you did. Leads do not normally work on hostile mobs and by default, they do not work on undead horses.
With the added options to the config, you could have all of them setup by default to work exactly how it does now...so no change for those upgrading and don't know about the new options. I didn't mention it but you might have guessed, the fullmoon percentage would override any other percentage set or maybe add to the other if total is not over 100...your call. :)
LHammonds
@LHammonds
"1. Add option in config to consume the item when used. Example: consumeitem: true" Definitely, I'll add that in a 5.1 update.
"2. Include a percentage setting for success rate" Seems simple enough, I'll add that too :)
"3. Can a full moon be detected? If so, an option for fullmoon-percent=100% would be excellent." I'm fairly sure there is a way to detect a full moon so that should be no problem.
"4. If possible, allow use of leads on undead horses." I don't know why they are no working to be honest, I never set out to disable them. I'll take another look at the code though.
And awesome video! :)
I have some ideas for you to consider:
1. Add option in config to consume the item when used. Example: consumeitem: true
2. Include a percentage setting for success rate. Examples:
3. Can a full moon be detected? If so, an option for fullmoon-percent=100% would be excellent.
4. If possible, allow use of leads on undead horses.
Oh, I made a video showing version 5.0 of your plugin.
http://youtu.be/vNhi6byLtb8
Thanks,
LHammonds
@NuclearNarwhal
I did indeed my friend :) And keep 'em coming, I'm fresh out hahahah. I'll see about adding economy support next!
"Added ability to set potion effects on zombie and skeleton horses during the night. Done via the config."
You added my idea! :)
Hello, I made a video for your plugin just as you requested :D https://www.youtube.com/watch?v=qJqIarhsIUM&feature=youtu.be A thumbnail will be made very shortly thank you.