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.
Hey there! I know you're pretty much busy but can you help me out?
I've been disabling commands with "useCommand: false" and then I don't know how to recover a horse. Everytime I try the command /recover 1 it says that I'm too far from the stables. But I'm straight at the sign.
Is that a bug I should open a ticket for?
Also with Vault on I just can't see my balance going down as I store a horse. Is that some kind of bug too?
Thanks Ps: I won't use this plugin bynow on my server as it seems too buggy and not enough documented yet. But it's a great project I keep an eye on :)
@dickwick
Please open a ticket for it. I'm having to rebuild a lot of the plugin due ot some stupidity on my part.:)
Hi, found one possible bug
I have lure feature allow: false, but even with this people are able to spawn horse crouching with golden carrot. I changed the ID to something non existant, but it is still a small bug.
And one small request that I asked before. I would really love to see that players could be able to delete lock from their horses from distance (by command).
Players are losing their horses. They forgot tamed horse somewhere and horse just walks away and lost himself and they are not able to locate them. In that case it uses one spot in their MaxOwned limit and they have no possible tool to get rid of this lost tamed horse, because they can't find and unlock him with empty name tag.
@millenium200
Unfortunately, we won't go back to Java 6 unless the API for Horses is improved 10 fold. It's not so much "won't" versus "can't". The methods required for Stables to work won't function under Java 6.
@Imnotcreativeenough
Then use the FTP. That's an issue with your server/host, not the plugin. As Millenium mentioned, you can find it manually at /plugins/stables/config.yml
Regarding the new features: I'll ask if you could make a ticket for that. Having some major issues with the code at the moment that's requiring some major rewrites. I won't be adding any new features until I manage to get it fixed. :)
@Imnotcreativeenough
The money idea sounds cool. That would be a nice feature. We could then probably configure the price of claiming a horse.
Oh, and, the config file is located at plugins/stables/config.yml
@raum
I have searched my Multicraft Config Files section like crazy, I can find no config :3 Unless its generated as some weird name?
Also a feature that allows us to make it take money from users when nametagging.
I really like your plugin, but unfortunately, I am being forced to use version 1.4e. That version is the only version that supports Java 6. I am not updating my Java to prevent vulnerabilies, so it would be great if Java 6 would be supported in the next version of the plugin. I really want to use the new features, but I can't until that happens. I hope this is possible. Thank you.
Also, for your next update, I suggest you create a command to see the recipes of the craftable items. I used a plugin before that supported this and it would be great if you added it. Thanks!
@Imnotcreativeenough
No idea what you're talking about - it generates a config just fine - the plugin wouldn't operate without a config.
Good Plugin, but a few things to mention:
1) The plugin doesn't generate a config for editing; be it normal, please change this so that a config is generated for EASIER configuration of the plugin.
2) Please create a perm so that the person with the perm can kill the persons horse.
can you plz add a hourse tp to and to you cmd with configrable time to tp to horses so not combat loging
@raum
Thanks for new update! btw can you please add "Czech" language for translation?
@raum
With the amount of updates you done so far I don't think your lazy, but that beside the comments lol.
Atleast I will have to look forward to the next update.
Thx sofar for this great plugin
@dutchy1001
I think I see the issue, and why I wasn't able to reproduce it. Because I'm tired (and a bit lazy), I'm not going to fix it right in this version that's getting ready to be uploaded :P I will get to it in the next one, though :)
@dickwick
@Jcheatgamer17
Re: nametags - Thats why it says 'not enabled' above on the permission list :) I'll finish adding that permission for a future version - however the entire plugin revolves around nametags. Not allowing people to create them is counterproductive to the plugin itself.
Hi plugin creator, just wanted to let you know that the nametag crafting permission does not work. All the other crafting permissions do though :)
I know I repeat myself, but I would really love to see these permissions tweaks.
-> I want people to be able to check who owns that horse they stand near by, but letting them to see anyones list of horses is not cool in some cases.
-> Same as above. Player should be able to list all his horses but he should not be allowed to list anyones horses unles additional permission is given. (e.g. stables.listhorses.others)
-> Same situation as above. e.g. stables.remove and stables.remove.others for mods
Thats my 2c. I love your plugin and with these additions it could be even better plugin. So pretty please, raum. Can you look at it and consider these points? Thank you!
Looks good although from the comments it seems to be having some bugs still. keep me posted on this and ill add it to my server. we just opened recently and im always looking for stuff to make it better
@raum
I use MySQL.
Just killed off all the horses and respawned them again, tammed them and named them after. Looks like the DB wont store them.
Think I need to redo it all and start fresh, including a new DB
@dutchy1001
Two quick things - are you using MySQL or SQLite?
Re: Monster Eggs - I imagine that's an issue with whatever plugin you're using to block the use .. Horse API is still very ... small. It's likely that the plugin doesn't recognize the horse as a horse/entity that should be blocked.
@raum
for some reason I still get error's in console.
The Java error ocures when naming a tamed/wild horse.(I haven't used the '(apostrophe) this time in the names, lol)
"[SEVERE] Stables: queryDB error " occures when trying to sit on a horse you do not own(yet). Message in chat is then "That belongs to {0}" .
When the horse is "wild" there is no message in chat just the one in console.
Hitting a horse with an item/weapon gives 2 queryDB errors each hit. After hitting it a few times(each giving 2 error lines) and the horse dies it gives 2 queryDB errors and 4 writeDB error's.
An other thing I found out, When "monster eggs" are disabled players can't spawn a horse, but hitting a horse with a horse egg will spawn a foal no matter if the monster eggs are disabled.
I use CB 1.6.2.beta release and Stables 1.8.6.6