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 Jul 22, 2013Hey, how do you configure this with your MySql table? I see no area in the config to enter in the information. I'm running the latest version available on Bukkit. Thanks!
-
View User Profile
-
Send Message
Posted Jul 22, 2013Thanks raum. I've subscribed but that won't help me now. Is there a way to get the latest file other than bukkit? At the time of this message 1.6.2 is the latest available.
-
View User Profile
-
Send Message
Posted Jul 22, 2013@tagtastic @morlanius
Re: Timer - As Roeland mentioned, that was a bug that was quickly fixed. The newer version (1.7.4 and above, I believe) have fixed it.
@dutchy1001 Whoops. It's trying to pull the Horse's name ... before it checks to see if it's a horse. :P Will get that fixed.
@Liquidew
This has also been fixed in already released versions. Bukkit is just slow with thier approvals right now. If you subscribe to my file changes (Tab on the top right), it will notify you whenever I upload a new version, even before it's gone through Bukkit's Q/A.
-
View User Profile
-
Send Message
Posted Jul 22, 2013Folks - The stables time expired seems to be a symptom that your mysql or sqlite configuration is not working correctly, as I had the same issue prior to have mysql working correctly. But, I am also running 1.7.5, so if your not running that, perhaps thats the issue.
-
View User Profile
-
Send Message
Posted Jul 21, 2013I'm having the same issue as Morlanius
Message: Hit the horse you wish to store. Stable storage timer expired.
The default 5 seconds was adjusted to 10 and 120 but it doesn't have an effect on the timer.
-
View User Profile
-
Send Message
Posted Jul 21, 2013Are players supposed to be able to protect their cats? o.O
-
View User Profile
-
Send Message
Posted Jul 21, 2013@raum
Whenever I hit a mob (passive or agressive) with the left and right mouse button it gives error in console
When using the right mouse button it also gives the message in chat
"That belongs to {0}." (atleast with pigs, not with cows, sheep and chicken)
-
View User Profile
-
Send Message
Posted Jul 21, 2013@raum So SQLite is having problems? Can we use 1.7.3 first?
Raum check your PMs! I need you stay in contact with me
-
View User Profile
-
Send Message
Posted Jul 21, 2013if i type /stables store i get
no timer between the two messages.
-
View User Profile
-
Send Message
Posted Jul 20, 2013@raum
Save command not working or existing! and Reply to my PMs :)
-
View User Profile
-
Send Message
Posted Jul 20, 2013@raum
blimey your fast in response. :)
thx again
-
View User Profile
-
Send Message
Posted Jul 20, 2013@dutchy1001
The issue wasn't the length, it was the ' in it - Screwed up the database Insert. Being fixed for the next update.
@Lakuspakus So don't recover in a region with mob-spawning turned off. :) It's not just disappearing - it's spawning ... and then your region is destroying it (standard behavior - if you use a mob egg, you'll notice the same) Unfortunately regions are not handled by MC directly - they're handled by individual plugins, such as WorldGuard. As such, without hooking into each and every plugin to verify the region's rules, there's no way to check easily for this. Long story short, either require signs, or inform everyone not to do that. :) If you're using WorldGuard, you can disable the stables command inside a specific region. This'll be a quick fix until something else can be figured out and/or done.
Edit: Going to add a check for WOrldGuard eventually - but any other plugins that might block it just need to be warned against.
-
View User Profile
-
Send Message
Posted Jul 20, 2013Pssst: Noticed that if /recover is used in a region with mob-spawning turned off the horse simply dissapears.
-
View User Profile
-
Send Message
Posted Jul 20, 2013@raum
Thx for the new update.
I had a "writeDB error" in console. Just out of curiosity, how many characters can we use for the horses name?
As I called the horse "Dutchy's Italian Stallion" gave the error(and not showing in the DB) but when I gave an other horse the name "knol 1" it didn't gave the error(and showed in DB).
-
View User Profile
-
Send Message
Posted Jul 20, 2013Oh what the heck, I moved it over to production. Let's let the players try and break it. :) So far so good.
-
View User Profile
-
Send Message
Posted Jul 20, 2013Yes, he nailed out a bunch of bugs in the last few hours, so thank you raum. I'm going to move it over to production this evening assuming nothing else pops up.
But you now get your saddle back when putting the horse into the stable, so now we have a real way to "teleport" the horse which is much needed, via the store and forward system.
-
View User Profile
-
Send Message
Posted Jul 20, 2013@raum
Good Job! Stables works perfectly with MySQL. :)
Thank you raum and RoelandCache. \o/
-
View User Profile
-
Send Message
Posted Jul 20, 2013@UtiQuanti
http://dev.bukkit.org/bukkit-plugins/stables/files/28-stables-1-7-4/
Recommended you drop your tables and allow them to recreated. Some formats changed. :)
-
View User Profile
-
Send Message
Posted Jul 20, 2013@raum
As we say in France: "Tu tiens le bon bout, courage!" :p
-
View User Profile
-
Send Message
Posted Jul 20, 2013@UtiQuanti
Yeah ... Was just working with Roeland on this. Long sotry short, I need more coffee. It will be fixed shortly :P