Commands and Permissions
HorseStats Commands and Permissions
Updated for v5.0
Commands and permissions that I feel need to be exclusive to server staff are labeled in brackets. Not required, just me sharing my opinion. The ranks I give below are based on a staff hierarchy of Moderator, Admin, Super Admin, OP/Owner.
Some commands say they only work if the player owns the horse. Keep in mind that the globaloverride permission will override this.
I will use the term "Access Rights" frequently on this page. When I say a player has "Access Rights", this means the player is the owner, a friend of the owner, or an admin with the "HorseStats.global-override" permission.
Commands:
/horsestats
- Aliases: /hs
- Gives a short explanation to the user about using the plugin's features.
/htp
- Teleports the selected horse to the command user. The user must have Access Rights in order to select it in the first place.
- If the chunk containing the horse unloads, then you will need a second player to stand by the horse to prevent the chunk from unloading, or the teleport will fail.
/delname
- Deletes the name of a horse. Only usable by players with Access Rights.
/delchest
- Deletes the chest of a horse. Only usable by players with Access Rights.
/untame
- Removes the player's ownership of the horse they are riding. Only usable by owner and admins with "HorseStats.global-override" permission. Friends are ignored for this command.
[Moderators] /tame
- Tames an untamed horse. Cannot be used on a currently tamed horse.
/setowner <player>
- Transfers ownership of a horse directly to the specified player. Only usable by owner and admins with "HorseStats.global-override" permission. Friends are ignored for this command.
[Admins] /slayhorse <launch>
- Kills the horse being ridden. No regard for ownership. Optional launch argument for a bit of fun. The only real purpose of this is so admins can get around the HorseGrief config setting.
[Moderators] /setstyle <style>
- Changes the style pattern of a horse. Only usable by players with Access Rights.
[Moderators] /setcolor <color>
- Changes the color of a horse. Only usable by players with Access Rights.
[Moderators] /setstat <jump|health|speed> <value>
- Changes the health or jump height of a horse. Only usable by players with Access Rights.
/hperm <give | take | view> <player> <damage | use>
- Allows players to view and control who can access their horses.
- Command operates only if anarchy mode is not enabled.
- For the <player> argument, players can be specified by name (only if they are online) or by UUID (online status does not matter).
[Admins] /hspawn <donkey|mule>
- Spawns the entity specified with the argument, or a horse if no argument is given. Ex: "/hspawn" will spawn a horse, "/hspawn donkey" will spawn a donkey.
Permission Nodes:
[Super Admin] HorseStats.*
- Gives ALL permission nodes. No ifs ands or buts.
[Super Admin] HorseStats.global-override
- Allows someone to bypass ANY time the plugin checks to see if a player is an owner.
[Admins] HorseStats.slayhorse
- Allows use of /slayhorse.
[Admins] HorseStats.slayhorse.launch
- Allows use of the "launch" argument for /slayhorse. This permission is not included in "HorseStats.slayhorse".
HorseStats.hperm
- Allows the use of /hperm.
[Admins] HorseStats.hspawn
- Allows the use of /hspawn.
[Super Admin] HorseStats.plugin-alerts
- Allows someone to receive messages about outdated config and no speed mode when they join the server.
[Moderators] HorseStats.setstyle
- Allows the use of /setstyle.
[Moderators] HorseStats.setcolor
- Allows the use of /setcolor.
[Moderators] HorseStats.setstat
- Allows the use of /setstat.
[Moderators] HorseStats.tame
- Allows use of /tame
HorseStats.untame
- Allows use of /untame.
HorseStats.setowner
- Allows use of /setowner
HorseStats.delname
- Allows use of /delname
HorseStats.delchest
- Allows use of /delchest
HorseStats.htp
- Allows use of /htp