Commands/defaultgamemode

Sets the default game mode (creative, survival, etc.) for new players entering a multiplayer server.


 * Syntax




 * Arguments


 * mode


 * Specifies the default game mode for new players. Must be one of the following:
 * for survival mode
 * for creative mode
 * for adventure mode
 * for spectator mode


 * Result


 * Fails if the arguments are not specified correctly.


 * If successful, sets the default game mode that is shown on the world selection menu. New players who join the world are put into the default game mode.


 * Examples


 * To set the default game mode to survival:


 * See also


 * – changes a player's game mode

History
Befehl/defaultgamemode