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)
Remove broken links to missing pages
Line 5: Line 5:
* 2 {{only|java|short=1}}
* 2 {{only|java|short=1}}
* 1 {{only|bedrock|short=1}}
* 1 {{only|bedrock|short=1}}
|others=[[Minecraft:Cheat]] only{{only|bedrock|short=1}}<br>No [[Minecraft:Bedrock Editor|editor]]{{only|bedrock|short=1}}
|others=Cheat only{{only|bedrock|short=1}}<br>No [[Minecraft:Bedrock Editor|editor]]{{only|bedrock|short=1}}
}}
}}


Sets a player's [[Minecraft:game mode]].
Sets a player's game mode.


== Syntax ==
== Syntax ==
Line 78: Line 78:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket alpha}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|gamemode|link=none}}.|Functionality is almost equivalent to [[Minecraft:Java Edition 1.10]] usage, except {{cmd|gamemode|link=none}} can only use Creative and Survival modes.}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|gamemode|link=none}}.|Functionality is almost equivalent to Java Edition 1.10 usage, except {{cmd|gamemode|link=none}} can only use Creative and Survival modes.}}
|{{HistoryLine|pocket}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Added {{cd|adventure}} to {{cmd|gamemode|link=none}}.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Added {{cd|adventure}} to {{cmd|gamemode|link=none}}.}}
Line 100: Line 100:
{{Navbox commands}}
{{Navbox commands}}


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

Revision as of 15:44, 9 April 2026

Template:Distinguish Template:Infobox command

Sets a player's 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

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