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.

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

Bedrock Edition
This file is downloaded with bedrock_server.exe

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

Java Edition
enable-jmx-monitoring=false rcon.port=25575 level-seed= gamemode=survival enable-command-block=false enable-query=false generator-settings= level-name=world motd=A Minecraft Server query.port=25565 pvp=true generate-structures=true difficulty=easy network-compression-threshold=256 max-tick-time=60000 max-players=20 use-native-transport=true online-mode=true enable-status=true allow-flight=false broadcast-rcon-to-ops=true view-distance=10 max-build-height=256 server-ip= allow-nether=true server-port=25565 enable-rcon=false sync-chunk-writes=true op-permission-level=4 prevent-proxy-connections=false resource-pack= entity-broadcast-range-percentage=100 rcon.password= player-idle-timeout=0 force-gamemode=false rate-limit=0 hardcore=false white-list=false broadcast-console-to-ops=true spawn-npcs=true spawn-animals=true snooper-enabled=true function-permission-level=2 level-type=default spawn-monsters=true enforce-whitelist=false resource-pack-sha1= spawn-protection=16 max-world-size=29999984 Default as of 20w28a.
 * 1) Minecraft server properties
 * 2) (last boot timestamp)

Bedrock Edition
server-name=Dedicated Server
 * 1) Used as the server name
 * 2) Allowed values: Any string

gamemode=survival
 * 1) Sets the game mode for new players.
 * 2) Allowed values: "survival", "creative", or "adventure"

difficulty=easy
 * 1) Sets the difficulty of the world.
 * 2) Allowed values: "peaceful", "easy", "normal", or "hard"

allow-cheats=false
 * 1) If true then cheats like commands can be used.
 * 2) Allowed values: "true" or "false"

max-players=10
 * 1) The maximum number of players that can play on the server.
 * 2) Allowed values: Any positive integer

online-mode=true
 * 1) If true then all connected players must be authenticated to Xbox Live.
 * 2) Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting.
 * 3) If the server accepts connections from the Internet, then it's highly recommended to enable online-mode.
 * 4) Allowed values: "true" or "false"

white-list=false
 * 1) If true then all connected players must be listed in the separate whitelist.json file.
 * 2) Allowed values: "true" or "false"

server-port=19132
 * 1) Which IPv4 port the server should listen to.
 * 2) Allowed values: Integers in the range [1, 65535]

server-portv6=19133
 * 1) Which IPv6 port the server should listen to.
 * 2) Allowed values: Integers in the range [1, 65535]

view-distance=32
 * 1) The maximum allowed view distance in number of chunks.
 * 2) Allowed values: Any positive integer.

tick-distance=4
 * 1) The world will be ticked this many chunks away from any player.
 * 2) Allowed values: Integers in the range [4, 12]

player-idle-timeout=30
 * 1) After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely.
 * 2) Allowed values: Any non-negative integer.

max-threads=8
 * 1) Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible.
 * 2) Allowed values: Any positive integer.

level-name=Bedrock level
 * 1) Allowed values: Any string

level-seed=
 * 1) Use to randomize the world
 * 2) Allowed values: Any string

default-player-permission-level=member
 * 1) Permission level for new players joining for the first time.
 * 2) Allowed values: "visitor", "member", "operator"

texturepack-required=false
 * 1) Force clients to use texture packs in the current world
 * 2) Allowed values: "true" or "false"

content-log-file-enabled=false
 * 1) Enables logging content errors to a file
 * 2) Allowed values: "true" or "false"

compression-threshold=1
 * 1) Determines the smallest size of raw network payload to compress
 * 2) Allowed values: 0-65535

server-authoritative-movement=server-auth
 * 1) Allowed values: "client-auth", "server-auth"
 * 2) Enables server authoritative movement. If "server-auth", the server will replay local user input on
 * 3) the server and send down corrections when the client's position doesn't match the server's.
 * 4) Corrections will only happen if correct-player-movement is set to true.

player-movement-score-threshold=20
 * 1) The number of incongruent time intervals needed before abnormal behavior is reported.
 * 2) Disabled by server-authoritative-movement.

player-movement-distance-threshold=0.3
 * 1) The difference between server and client positions that needs to be exceeded before abnormal behavior is detected.
 * 2) Disabled by server-authoritative-movement.

player-movement-duration-threshold-in-ms=500
 * 1) The duration of time the server and client positions can be out of sync (as defined by player-movement-distance-threshold)
 * 2) before the abnormal movement score is incremented. This value is defined in milliseconds.
 * 3) Disabled by server-authoritative-movement.

correct-player-movement=false
 * 1) If true, the client position will get corrected to the server position if the movement score exceeds the threshold.

Default as of 1.16.100.04.

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