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.
Some players can't seem to summon horses after a certain distance it seems, is there a max-distance when they can't summon them?
@beefchicken
At this point, I need you to open a ticket with all the requested information. I run two servers - one Spigot 1.8, one Cauldron 1.7.10 - it works just fine on our cauldron server. I'm guessing there's some sort of conflict between a mod and Stables.
@raum
No I hot installed Mo creatures, I can't stable the horse, when I use the command/sign and I try to hit the horse I just damage it and it won't get stroed :(
@HyperFrostNetwork
I just hopped on your server. You're using quite an old version. Update your version and the issues you stated should be fixed. I tried to inquire if anyone was around that I'd be able to talk to about it, however found that I was unable to chat, /who, /list, /msg, /help, /rules, or any other even remotely useful command. :P
@beefchicken
There are currently no known/confirmed bugs - Only what's been stated in the last two comments.
Using Cauldron, are you also using Mo' Creatures? Stables currently doesn't support the MoC horses (that look nearly identical to Vanilla horses) which would explain why there's damage being dealt, rather than tossing an error, or another message.
I just downloaded it! Great plugin everything works very nice, tho have on problem... When I'm trying to store my horse it don't let me do it! It says "hit the horse you wish to store" but when I try to hit it I only give it damage. ' Is this a known bug or do I need to do something in the config? I have tried with both signs and the comand, the sam thing happends in both cases... Note* im on the 1.7.10 version of Cauldron
Plzz help :D Best regards, beefchicken
@Formula350
You'd disable the virtual stables in the config: useCommand: false This would require a Stables Sign in order to store a horse - just don't create the signs :)
There were issues for a little while regarding people who had colored their horses names by various means. This was corrected in, I believe, 1.9.8. The storage itself - this is the first time I'm hearing issues with the squares. As for it not saving "magical armor" - If another plugin is augmenting armor - Stables only stores vanilla stats, as that's all it knows about. There's no such thing as enchanted armor in vanilla MC, and thus it has nothing to save. Stables was never designed to work with other plugins that modify various horse aspects. On Vanilla-horse servers, storage has never been an issue (with the exception of the above mentioned color problem)
STORING speed isn't a problem. It's very easy to store speed. However there is no way to set that back on a horse - so no idea how he could have gone about doing that.
Edit: I just looked at his source code - He sets the speed by using reflection NMS code and the required mod of protocolLib - In short, this plugin would break every time any new version comes out. With how busy I am IRL, This isn't something I'm going to do with Stables any time soon. It'd be weeks between updates at best.
@raum
What about ADDING more permissions? I like the plugin for some of the simple things it offers for horses, but currently for actually stabling horses it is too unreliable (on my server at least), and people losing their horse to the stables is a common occurrence. I've tried negating "stables.store" in hopes that'd have done it, but doesn't seem to have done anything. I'd attempt negating "stables.*" but I fear that'll prevent them from the rest of features I do want to use (ownership via nametags for example).
In a bit more detail here are the two issues that we seem to be having:
First, the general not being able to summon your horse due to being stored with the name "▉▉▉▉▉▉▉▉▉" (which even if you do type in those, it still won't call it lol)
Second, we use ImOnAHorse to create Pegasus, and storage of those horses apparently results in certain-loss of the magical armor. It also may increase chance of the first issue occurring, but I'm not certain.
The only plugin to have worked absolutely perfectly had been PortableHorses, but that Dev has expressed dissatisfaction with the Spigot crew over how they went about getting around the DMCA, so he refuses to update the plugin and I do believe has walked away from the community in general. On top of that, his plugin also perfectly stored all of a horses specs in addition to inventory (at least armor, don't know about chested equine), so speed, health, jump, color was all properly stored. Which I suspect being able to summon a horse with all of those attributes through a command, that it surely must leave a way to do it with Stables :)
But yea, I'm mostly interested in the ability to prevent players from using the commands right now, at lease until storage becomes more reliable.
Thanks!
-Formula350
@HyperFrostNetwork
Need a few more details than that, as It's not reproducing on a test server. What portions of the plugin are you referring to? What perms plugin are you using? What version and build of MC? Spigot? Bukkit?
There seems to be a pretty big issue with the plugin ignoring permissions and just allowing everyone to use the plugin, call me out if I'm doing anything wrong here.
@Mario359
Stables is not version dependent - That is, there is no NMS code in it that would break on a new version. It will work on any version of MC currently out that supports UUIDs.
Any updates for MC 1.8.7 ?
@Bonkozorus
It is, as stated in the Virtual Stables section:
"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."
Sadly there's nothing we can do about it currently. Even with 1.8, There is still no API to set that data. Jump strength, however, does save and restore.
Look like horses loose their stats (jump / speed) when u store them, is it normal?
it just kicked everyone...
20.05 12:33:14 [Server] INFO Stables loading with SQLite.
20.05 12:33:14 [Server] INFO Database closed - attempting to reopen!
Also it left me a report in timings
http://timings.aikar.co/?url=11247530
Great plugin thanks!
how can an admin locate/teleport to a horse that is not theirs??
@mr_T_creations
I've not tested it directly on 1.7 since v1.9.5, but there's nothing that is 'exclusive' to 1.8 included in Stables, so it should work with no problems on any version of Bukkit/Spigot that was released since UUIDs were added.
Are the builds reverse compatible to 1.7.9 bukkit?
@buzzsaw100
As I said in the ticket, "stable." was a typo and it will be corrected. The permission makes perfect sense if it was typed correctly. The lack of documentation is because of Bukkit's auto-kickback system that keeps rejecting changes for whatever reason. I will likely be moving to Spigot and stop using Bukkit's now very flawed system.