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.
-
View User Profile
-
Send Message
Posted Aug 7, 2013The horses disappear when the server restarts, why?
Is there any command to teleport the horse to me?
-
View User Profile
-
Send Message
Posted Aug 7, 2013Raum, are you able to replicate the problem I'm getting with recovering horses? Or is this something that I must have done differently.
I would highly appreciate it if you could try to see if it works for you.
Thank you.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@dutchy1001
Yeah - what I expected. It's been corrected in the next version. Stupid sql queries - lol
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Antibes
I tried using /stables view - but this is what it returns: http://prntscr.com/1jxjfl (no horses listed) When I use /stables listhorses <myname>, it lists all my horses.
Is there any other way I can get the number?
-
View User Profile
-
Send Message
Posted Aug 7, 2013@raum
thx for the wb.
The tag is "dutchy's dead horse" (guess the ' is the culprint here)
Just checking a different name "simpleton" and that works fine, both tables are registerd and no error in console this time.
Still something to look into I guess then. lol
-
View User Profile
-
Send Message
Posted Aug 7, 2013@dutchy1001
Welcome back. ;) Out of curiosity, what's the name on the tag you're trying to use?
-
View User Profile
-
Send Message
Posted Aug 7, 2013@raum
I'm back for some more horsing around.
I still have trouble naming horses.
In game, when I tame a horse and give it a name ,I get this message in console:
"[severe] Stables: writeDB error"
In chat I get the message:
"Enjoy your new steed!"
When I dismount the horse I just tamed and named, i get this message in the chat:
"This horse has not yet been named, and is not claimed by you.
Use a name tag to cliam it for your own!"
I have deleted all files to have a fresh start including the MySQL DB, still the same happens after a new start.
Tables are created in the DB and in table "stables_owners" it register my name and a horse(horse_ID (null)).
In table "stables_horses" nothing is registerd (guess the horse should be shown there if I'm correct with name I gave it)
I use CB 1.6.2-R0.1 beta build and Stables v1.8.6.5
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Abdulkawi
Have you tried /stables view to see the numbered list of stored horses?
Type /stables recover <number> - not /stables recover <name> to recover the horse.
If you attempt to recover the horse in a worldguard region it will be lost.
-
View User Profile
-
Send Message
Posted Aug 7, 2013Recover is not working for me,
I have tried using SQLLite and MySQL. Both instances, it creates the tables and stores the correct data. Unfortunately, it does not let me recover the horse once it has been stored.
I have tried: - /recover <horsename> (correct name returns asking for the horse name, if I enter an invalid name, it returns that it's an invalid horse) - /stables recover <horsename> (correct name returns that it's an invalid horse)
Can we get an fix on this asap? Player's are upset they can't get their horses back.
Thanks!
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Rasmenar
It is not. As mentioned earlier, the recipes are the original recipes Mojang came up with pulled from the snapshots. Perhaps in a future release I'll let them be editable, as some people have wanted them to use blocks instead of bars.
-
View User Profile
-
Send Message
Posted Aug 6, 2013Is it possible to change the recipes by hand via the config files? I'd like to swap the Wool Blocks in the Barding recipes for a piece of leather.
-
View User Profile
-
Send Message
Posted Aug 6, 2013Seems to be fixed now, thanks.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@Nom9000
@ViscousSummer88
@WhosHenry Edit: Oi. These flatfile issues are killing me. So everything I said a moment ago, if you saw it, was incorrect. WOrking on a fix. :/
Edit Edit Edit: http://dev.bukkit.org/bukkit-plugins/stables/files/43-1-8-6-5/
See if that fixes the issue ... With a brand new setup on a brand new server, everything works as intended - if it still gets screwy, open a ticket.
-
View User Profile
-
Send Message
Posted Aug 5, 2013Having an issue with the latest version. Players claim a horse, can't ride them, or try to add another rider to them, and it says "That is not even your horse." When doing /stables check on it I get something along the lines of: That horse is owned by: MemorySection[path='horses.5a4f1b01-866b-4d8b-8909-93345c9857f3', riit='YamlConfiguration']
So......Any help here? Lol, just noticed the person below posted basically the same problem I have.
-
View User Profile
-
Send Message
Posted Aug 5, 20131.8.6.4 still bugged: You have not been given permission to ride MemorySection[path='horses.634d56ae-9045-be1f-eee2-21c12f5f 7580'.root='YamIConfiguration']'s horse
-
View User Profile
-
Send Message
Posted Aug 5, 2013@raum
Hi,
Unfortunately the error still occurs and I am running 1.8.6.4.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@raum
Have a way to add a system to teleport your horses to you?
like: /stables tphere <HorseName>
-
View User Profile
-
Send Message
Posted Aug 5, 2013@SirAthos
@SovietWinter
@WhosHenry
Turned out to be a flatfile error - thats why I wasn't able to reproduce it initially - I didn't have all the details :P It's fixed in 1.8.6.4.
-
View User Profile
-
Send Message
Posted Aug 4, 2013@SovietWinter
@WhosHenry
I'm having the same problem. I filed a ticket here, you may want to add details to it (such as adding yourself as a rider).
-
View User Profile
-
Send Message
Posted Aug 4, 2013really hope some way is found/created to save speed, thats the only thing that is holding me back from any of these wonderful plugins. im confused on exactly what the issue is though. MTC is able to allow a user to *Set* the speed of a horse, but i assume it just holds on to the speed tagged to that particular entity at those coords? and once its put in a stable its no longer tracked? or is it some totally different system?