The mode in which a new player appears.
On this page 6 sections
At a glance
Default — survival
-
Line in a file
gamemode=survival
Game mode. By default — survival.
| What | Value |
|---|---|
| Key | gamemode |
| By default | survival |
| Type | one of the values below |
survival | Survival |
creative | Creative |
adventure | Adventure |
spectator | Observer |
| Without restart | can — through the management protocol |
- Stop the server and open server.properties — it's located next to the server JAR file.
- Find the line
gamemode=and enter your value. - Save the file and start the server: settings are read at startup.
This setting can be changed without restarting — via the management server protocol (management-server-enabled). To compile the entire file with ready-made sets — in server.properties editor..
What does gamemode mean in server.properties?
The mode in which a new player appears.
What is the default value of gamemode?
survival — this line is automatically written by the Minecraft server 26.3.
Do you need to restart the server after changing gamemode?
The server reads a file on startup — fix the line and restart it. This setting can be changed in real time via the management protocol.
- allow-flight
- difficulty
- force-gamemode
- function-permission-level
- hardcore
- op-permission-level
- player-idle-timeout
- spawn-protection
All server.properties settings server.properties generator
Data from Minecraft 26.3: Launcher manifest from Mojang, version.json inside each client version, and server.properties, which the server itself creates.