Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/ability: Difference between revisions

From SAS Gaming Wiki
imported>Ja17
m History: split per style guide and MCW:CP
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 19: Line 19:
: Specifies the player ability.  
: Specifies the player ability.  
: These abilities are:
: These abilities are:
:* <code>worldbuilder</code> gives the selector the ability to become a world builder. This allows the player to build - even in ''[[Minecraft:Adventure mode|Adventure Mode]]''.
:* <code>worldbuilder</code> gives the selector the ability to become a world builder. This allows the player to build - even in ''Adventure Mode''.
:* <code>mayfly</code> lets the selector [[Minecraft:Flying|fly]] as if they were in [[Minecraft:Creative Mode]].
:* <code>mayfly</code> lets the selector fly as if they were in Creative Mode.
:* <code>mute</code> mutes the selector. If they [[Minecraft:chat]], no one can hear (or see) their message.
:* <code>mute</code> mutes the selector. If they chat, no one can hear (or see) their message.


{{argument|be=1|value: Boolean|enum}}
{{argument|be=1|value: Boolean|enum}}
Line 49: Line 49:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:es:Comandos/ability]]
es:Comandos/ability
[[Minecraft:fr:Commandes#ability]]
fr:Commandes
[[Minecraft:ja:コマンド/ability]]
ja:コマンド/ability
[[Minecraft:lzh:令/ability]]
lzh:令/ability
[[Minecraft:pt:Comandos/ability]]
pt:Comandos/ability
[[Minecraft:ru:Команды консоли/ability]]
ru:Команды консоли/ability
[[Minecraft:zh:命令/ability]]
zh:命令/ability
[[Minecraft:de:Befehl/ability]]
de:Befehl/ability

Revision as of 15:43, 9 April 2026

Template:Education feature Template:Infobox command

Sets or queries a player with a specific ability.

Syntax

ability <player: target> <ability: Ability> [value: Boolean]
ability <player: target> [ability: Ability]

Arguments

Template:Argument

Specifies the target for which to grant/revoke/query the ability.

Template:Argument

Specifies the player ability.
These abilities are:
  • worldbuilder gives the selector the ability to become a world builder. This allows the player to build - even in Adventure Mode.
  • mayfly lets the selector fly as if they were in Creative Mode.
  • mute mutes the selector. If they chat, no one can hear (or see) their message.

Template:Argument

Specifies the value to set the ability to, must be either true or false. If not specified, returns the current ability's value.

Result

Fails if the arguments are not specified correctly.

On success, sets the player ability into the specified ability. If value: Boolean isn't specified, returns whether the player has the specified ability. If ability: Ability isn't specified, returns what abilities the player has.

History

Bedrock Edition

Template:HistoryTable

Minecraft Education

Template:HistoryTable

Navigation

Template:Navbox commands

es:Comandos/ability fr:Commandes ja:コマンド/ability lzh:令/ability pt:Comandos/ability ru:Команды консоли/ability zh:命令/ability de:Befehl/ability