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/defaultgamemode

From SAS Gaming Wiki
Revision as of 15:43, 9 April 2026 by SyncBot (talk | contribs) (Remove broken links to missing pages)

Template:Exclusive Template:Infobox command

Sets the default game mode (Creative, Survival, etc.) for new players entering a Minecraft:multiplayer Minecraft:server. If in multiplayer and force-gamemode in the Minecraft:server.properties file is true, or if in LAN world, all online players are set to this game mode.

Syntax

defaultgamemode <gamemode>

Arguments

Template:Argument

Specifies the default game mode.
Template:Arg desc

Result

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

Examples

  • To set the default game mode to survival: defaultgamemode survival

See also

Template:Cmd – changes a player's game mode

History

Template:HistoryTable

Navigation

Template:Navbox commands

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