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/gamemode: Difference between revisions

From SAS Gaming Wiki
imported>ZombieWither101
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 101: Line 101:


[[Minecraft:de:Befehl/gamemode]]
[[Minecraft:de:Befehl/gamemode]]
[[Minecraft:fr:Commandes/gamemode]]
[[Minecraft:es:Comandos/gamemode]]
[[Minecraft:es:Comandos/gamemode]]
[[Minecraft:ja:コマンド/gamemode]]
[[Minecraft:ja:コマンド/gamemode]]

Latest revision as of 11:11, 11 April 2026

Template:Distinguish Template:Infobox command

Sets a player's Minecraft:game mode.

Syntax

  • Java Edition
gamemode <gamemode> [<target>]
  • Bedrock Edition
gamemode <gameMode: GameMode> [player: target]
gamemode <gameMode: int> [player: target]

Arguments

Template:El: Template:Argument
Template:El: Template:Argument and Template:Argument

Specifies the new game mode.
Template:Arg desc

Template:Argument

Specifies the target(s). If not specified, defaults to the player who executes the command.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

Examples

  • To put all players into Survival mode:
    /gamemode survival @a

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

See also

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/gamemode Minecraft:fr:Commandes/gamemode Minecraft:es:Comandos/gamemode Minecraft:ja:コマンド/gamemode Minecraft:ko:명령어/gamemode Minecraft:pt:Comandos/gamemode Minecraft:ru:Команды консоли/gamemode Minecraft:uk:Команди консолі/gamemode Minecraft:zh:命令/gamemode