Minecraft Wiki
Advertisement

Commands/infobox

Information icon
This feature is exclusive to Minecraft Education. 
Information icon
This feature is exclusive to Bedrock Edition. 

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.
  • mutegives the player the ability to mute (unable to send messages to the chat box)
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.


Advertisement