Minecraft:Commands/defaultgamemode
From SAS Gaming Wiki
More actions
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
- 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
de:Befehl/defaultgamemode es:Comandos/defaultgamemode ja:コマンド/defaultgamemode lzh:令/defaultgamemode pt:Comandos/defaultgamemode ru:Команды консоли/defaultgamemode uk:Команди консолі/defaultgamemode zh:命令/defaultgamemode