Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Commands/ability

From Minecraft Wiki
Jump to: navigation, search
ability
Restrictions

Operator

First introduced

?


Information icon.svg
This feature is exclusive to Bedrock Edition and Education 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.