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.
@morlanius
It should already be removing it if it was killed. Was there a console error?
could you add a few lines in there so when a horse dies its removed from the database?
http://www.youtube.com/watch?v=mqUOegJMmrI
@raum
While writing message you already posted the "fixed" post
I have the same error.
For the ID text, thanks
Other comment on your changelog in the download section.
Can you turn it around so the most resent changes are on the top?
This will read easier what has been changed.
Aswell let us know when you have the file uploaded.
@Antibes
Fixed. Thanks - was trying to close any SQL queries in process... Was erroring out if there weren't any open :)
@dutchy1001 Removed in 1.6.2
@raum
I'm getting this error on server shutdown with stables 1.6.1: http://pastebin.com/64tqcJ0q
@raum
When doing "/stables listhorses" it gives the big ID number, is there a way you can leave that out and just give the horse name?
Those numbers are not needed on the screen for me, dont know how others think of that?
@AudimanBzh
If it's not working, it didn't load correctly. Open a ticket with the console error that occurred when you started up. Thanks.
@KJ_Shipp
When you started it on a new server, it should never have tried to convert the database - on the test did you delete your /plugin/stables folder? What CB build are you using?
Edit: Getting ready to upload 1.6.1 that has some additional NPE checks - give this one a quick try and see if it corrects the issue. Let me know about the /plugin/stables still, however.
Edit 2: http://dev.bukkit.org/bukkit-plugins/stables/files/20-stables-1-6-1/
Hi, I have just test 1.6 stables version and and i doesn't work. Horses are not safe, the tame protocol with name tag can't make them safe. I return in 1.5.2 and that's perfect ;)
I added some french translation, it's 100% finish
Posted a ticket. v1.6.0 will not run for me even on a fresh CB only server
@raum
I'd have to side with Dutchy. most server hosts offer MySQL (mine does) and I'd much rather use that. Could you possibly make it optional via the config?
And in regards to the ownership problem, I had changed the vip levels to compensate before reading your response. Worked =)
@raum
I know there is an aditional setup requierd, but owners who already have MySQL wont have that problem, others still can keep using the SQLite. I think that MySQL is easier to adjust then SQLite. Aswell I prevere to have 1 MySQL running as of 10 separated SQlite's.
Anyway I'm still using it, with or without it.
/ban denied
love this plugin works great, could you add it so that players can teleport their horses to them?
@dutchy1001
/Ban.
It's currently using SQLite- MySQL requires additional setup (database login, etc) - lite does not, and can all be handled internally with no additional setup or dependencies. In short, no - there's no plans to swap to MySQL, though plans can always change.
@dickwick
Oh, stealing from the fence post? Whoops. I'll add a way to prevent that.
Edit: So - there's still no API for leads at all. What little bit you can track back to leads doesn't track/keep what is attached to the. Working on a workaround for it, but it likely won't be out this week.
When I have a locked horse and tie it with lead to fence, someone else can easily unleash him and let him free. Is it possible to prevent this as well?
@raum
Do you want me to back up the horses.yml before updating, I think the message isn't clear?? lol
With the adding of SQL will you also add at a later stage MySQL?
1.6.0 Has been Uploaded.
http://dev.bukkit.org/bukkit-plugins/stables/files/19-stables-1-6-0/
BACK UP YOUR HORSES.YML BEFORE INSTALLING THIS VERSION!!!!!
There will VERY LIKELY be issues. Please OPEN A TICKET so that I can get them resolved quickly and efficiently.
BACK UP YOUR HORSES.YML BEFORE INSTALLING THIS VERSION!!!!!
@KJ_Shipp
So, I was writing out a long message with all sorts of things you can try ... turns out, I'm just a derp. I typoed the check in config. It's currently checking for "MaxOwne.defaultd" :P Whoops .. I'll get this fixed and uploaded soon. In the mean time, you can add "MaxOwne" and "defaultd" to your config and it will work as it's supposed to, or temporarily give everyone one of the vip perms. Either method will work for now.
@enkrypts
You can disable recipes. It's in the config:
raum,
My players are reporting problems when try to own horses. I have default set to 2 horses and they can only own one. (or some people none) When they try to claim a horse it tells them they have too many. I erased all info and started over brand new to no avail. I'm not getting any errors in the console. Any idea what might be going on? Any way i can get you more information?
main plugins:
essentials, group manager