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

From SAS Gaming Wiki
imported>Reverse88
mNo edit summary
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 5: Line 5:
}}
}}


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


==Syntax==
==Syntax==
Line 49: Line 49:
{{Navbox commands}}
{{Navbox commands}}


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

Revision as of 15:43, 9 April 2026

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