Server.properties



server.properties is the file that 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. Another option is to use the command in the server console or in-game, which will also allow changes to be reloaded.

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.

The server.properties file is simply a normal text file with UTF-8 encoding, despite its extension, and can therefore be edited with any text editor such as Notepad for Windows, TextEdit for Mac, or nano and vim for Linux.

File location
This file is automatically generated upon the first start of the server (if it does not exist).

Default content
As of 23w31a, server.jar generates the following if no server.properties is found:

File location
This file is downloaded with bedrock_server.exe

Default contents
Default as of 1.20.0.20:

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