Stables
What does it do?
Stables is a plugin that assists with Horse ownership, protection, and other horse related things. Vanilla has no ownership or tracking of horses, only if it has been broken or not. Stables changes this behavior.
Important MC1.11 Notes!
This new version (1.9.11) MAY NOT WORK WITH OLDER MC VERSIONS! It has ONLY been tested with MC 1.11!
MC 1.11 changed a lot with horses. As of Stables v1.9.11, some changes must be made in order to accommodate Llamas, Donkeys, Mules, Zombie horses and Skeleton Horses. In your config.yml, In the "animals" section, you MUST add these to the "allowed" list. Anything NOT in the allowed list will NOT be covered by Stables! (example: allowed: HORSE, ZOMBIE_HORSE, SKELETON_HORSE, LLAMA, DONKEY)
Again, as far as 1.11 is concerned Mules, Donkeys, Zombie/Skeleton horses are NOT Horses, and must be entered SEPARATELY into the config!
As of right this moment, Llama carpet does NOT save. Testing of this version has been VERY limited. Please report any and all bugs via tickets - Be as specific in your reports as possible!
Another note: v1.9.11 will create a new table in your database for stored/stabled horses, and copy all the values over, converting what needs to be converted. For safety purposes, the old table will NOT be removed. It will just no longer be used. I would suggest NOT deleting it yourself for a bit, in case you need to restore a previous version.
All localization messages are still 'Horse' and 'Steed' specific. New default messages will be added in time. As always, you can edit them yourself in the 'language.yml' file.
Requirements
- To use COST based virtual stables, Vault is required. Free storage does not require any additional plugins.
Current Features
- Protect Horses from configurable outside damages, including PVP, Environmental (falling/lava) and Monsters
- Adds recipes for Horse Armor (Barding), Name Tags and Saddles
- Now has customizable recipes for these items!
- Adds 'ownership' to horses so others cannot steal them - Use a name tag on a horse to claim it!
- Store horses in virtual stables, and recover them!
- Abilities for Admin/Staff to Remove Ownership
- Sets a max amount of horses one player can own
- Anyone with the stables.admin permission can use horses without permission
- Allow a friend to ride a claimed horse
- Lure a horse from the wild using an item (defaults Golden Carrot - Other suggestions would be Emeralds, Golden Apples)
- Horse Spawning, including ZOMBIE and SKELETON horses!
- Teleport, Summon and Locate your claimed Horses!
- Allows staff to rename horses without changing ownership
- UUID storage for databases -
- Uses connections to 'api.mojang.com' and 'sessionserver.mojang.com' if UUID cannot be resolved on the server.
What's in store for new releases?
- Horse Trading
- (NPC) Races
- Horse purchasing (from NPC)
Permissions & Commands
Please see the Permissions & Config Page here.
How does it work?
Name a horse to claim it as your own. Hit it (as the owner) with a new Name Tag (un-renamed) to free it!
- To name a horse, you have to get a NAME TAG. Use the NAME TAG in an ANVIL and change it's name to what you want the horse to be called. Then USE (Right Click) The Horse with the NAMED NAME TAG to name it. This is a VANILLA MINECRAFT feature - it is not included with Stables. This action, however, is what will claim a horse with the Stables plugin.
- You can also set the config to 'AutoOwn = true' - This will automatically claim a horse as soon as it is tamed!
Stables also prevents horses from being killed by players, mobs, environmental, or any combination of these. All options are 100% toggle-able through the config.
Virtual Stables
This feature can be disabled by the admins by setting the 'allowCommand' config option to false, and then just not creating any stable signs.
To create a stable, simply place a sign with [stables] as the first line. Stables will take over from there. If 'allowCommand' is disabled, you can ONLY use the Virtual Stables feature with a sign. Punch the sign, or type /stables store to store a horse. Please note: Storage does *NOT* save chests right now, nor will it save saddles. This is a known bug.
- Please note: The stables does *NOT* save Horse Speed. This is a Minecraft/Bukkit shortfall, and will be addressed as soon as there is a way to do so.
The Config
Please see the Permissions & Config Page here.
Recipes
Stables makes several items craftable - specifically Saddles, Barding (Horse Armor) and Name Tags.
Setting the config option for hard mode recipes will change all ingots/bars to blocks instead.
Localization & Custom Messages
Upon the first run, a file called 'language.yml' will be generated. This will have all the phrases, in English. You may change the phrases to whatever you'd like, or any language you'd like.
Hey, everything was working perfectly... then we updated to 1.6.2 and now nobody can ride any horse, not even their own. Players say that the horses belong to {0}
Ideas?
@verboseone
Was already looking into SQL saving, for the reasons you've mentioned. Officially added it to the 'todo' list, however.
Re: Permission based damage: Also added to the todo list
@Lakuspakus
Was already working on something like this for a future version. :) Was going to go cross between this, and the Zelda version requiring something like a piece of grass to whistle for your horse. :)
@Wingzzz_
Fixed. Thanks :)
This plugin incredible. Thanks for the hard work.
Permission based Damage Horse
A wonderful feature would be to enable/disable pvp based damage based on a permission. This would be great for servers that want to allow horses to die, but not the needless killing.
IE, guest can't kill horses. People who have taken the time to register and become members can.
SQL enabled
From your description above, my guess is that this uses a flat file for storing information. An SQL option would be great for larger servers.
Screw the horse TPing with the owner when /tp or other TP commands. Go Red Dead Redemption-style. Other plugins seem to create a "virtual stable" from which you can summon horses by name with commands. Therefore it seems to me that its possible for the plugin to copy the horses looks, traits and equipment when you name/own them and then just spawn in a copy of that horse when the command is entered.
Have a command that summons a horse by name and if you walk too far away from it when not tied to a fence it despawns and you have to enter the command again to summon it or another horse again. If its tied to a fence it should remain in place without despawning until summoned. If you summon another horse or the horse despawns because youre too far away it should go back to the last fencepost it was tied to.
This way you always have access to your horses, can summon one at a time, and the rest of your horses would always be back at your stables - where they look pretty and make your neighbor jealus in their glorious shiny diamond armor (although I think the gold armor looks way better ;) )
I know nothing (.. John Snow) about making plugins so this might be impossible, but its IMO the best way to do it.
@raum
Typo: († dentoes stables.admin required)
Can you add some commands to spawn zombie, skeleton and mule horse please ? It'll be awesome !
@busterguy
Please upload the full error to something like pastebin, or make a ticket with the full error text. Unfortunately the little you posted only states there was an error, not really where the error was. Thanks
Great plugin, but could you also add permissions to use certain kinds of armor? I only want VIPs to have diamond armor ;)
When i list the horses i get this error:
07:49:43 CONSOLE: [INFO] busterguy issued server command: /stables listhorses 07:49:43 CONSOLE: [SEVERE] null 07:49:43 CONSOLE: exception executing command 'stables' in plugin stables v1.4c 07:49:43 CONSOLE: java.lang.ArrayIndexOutOfBoundsException: 1
@conflictxinside
You can turn all recipes off individually in the config.yml file found in /plugins/stables :)
Can you make it an option to use the custom crafting recipes? I'd prefer players to not be able to craft horse armor. Maybe a permissions structure?
Also, I'm very impressed at how much work you have into this in such a short amount of time. :)
@KJ_Shipp
I'll add something like that in the future - I was actually getting ready to upload 1.4 when I saw your request, so I just threw somethign together real quick :)
@Shreaders
Essentials keeps getting mentioned because of /butcher and /tp(and all it's counterparts). Horse TP *IS* possible. It's just a VERY bad method to do it, as there's no horse ownership information saved to the server at all originally. It's not like Wolves or Ocellots that save tamed info in the server itself. In short, it has to go through EVERY mob in the game before it finds your horse to teleport. I'll be adding a system that allows it, but I strongly advise against it on a large server.
@Anibaaal
Appreciate the kind words :) Remember to report all bugs and spread the word to make it better :)
@Shreaders
In my case, I did mention essentials because I was doing a comparison between both plugins as this one is super complete like essentials.
Thank you for adding the permissions for different ownership levels. What I was hoping for was a concept more like implemented in essentials with the "sethome.multiple." node. It is configurable to allow additions to the perm instead of a set base of 3 perms(3 groups). Would it be possible for you to include something similar? Reason I ask is, I have 6 donor ranks and would like to be able to change ownership quantities with each level. It would also be awesome to have a maxed owned bypass node, "stables.maxowned.bypass", for admins/owners so they aren't limited on how many horses they can own.. Also, I have found a few bugs that I will be creating a ticket for.
Keep up the great work! Loving this plugin!
@raum
I keep hearing something about essentials. Does essentials have something to do with horses that I should be looking at? I also just removed 2 other horse plugins that allowed horse tping. And the other was just CraftableHorseArmor (which is glitched I might add.) I removed them both before installing this plugin but think that one of those might be interfering? Idk I'm so lost.
@buttyst
Minecraft does not keep track of the horses as being tamed - as such, the only way to allow them to TP with you is a *VERY* bad way. I'mg oing to go ahead and add it with the option to turn it off, but it will be a while before it is.
Hey i'm using this plugin on my server and its great. Will there be a way to make horses teleport when an owner does ? that would be very handy, other than that keep up the good work
+update+ Nether mind about teleport read the comments :P
@Shreaders
Yeah, that's not anything that I added (re: crafting permissions) - it has to be something else interfering with it.
@externo6
Yes, it'd be disableable.
@raum
The Teleport feature, would this be a feature you can disable?
Excellent Plugin. Very complete with lots of features. It's like Essentials but Stables. Thanks.