We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.
Commands/defaultgamemode
< Commands
This feature is exclusive to Java Edition. |
defaultgamemode
Restrictions | |
---|---|
First introduced |
Sets the default game mode (creative, survival, etc.) for new players entering a multiplayer server.
- Syntax
defaultgamemode <mode>
- Arguments
- 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 that join the world will be put into the default game mode.
- Examples
- To set the default game mode to survival:
defaultgamemode survival
- See also
/gamemode
– changes a player's game mode
History[edit]
Java Edition | |||||
---|---|---|---|---|---|
1.3.1 | 12w22a | Added /defaultgamemode . | |||
1.8 | 14w05a | Added spectator to /defaultgamemode . |