Commands/ability

From Minecraft Wiki
Jump to: navigation, search
ability
Restrictions

Operator

First introduced

?

Grants or revokes player with a specific ability.

Syntax
ability <player: target> <ability: string> <value: bool>
Arguments
player: target
Specifies the target to grant/revoke player ability. Must be a player name or target selector.
ability: string
Specifies the player ability.
Must be one of:
  • worldbuilder for ability to become a World Builder.
  • mayfly for ability to fly.
value: bool
Specifies the value to set the ability to, must in between true or false.
Result
Fails if the arguments are not specified correctly.
On success, grants/revokes the player ability into the specified ability.