HorseMount
About HorseMount
HorseMount is a flexible player mount system. It allows players to summon and dismiss horse mounts with a simple command. Players can also choose to set their default mount via command or sign from 140 different mount types.
Features
- Easily summon mounts, tame mounts, attach a saddle, attach armor, and mount the horse with a single command
- Destroy horses on dismount
- Only let players mount horses if they have permission
- Choose from 140 variant, color and armor combinations including Horses, Mules, Donkeys, Skeleton Horses, and Undead Horses
- Permissions for every Horse combination
- Option to prevent horses from spawning naturally
- Option to prevent mounts from dropping items
- Prevent players from using/modifying horse inventories
Planned Features (in no specific order)
- Transfer configurable percentage of damage from mount to rider
- Configurable damage reduction for each horse armor type
- Configurable chance to dismount when attacked
- Configurable miss chance while mounted
- Option to dismount when player attacks another entity
- Option to prevent item pickups while mounted
- Configurable cooldown/warmup time
- Command blacklist while mounted
- Persistent Horse Chests
- Configurable speed for each horse variant
- Configurable speed reduction for armored horses
- Signs to set default horses
- Economy support
How to Install
- Copy JAR file to your /plugins directory
- Set up permissions for users/groups
- Edit config.yml (Optional)
- Enjoy!
I was wondering if it would be possible to summon horses while left clicking a specific kind of armour. Like lets say I want 3 types of armour(mounts) for summoning horses. So iron-horse armour to summon a white speckled horse, and I would right click to mount and dismount. And I would be able to buy mounts from signs.
so I am saying, would it be possible to sell mounts (armours) from signs, and would these summon the horses when left clicked? if this plugin had this kind of feature I would love you forever.
it says that skeleton horses are not valid variants and therefore cannot spawn, any help?
@ktross
Fantastic. I'll give it a try.
EDIT: The lead issue does appear to be fixed. Does this mean it may be possible to fix (allow) other interactions with naturally spawned horses such as taming, saddling, and mounting/dismounting?
My young son nearly came to tears when he accidentally mounted(*) the horse he had brought to his pen and it disappeared upon dismounting. ;-) (*This of course occurred because before this build I had to grant players the horsemount.mount command to allow them to even lead them.)
EDIT #2: It dawned on me that per your feature list ("Only let players mount horses if they have permission"), some server admins might want to restrict horse mounting only to players granted the horsemount /mount permission(s) the horsemount "way". So my thought was that if you were able to allow other interactions with naturally spawned horses, adding a config parameter like "disable-naturalhorse-mounting true" could disable mounting outside of using the horsemount /mount command (if granted the permissions). If set to false, players granted the horsemount.mount permission could use the /mount command for a quick mount and all players could interact with naturally spawned horses normally.
Sorry if I appear to be "pushing" my idea. That is not my intent. I just can't get my brain to stop once it starts processing a "problem". ;-)
@brian163b
The lead issue is fixed in the latest dev build.
@ktross
Any luck sorting out the lead issue? I am currently forced to give my users horsemount.mount and horsemount.dismount if they are to interact with naturally spawned horses at all. Thankfully, I can still block them from using /mount by not adding the style, color, etc. permissions but that isn't ideal.
@linusgjersvold
Could you post more information like your CraftBukkit or Spigot version (/version)? The errors from your server.log would be helpful too.
Thanks for the help, I got the permissions to use /mount now. But then I got another issue, when I use /mount it says in chat: "An internal error occurred while attempting to perform this" what can the problem for that be? Please help me
Me again, this time with some feature requests/ideas. :-)
How about a /showmount command to show the current /setmount parameters? I know you could call /mount and look in inventory but that view is a little small and can be hard to tell with armor. My "justification" is similar to the current dismount setup- you can really just hit Lshift but the "/dismount" command is there if you prefer it.
Also, it would be helpful to the player if the order of the parameters for the /setmount command were listed in the help, like /setmount: Set your default mount to <variant> <style> <color>
@brian163b
re mounting: It shouldn't affect leads, but it could be a bug in CB. I'll look into this tonight. I'll also try put in a config option to disable preventing users from mounting if the horse was spawned naturally.
re horsemount.help: I was just looking at the code and it looks like I forgot to put a perms check in there when the /hm command is used without any arguments. I'll get this fixed tonight.
@ktross
Ok, thanks for the quick update! My previous comment was actually composed while you were responding so I will check if the help part is still an issue. My other questions stand. ;-)
EDIT: Other than help as noted above, the permission nodes in 1.0.1-SNAPSHOT are working correctly now. Thanks!
@ktross
Also, I noted that horsemount.help permission isn't working. I tried adding a "-horsemount.help" in an attempt to force some players to leash/lead and mount horses the "normal" way by not showing them the /mount command but the help shows regardless. (Conversely, I also didn't need to add the permission for the help to appear so it's not working either way.)
Another question: If I don't grant the horse.mount permission I discovered players can't manually leash/lead a horse either. Would it be possible to separate the permissions to leash/lead a horse as opposed to actually trying to saddle & mount it? Or does Minecraft (/CraftBukkit) roll all of the horse interactions under "mounting"? (Looking at it another way, could the horsemount.mount command be limited to dealing with horses acquired via horsemount as opposed to "wild" horses?)
I am trying to allow some players to deal with horses the "traditional" way (or just be able to collect them before they actually find a saddle) while advanced users/ops can use the /mount command as shortcut.
@brian163b
I just uploaded a new release to bukkit that fixes the GroupManager permissions issue, but it could take a bit to get approved. If you don't want to wait, you can download it from here.
@linusgjersvold
If you haven't changed the default mount in the config, you'll need the following permissions:
The plugin just tells me that I don't have permissions when I try to /mount even tho I have the permissions on my rank. Is there anything I have to do to make it work?
@dotapurex1
What's not working as expected? Are are you getting an error? If so, please make a ticket and paste the error there
This plugin seems to conflict with scoreboardstats
@xxxwonderxxx
Glad everything's working well for you!
Horses naturally despawn/dismount you when you're in water that is 2 or more blocks deep. You can ride in 1-2 blocks deep of water, but anything more will dismount you.
Horses disappear when u hit water is that whats meant to happen?
everything else works awesome running Build #2815
@brian163b
I'll look into that tonight or tomorrow.
@Maroseliss
I tried those before I asked and they didn't appear to work. I ended up just adding all the different combinations. Should it matter what group manager I am using? I am using Essentials plug-in Group manager.