Server.properties



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

When editing server.properties it is important that the same structure as the original is used, although the order of the lines is arbitrary. The text before the equal sign is the key, which should not be changed. The text after the equal sign is the property's value, which can be edited. 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. Conveniently, another option has existing. That is to use the  command in the server console, which will also allow changes to be made.

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 rewrites the server.properties file with the new properties listed and set them to their default values.

Java Edition
This file is automatically generated upon the 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
broadcast-rcon-to-ops=true view-distance=10 max-build-height=256 server-ip= level-seed= rcon.port=25575 gamemode=survival server-port=25565 allow-nether=true enable-command-block=false enable-rcon=false enable-query=false op-permission-level=4 prevent-proxy-connections=false generator-settings= resource-pack= level-name=world rcon.password= player-idle-timeout=0 motd=A Minecraft Server query.port=25565 force-gamemode=false hardcore=false white-list=false broadcast-console-to-ops=true pvp=true spawn-npcs=true generate-structures=true spawn-animals=true snooper-enabled=true difficulty=easy function-permission-level=2 network-compression-threshold=256 level-type=default spawn-monsters=true max-tick-time=60000 enforce-whitelist=false use-native-transport=true max-players=20 resource-pack-sha1= spawn-protection=16 online-mode=true allow-flight=false max-world-size=29999984
 * 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 is automatically updated to match, and the property is removed.

History
Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties Server.properties