/gamemode
Sets a player's game mode.
Syntax
gamemode <gamemode> [<targets>]
Arguments
<gamemode>
String
Specifies the new game mode.
Must be one of the following:
survival
(can be abbreviated ass
or0
)creative
(can be abbreviated asc
or1
)
<target>
Selector
Specifies the target(s). If not specified, defaults to the player who executes the command.
Result
Changes the game mode of the player(s). In non-MineClone-like games, grants or revokes the creative
privilege.
History
Version
Action
v2.0
Added /gamemode
Last updated