Commands/gamemode

Sets a player's game mode.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * and
 * Specifies the new game mode.
 * Specifies the new game mode.


 * Specifies the target(s). If not specified, defaults to the player who executes the command.

Examples

 * To put the executing player into Creative mode:


 * To put all players into Survival mode:

History
Befehl/gamemode コマンド/gamemode Comandos/gamemode Команды консоли/gamemode Команди консолі/gamemode 命令/gamemode