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.


  • 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, Enviromental (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 '' and '' if UUID cannot be resolved on the server.

What's in store for new releases?

  • Horse Trading
  • (NPC) Races
  • Horse respawning No longer needed
  • Horse purchasing (from NPC)

Permissions & Commands

Please see our new 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!

  • Apparently naming a horse is confusing to some people. 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 our new Permissions & Config Page here.


Stables makes several items craftable - specifically Saddles, Barding (Horse Armor) and Name Tags.

Diamond Horse Armor Gold Horse Armor Iron Horse Armor

Saddle Name Tag

Setting the config option for hard mode recipes will change all ingots/bars to blocks instead.


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.

Please note Version 1.8.9 will change the localization file, and some variables will be added to substitute things like numbers or names, as some languages may require different formats that don't have the name at the front, or back, or wherever it's placed in English.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Jikoo_K Jikoo_K May 01, 2016 at 06:37 UTC - 0 likes

    @raum: Go

    I'm running MariaDB 5.5.38 on Debian 7.8. Pretty outdated.

    Oddly, of all the main thread calls, the login query is the only one that really impacted performance for me, the rest seem to be responsive enough. Maybe the simple bandaid of throwing it inside a BukkitRunnable running asynchronously would be a good enough temporary hack.

    Last edited May 01, 2016 by Jikoo_K

    EnchantedFurnace: Because pickaxes can only do so much.

  • Avatar of Sandukhan Sandukhan Apr 30, 2016 at 05:25 UTC - 0 likes


    Thx for the quick fix.


    We are using stables for a long time now, first with MySQL, later SQL-lite. Never had any problems with that. But the 1.9 itself got some performance issues. That should be fixed in 1.9.3.

    Last edited Apr 30, 2016 by Sandukhan
  • Avatar of raum raum Apr 30, 2016 at 00:10 UTC - 0 likes

    @Jikoo_K: Go

    I've mentioned in the past, the lag on login makes literally zero sense. It's literally 1 SQL call to cache uuids (so that we're not having to query the Mojang servers all the time) and nothing else. No timers, no huge complex queries or code - just an Insert/On Duplicate Key.

    Out of curiosity, what version of mysql (or are you using sqlite?) are you using, and on what distro?


  • Avatar of Jikoo_K Jikoo_K Apr 29, 2016 at 07:33 UTC - 0 likes

    @raum: Go

    Interesting, you're running way more players than me. My machine's also dedicated, so shared hosting is not the issue in my case.

    Definitely not trying to fault you for not pushing out a full rewrite, a lot of my plugins are in some state of decay or other due to a lack of time, and they're much smaller scale than Stables. I apologize for how harshly my previous comment comes across. I did want to state my issues with the plugin but didn't have a nicer way to put it. Life is and always will be way more important than a free service you provide as a hobby. Thanks for giving what time you can spare.

  • Avatar of raum raum Apr 29, 2016 at 00:22 UTC - 0 likes

    @Jikoo_K: Go

    Regarding sever loads: Our server has 10-20 on at slow times with peaks up to 50-60. Our database is on the same machine, and has over 40k entries for the uuids, 60k+ for the horse definitions. It's definitely not anything to do with the amount of people on a server - I imagine it's more so issues with shared hosting. The three servers I am a part of (the one I run, and the two I help with) are all on dedicated machines, and have never seen the login issue.

    Regarding what 'should' be done: A lot of things should be done different. Stables was one of the first java projects I ever did - I am a C programmer by trade, and most methods were done with a C mentality. A rewrite has been in the works for quite some time, however all the RL fun of being very ill, and trying to still support a family, its' been very, VERY slow - I've had little time to do much else other than fix bugs.

    @Sandukhan: Go

    Will be patched and fixed this evening or tomorrow morning.

    Last edited Apr 29, 2016 by raum
  • Avatar of Sandukhan Sandukhan Apr 28, 2016 at 10:18 UTC - 0 likes


    Found a major bug in stables using CraftBukkit version git-Spigot-e6f93f4-935f18b (MC: 1.9.2). Players can duplicate horses by using /stables store and /stables recover. They recover the same horse mutiple times from thier stables (using same horse name). That also duplicates Horsearmor and saddles.

  • Avatar of Jikoo_K Jikoo_K Apr 26, 2016 at 18:36 UTC - 0 likes

    @raum: Go

    Late to the party by a month or so, but I also had horrendous timings onPlayerLogin using SQLite and MySQL. I eventually uninstalled Stables with 1.9 because of how badly it was causing the server to hang, about 1-2 seconds per player logging in. Since it's just a SQL insert/update, why don't you use an asynchronous task to make the call rather than do it on the main thread where it will negatively impact server performance?

    Out of curiosity, what kind of player counts (all-time and concurrent) do you see on the server those timings are from? I had around 2000 different players during a year or so of using Stables, and I consider myself small-time. My server's pretty good (an older KS-4A equivalent) and my MySQL database is hosted on the same box, so I'm stuck wondering if your database is just very tiny or you only have a couple players on at a time.

    Really, you should be loading all the data you need into memory and not making any SQL calls on the main thread at all. Load player info async on login, unload async on logout. Load relevant horses when tamed or on chunk loads, unload when untamed, killed, or unloaded. You get the picture, using a little bit more memory to make performance way better.

    I absolutely love the plugin and the ideas behind it but hate the execution.

    Last edited Apr 26, 2016 by Jikoo_K
  • Avatar of adamcole87 adamcole87 Apr 11, 2016 at 02:48 UTC - 0 likes

    When I try to add a rider, it tells me "The UUID of that player can not be found".

    Console reports:

    [Server] ERROR Stables: [Stables] Unable to fetch UUID for exampleusername

  • Avatar of raum raum Apr 02, 2016 at 00:06 UTC - 0 likes

    @dddylan98: Go

    Hm ... I'll look into Syntax - That should show .. well, the syntax. lol Is it JUST summon that has the Syntax error, or all commands? It may have just been a typo on my part. And by may, I mean probably was. :P

    There is no automatic conversion for SQLite to MySQL - The /stables convert was to change the now unused YML to SQL. I have an MySQL <-> SQLite conversion on my todo list, but it is not in. You would be able to manually copy things directly over if you have the knowledge/ability to, as the databases are (basically) the same format regardless of which method you use. Now - you will not "lose" any data without converting - it won't delete the Sqlite database if you start using MySQL - it'd still be there, just not accessed, which might be worth it for the purpose of testing. Even if you cannot convert - as you mentioned: For a test, it'd be better than nothing else.. would at least give you some more information on if it's something wrong with the host, or what.

  • Avatar of dddylan98 dddylan98 Apr 01, 2016 at 21:28 UTC - 0 likes

    @raum: Go

    I have access to a MySQL server, just haven't used it. Is there any way I can convert the data to MySQL? Don't want to risk losing all the data, but I suppose having it lost is better than no plugin at all.

    I also have a bug that I am not sure what's causing it with Stables. Whenever I do a command improperly, such as /stables summon without an id/name/I don't know, it just says: "Syntax is:"

    It's confusing to learn how to use the command when it says this.

    I see there is a /stables convert command. It says converts from YML to SQL? Not sure if that's really what it is, or SQLite to MySQL? Some more info on this would be nice


Date created
Jul 02, 2013
Last update
Apr 29, 2016
Development stage
  • deDE
  • enUS
All Rights Reserved
Curse link
Recent files