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
not sure if its this plugin or what. but when i do /killall horse, it wont clear any horses that have been previously claimed. is there a special way to clear them around all that?
i have found another "bug"
horses are protected against player hits but not from arrows and potions.
please fix that
@florianx123
Try and reproduce the bug somehow, then let me know
I got this error message when I did a right click on a horse.
2013-09-07 17:10:42 [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_R2.PlayerConnection.a(PlayerConnection.java:1088) at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:649) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at io.github.wreed12345.MTCHorsesPlus.ownsHorse(MTCHorsesPlus.java:752) at io.github.wreed12345.MTCHorsesPlus.RightClick(MTCHorsesPlus.java:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
oh wow. XD i must have grabbed the wrong file when i uploaded i thought i had updated to 005 XD
@mal67
Not really sure... Anyway I noticed you don't have the most recent MTC Horses Plus version so I would recommend getting it.
got this random error, havnt been able to reproduce it. lol just wanted to report it either way.
Hi, tnx for the plugin, just been on the server you mentioned, but could not really test it there, so, going to put it on my own test server...
@DaddyBee
lol thanks ill fix that
sexmaxhealth?
@WhiteAurora
If you type /horse changecolor <invalid color here> it will bring up a list of valid colors. so type /horse changecolor bananas
Can I get a list of the possible colors to change a horse to with /horse changecolor ?
@DJCharlie
also charlie, /horse help does not exist which is why it throws that error for you.
@DJCharlie
Make sure you have the latest craftbukkit version and you have permission for the command
Great idea, but every time I try using ANY of the /horse commands, I get "Invalid MTC Horses Plus Command!"
Even /horse help gives that. Any ideas?
@ZwingGX
I don't really know how do function these or anything, and I won't be able to add any thing to this plugin for like 2 weeks
@xtremekid
To be honest I barely know what spigot is. If it is built off of craftbukkit it definitely needs the latest craftbukkit build. Wont be able to do any testing for a while
This is something I've been looking for.
@wreed58
Could you add translation files ? :)
Using spigot and it says Invalid command to everything in mtc horses