Server.properties



server.properties is the file which stores all the settings for a multiplayer (Minecraft or Minecraft Classic) server.

If you are going to edit server.properties it is important that you use the same structure as the original uses, although the order of the lines is arbitrary. The text before the equal sign is the key, which you shouldn't change. The text after the equal sign is the property's value, which you can edit. Lines that begin with  are comments - altering or removing these lines has no effect on the game.

After changes are made to the server.properties file, the server must be restarted for them to take effect.

If the server.properties file does not list all properties (such as if a new version of the server adds new properties, or if the file does not exist), then on startup the server will rewrite the server.properties file with the new properties listed and set them to their default values.

Java Edition
This file is automatically generated upon first start of the server (if it doesn't exist).

Bedrock Edition
This file is downloaded with .

Server.properties
These are the default settings for a newly installed Minecraft server:

Java Edition
spawn-protection=16 max-tick-time=60000 query.port=25565 generator-settings= force-gamemode=false allow-nether=true enforce-whitelist=false gamemode=creative broadcast-console-to-ops=true enable-query=false player-idle-timeout=0 difficulty=easy spawn-monsters=true broadcast-rcon-to-ops=true op-permission-level=4 pvp=true snooper-enabled=true level-type=default hardcore=false enable-command-block=true max-players=20 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 rcon.port=25575 server-port=25565 server-ip= spawn-npcs=true allow-flight=false level-name=world view-distance=10 resource-pack= spawn-animals=true white-list=false rcon.password= generate-structures=true max-build-height=256 online-mode=false level-seed= use-native-transport=true prevent-proxy-connections=false enable-rcon=false motd=A Minecraft Server
 * 1) Minecraft server properties
 * 2) (File Modification Datestamp)

Bedrock Edition
server-name=Dedicated Server gamemode=survival difficulty=easy allow-cheats=false max-players=10 online-mode=true white-list=false server-port=19132 server-portv6=19133 view-distance=32 tick-distance=4 player-idle-timeout=30 max-threads=8 level-name=Bedrock level level-seed= default-player-permission-level=member texturepack-required=false

Java Edition
In versions prior to Java Edition 1.12, the announce-player-achievements boolean property (default true) was used to toggle whether achievements were broadcasted to all players. This property no longer exists, but if it is set, the  gamerule will automatically be updated to match and the property will be removed.

Minecraft Classic server properties
Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties