/ability
Gets and sets player privileges.
Last updated
Gets and sets player privileges.
Last updated
ability <player> [<privilege>] [<value>]
<player>
Specifies the player for which to grant/revoke/query the privilege.
Must be a player name or target selector.
<ability>
Specifies the player privilege (such as fly
or server
).
<value>
Specifies the value to set the ability to, must be either true
or false
. If not specified, returns the current privilege's value.
Fails if the arguments are not specified correctly.
On success, sets the player privilege into the specified privilege. If <value>
isn't specified, returns whether the player has the specified privilege. If <ability>
isn't specified, returns what privileges the player has.
v1.0
Added /ability