MTC Horses Plus
MTC Horses Plus is a plugin that allows horses to be protected from griefing and other events. This plugin allows users to claim horses, add users to the allowed users group for their horse, remove protection on their horse, change their horses color, change their horses jumping ability, change its health, change its max health, change its variant (undead horse, mule, etc), and set its speed.
Claiming a Horse
To claim a horse simply go on it! It requires the permission node: mtchorsesplus.rideandclaim
Commands
- horse changeprotection {new owner}
- description: Changes a horses owner
- horse removeprotection
- description: Removes a horses owner
- horse changecolor {color}
- description: Changes a horses color
- horse jumpstrength {strength}
- description: sets a horses jump strength
- horse addperson {person}
- description: adds someone to the permitted users of your horse
- horse variant {variant}
- Changes horse variant (mule, horse, etc)
- horse sethealth {health}
- Sets horses health, where health is a number.
- horse setmaxhealth {health}
- Sets the maximum health for the selected horse
- horse setspeed {speed}
- Sets a horses speed of the selected horse
- help mtchorsesplus
- Lists all of the MTC Horses Plus commands
Permission Nodes
- mtchorsesplus.changeowner:
- description: Allows you to change horse owner.
- mtchorsesplus.removeprotection:
- description: Allows you to remove a horses protection
- mtchorsesplus.addperson:
- description: Allows you to add someone to your horses protection
- mtchorsesplus.rideandclaim:
- descritpion: Allows you to claim / ride horses
- mtchorsesplus.changecolor:
- description: Allows you to change horse color
- mtchorsesplus.changejump:
- description: Allows you to change the jumping ability of your horse
- mtchorsesplus.admin:
- description: Allows you to use all horse commands
- mtchorsesplus.changetype
- Allows you to change the horses type (horse, mule, etc)
- mtchorsesplus.sethealth
- Allows you access to /horse sethealth and /horse setmaxhealth
- mtchorsesplus.setspeed
- Allows you access to '/horse setspeed {speed}'
To Do:
- Config file with customizable messages
Allow changing of horses speed (may take a while if it is added...)
Help command
Adding protection to horse inventory
- translation files
- Protect horses against arrows and potions
Test the plugin out
Want to try out the plugin? Come on milkthecow.playat.ch
New in this version
MTC Horses Plus 0.0.5 now has:
- Ability to set horses speed (with commands and permissions for it)
- Protection on horses inventory
Setup and Demonstration
http://www.youtube.com/watch?v=anio4XKz9js&feature=youtu.be
Suggestions?
Comment below and I'll be sure to add it as soon as I can as long as it is reasonable
I know this pluggin was mad a long time ago and it is probably not going to be updated again but if it can be can you please make it so that /horse setspeed works? I own and equestrian server for me and m friends and we really want this fixed. Thanks!
Is this compatible with 1.8?
Hello everyone I will be considering updating this plugin to have everything working once again and add some features please just leave suggestions for what you would like me to add and fix!
In reply to _ForgeUser8463203: I think ya should add Set hearts Max 80 "ad Perhaps add a way to set the horses pattern if ya havent done that yet! ALSOO something THAT WOULDD HELP SO MUCH in my server Mkae a command TO TAME PLEASEE I rlly need that! TYSM for Consideing Also 1.18.2?
It's a good plugin but lacks an admin command for look an horse's owner.
@Kel007
I concur, this happens for me too. (plug-in 0.0.5, CraftBukkit build 2993)
Is this working with 1.7 dev/beta?
Using 1.7.2 Dev version but this has been a problem for a long time I believe. First off, anyone can push horses around (Not sure if its possible to prevent just saying)
Second anyone with a lead can use it on a horse and walk it anywhere. If the horse is protected why are players able to use a LEAD on it?
Thanks.
Hello
First off, great plugin!
But i have some suggestions.
keep up the great work!
Hey, could you add something that you can teleport with your horse. e.g if you type /home it teleports with you
As the operator, I went to set a horse's owner to one of the players. However, when I right-clicked to ride on it (to test if non-owners can ride), it automatically transfers ownership to me.
How does 'mtchorsesplus.rideandclaim' work? Does it actually transferred the ownership or does it just allow me to ride the horse? 'Allows you to claim / ride horses'
Edit: Also /horse setspeed does not seem to work. I right-clicked on the horse but no new text came up and the speed remained the same.
Edit 2: Error for /horse setspeed
[SEVERE] Could not pass event PlayerInteractEntityEvent to MTCHorsesPlus v0.0.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:1097)
at net.minecraft.server.v1_6_R3.Packet7UseEntity.handle(SourceFile:36)
at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_6_R2/entity/CraftLivingEntity
at io.github.wreed12345.MTCHorsesPlus.setHorseSpeed(MTCHorsesPlus.java:764)
at io.github.wreed12345.MTCHorsesPlus.RightClick(MTCHorsesPlus.java:696)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
Permission was given and I was in operator status.
Edit 3: mtchorsesplus.admin also does not seem to work - I've set it to true but it tells me I have no permission (for permission mtchorsesplus.rideandclaim)
Also, can you add separate permissions for mtchorsesplus.rideandclaim? This is something similar to what I meant:
mtchorsesplus.ride.player: Allows player to ride only horses owned by him
mtchorsesplus.ride.admin: Allows player to ride any horse
mtchorsesplus.claim.player: Allows player to claim horses up to the limit of horses set
mtchorsesplus.claim.admin: Allows player to claim horses up to the limit of horses set for admin (If unset or false, uses player limit)
mtchorsesplus.limit.player: An integer value (Limit of horses for players)
mtchorsesplus.limit.admin: An integer value (Limit of horses for admin. If unset, uses player limit)
@florianx123
Same error but i figured it out, it's just when you don't have the permission.
Try to give some wheat to a horse (or a donkey in my tests) then you'll see those errors (without permission line or OP ofc)
Would it possible to set a hay bale as a respawn point and have your horse respawn there on death?
@reno911unlocred
Could you just point me in the right direction for getting started on translation files? Maybe some tutorials or other resources preferably no videos
@MasterMithrandir
I dont think making horses teleport to you would be a good idea, since players often have many horses (10 + on my server). For the protection you can type /horse removeprotection
@wreed58:
Hey man, if you need help with the translation i can help you out.
@MasterMithrandir
If it is claimed, no one else but you can hurt him (except from arrows and potions)
Could you just make horses follow you like wolves when teleporting somewhere while riding a protected horse? (If this isn't already implemented) Is it posible to unprotect a claimed horse against player damage?
@florianx123
I'll add that to my to do list
@mal67
I'm not sure if it is this plugin, but if you want to remove protection on all horses, stop your server then delete the file called playerData.yml then start your server and try the command again.