Permissions - Zedd7/ZHorse GitHub Wiki
In order to give administrator access to a player, give him the zh.*
permission. This permission is automatically given to server operators.
It should not be confused with zh.admin.*
, zh.admin
, zh.*.admin
or zh.<command>.admin
as those permissions deal with the command /zh admin
and the admin mode of commands.
You can give access to the basic set of commands and functionalities with the zh.use
permission.
To block a few commands in the basic set, give the zh.use
permission and deny any unwanted permission. This way, you won't need to update the permissions every time a new command is added.
In order to use a command, a player must own the related permission zh.<command>
.
Sub-commands work in the same way : zh.<command>.<sub-command>
.
Main permission | Child permission | Effect |
---|---|---|
zh.* | zh.*.admin zh.*.free zh.admin.* zh.edit zh.reload zh.spawn zh.tame zh.use |
Grant administrator access to ZHorse |
zh.*.admin | zh.<all commands>.admin | Allow the use of the admin mode for all commands |
zh.*.free | zh.<all commands>.free | Allow free use of all commands |
zh.use | zh.buy zh.claim zh.give zh.free zh.friend.* zh.heal zh.info zh.kill zh.help zh.here zh.list zh.lock zh.protect zh.rename zh.rez zh.sell zh.settings.* zh.share zh.stable.* zh.tp |
Grant access to the basic set of commands and functionalities |
zh.admin.* | zh.admin zh.admin.burial zh.admin.clear zh.admin.import |
Grant access to all sub-commands of /zh admin
|
zh.friend.* | zh.friend zh.friend.add zh.friend.list zh.friend.remove |
Grant access to all sub-commands of /zh friend
|
zh.settings.* | zh.settings zh.settings.favorite zh.settings.language zh.settings.stats zh.settings.swap |
Grant access to all sub-commands of /zh settings
|
zh.stable.* | zh.stable zh.stable.go zh.stable.set zh.stable.unset |
Grant access to all sub-commands of /zh stable
|
zh.<command> | Grant access to the specified command | |
zh.<command>.admin | Allow the use of the admin mode for the specified command | |
zh.<command>.free | Allow free use of the specified command |