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.
By the way, no documentation on the permission node to use lure, but for 1.9.7 the permission is (makes no sense IMO) stable.lure.[item-id of lure item]
@SallyPirate
What do you mean 'isn't acknowledging' name changes? It's all handled via UUID, so a name change should cause no adverse effects.
For some reason, stables isn't acknowledging it when players change their names. Is there something I'm missing?
@WhosHenry
Max block limit? Not sure what you're talking about.
@superzyr
The 'default' is set on the config (MaxOwned) - You can override this with a 'stables.max.#' permission on anyone/any group.
Is there a permission to limit the amount of horses a player can own? eg. stables.limit.#
Is there a max block limit when a horse cannot be summoned?
"Change in /spawnhorse - Optional 3rd argument of a player's name will spawn it at their location. "
You rock, sir. <3 Many thanks! My players will love this!
@legoset0
"Write DB Error" means that, as suggested, a database error occurred while writing something. If you turn on Debugging, it will give you the exact query that caused the problem. Without any additional details, that's about all the help that can be provided.
Open a ticket with all the reqeusted info after you've checked the debug message for what query is causing hte problem and we'll be able to help further.
@raum
Ok, I will have to try and fix the error I am getting which is "Write DB Error". Is there a way to fix this.
@legoset0
There is no more flat file support. Only SQLite or MySQL is supported.
Is there a way to transfer an sqlite database to the local horses file?
@harl
Yes - This has been the intention for a while, but was not in the works when I started the plugin - It's on the todo list, but because of how I did things early on, it will require a large rewrite of many of the systems. It WILL occur ... I'm just not certain exactly when.
Maybe just any non-hostile animal life too, including those that don't have an owner tag ?
Of course, anything with an owner tag would still be protected against theft - but if we were able to "store" cattle, sheep and fowl, that would surely make herding a lot easier.
For that, it would probably be convenient to have a wand of some kind, as to just "hit" any either owned or breedable animal with the wand, instead of having to use a command first.
@aguane27
Check is an alias of the "stables info" command - "stables.info" is the perm needed. I'll add the alias to the command page.
I looked on the permissions page and couldn't find the permission for the /stables check command. I'd like to just give this one command to a certain staff rank but I can't seem to figure out what the permission node is. Help?
@ptiber
I'll check into the syntax issue - it should display, obviously. ;)
Re: Chests - It's on my ToDo list, but I haven't begun any sort of work towards it.
Hey :) Nice plugin, our players like it a lot. However, I have two remarks : - When a command is used with a wrong syntax, the response is only "Syntax is:" and nothing more... missing something maybe...? :) - And I have a question about storing chest data for donkeys and mules. Is it planned ? Thanks, and good work again :)
Sorry, I was just wandering what your Minecraft username was, I was just curious, So your minecraft name is or is not raum?
@ichinose87
I need to do a little more testing to see if perhaps the speed is determined by something else so that we can hack it in - if not, which I expect not, we'll have to wait until Bukkit allows it.
@HeavenlyLuke
User name is raum - what do you need help with?
Raum What is your minecraft name or if someone else could help me?