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.
@BlackFind85
That's already there as well, take another look at the config file as well http://dev.bukkit.org/bukkit-plugins/stables/pages/configuration-permissions/
Is there a way to tame a horse and than it's owned by you? Instead of having to name it to own it. Thanks!
@BlackFing85
You can already disable them, take a look at the end of the config file ;)
@Q2Lummox
Any solution for this?. Please help me :_(
@raum
I didn't have any problems with mcMMO on craftbukkit 1.7.2 R0.2. I do have problems with summoning horses, it very rarely works. There seems to be no specific reason for when it does work, I have more failures with it than successes, while TP to the same horse works fine.
If summon does happen to work, i.e. summoning a horse from location A to B works, TP-ing back to location A and summoning the horse back fails. In between the summons and TPs there is no restart or change in configs.
The logs show the same for TP or Summon (with debug true):
12.01 04:46:05 [Server] INFO Stables DEBUG: Horse found - searching for location ...
@BlackFing85
Simply set each recipe to false. (See config page)
@raum
Can you make it so you can disable the crafting recipes? Thanks!
I tried in several ways to protect the wild horses.
I need that the only that can harm a horse, be their owner and all other horses that are not tamed, can not be damaged.
How I can make this? I tried:
BlockAll: true
PVPDamage: false
EnviromentDamage: false
OwnerDamage: true
MobDamage: false
ProtectUnclaimed: true
BlockAll: false
PVPDamage: false
EnviromentDamage: false
OwnerDamage: true
MobDamage: false
ProtectUnclaimed: true
BlockAll: false
PVPDamage: true
EnviromentDamage: true
OwnerDamage: false
MobDamage: true
ProtectUnclaimed: true
And always can hurt a wild horse (no tamed)
(Sorry for my english)
Greetings ;)
@raum when you type spawnhorse skeleton it says horse spawned but can't find horse anywhere
@crunkazcanbe
That error is due to mcmmo, and has been corrected with v 1.8.8.10 - Unfortunately we're still waiting for Bukkit's QC group to approve it for download to the masses.
@raum I run this plugin with Griefpervention and mcmmo and i keep getting this in the console
http://pastebin.com/R7w3CuKV
@ModalInc
It has been awaiting approval from Bukkit's QC for 2 days now .. Unfortunately nothing I can do to speed that up.
@RowdyKingDippy
You can /ro or /stables remove a claimed horse, which would remove all the protections on it.
@raum
Where can i find said new version?
Would be awesome if there was a pet kill/remove option - because if you have the no damage set then an abandoned horse can't die or be removed.
Thanks :D
Ugh. Didn't get like half of these comments until just now ... :/
@diannetea
GriefPrevention can have horses disabled. We use it on our server. Bukkit itself has no ownership of horses.
@Al3XKOoL
Was a conflict with MCMMO. Has been fixed in the newest version.
@externo6
Herm ... I can attempt to strip out any colors in names at storage, but it will cause additional lag for large servers with large databases of horses.
@xH3LLRAIZ3Rx
I'll add it to the todo list, but it isn't something I'll be rushing to get in.
@KJ_Shipp
And u must have build allow
@NiceFinal
if you are using WG: From console or ingame: /region flag [id] denyspawn Skeleton,Zombie,Creeper,etc .
exclude horses and the will still be able to spawn. You will need to allow the flag mob-spawning for that same region.
So GriefPrevention has added horse protections, which is all fine and dandy except I can't disable it (as it is 1. unnecessary with this plugin, and 2. causes issues with ownership so horses cannot be sold or traded).
Can you add a way to transfer Bukkit's ownership of a horse so this method can be alleviated? I know you have some sort of horse ownership but because Bukkit also has horse ownership, this is culminating in a very frustrating horse situation :(
get this error on 1.7.2
org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]
19.12 21:27:59 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_45]
19.12 21:27:59 [Server] INFO at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source) ~[?:?]
19.12 21:27:59 [Server] INFO at com.ivalicemud.stables.EventListener.onSplash(EventListener.java:224) ~[?:?]
19.12 21:27:59 [Server] INFO Caused by: java.lang.NullPointerException
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:636) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:508) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1314) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1445) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1469) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.EntityProjectile.h(EntityProjectile.java:154) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at net.minecraft.server.v1_7_R1.EntityPotion.a(EntityPotion.java:93) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPotionSplashEvent(CraftEventFactory.java:308) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[spigot.jar:git-Spigot-1201]
19.12 21:27:59 [Server] INFO org.bukkit.event.EventException
19.12 21:27:59 [Server] ERROR Could not pass event PotionSplashEvent to stables v1.8.8.9
We can't seem to disable environmental damage at all? We tried doing each node then just doing the blockall but nothing we do stops fire/fall dmg.
We cant seem to recover horses with a coloured nametag, any way of fixing?