Minecraft server.properties Explained
Minecraft server settings explained: all important server.properties options with default values, recommendations and the changes in version 26.x.
Quick answer: Your server settings live in the server.properties file in your server's root folder. Stop the server, change the value, save, start the server – changes only apply after a restart.
server.properties is the central configuration file of every Minecraft Java server – whether Vanilla, Paper, Purpur, Fabric or Forge. This is where you set the player limit, difficulty, game mode, view distance, whitelist and much more. This guide explains the most important entries along with their default values.
Version: Minecraft Java Edition 26.3 (September 2026). Since 2026 Mojang uses year-based version numbers (26.1, 26.2, 26.3 …).
Open and edit the file
- Stop the server in the gameserver panel.
- Open
server.propertiesin the root folder using the file manager (or SFTP). - Change values – the format is always
key=value, without spaces around the=. - Save and start the server.
The file is created automatically on first start. Some things can also be changed while the server is running using commands, e.g. /difficulty, /whitelist on or /gamerule – more in Minecraft commands.
Important: changes since 1.21.9
Some well-known entries no longer exist in server.properties in current versions. They became game rules:
pvp→ game rulepvp, e.g./gamerule pvp falseallow-nether→ game ruleallow_entering_nether_using_portalsenable-command-block→ game rulecommand_blocks_workspawn-monsters→ game rulespawn_monsters
spawn-animals and spawn-npcs were already removed in 1.21.2. If your server runs an older version, you will still find the old entries in the file. Game rule names partly differ in older versions.
New in 26.3: white-list defaults to true on newly created servers. If your friends can't join, add them with /whitelist add PlayerName or set white-list=false. Existing files keep their value.
Server & connection
motd=A Minecraft Server– text shown in the server list. More than 59 characters may cause problems.max-players=20– maximum number of playersserver-port=25565– server port. At NexoraHost the panel assigns the port – don't change it, otherwise the server becomes unreachable.online-mode=true– checks that players own a genuine Minecraft account. Always keep ittrue. The only exception: backend servers behind a proxy like Velocity.enforce-secure-profile=true– players need a Mojang-signed key (chat signing)player-idle-timeout=0– minutes until idle players are kicked,0= neverpause-when-empty-seconds=60– the server pauses when nobody has been online for this many seconds. Negative value = never pause.
Whitelist & permissions
white-list=true– only players on the whitelist may join (ops are allowed automatically), see Whitelistenforce-whitelist=false– iftrue, players not on the list are kicked when the whitelist is reloadedop-permission-level=4– which permission level/opgrants (4 = all commands), see Give OPspawn-protection=16– protected area around spawn where only ops can build.0disables it. It is also inactive if there are no ops on the server.
World & game mode
level-name=world– name of the world folderlevel-seed=– world seed, empty = random. Only applies when a new world is created.level-type=minecraft:normal– world type, e.g.minecraft:flatorminecraft:large_biomesgenerate-structures=true– generate villages, temples etc.difficulty=easy–peaceful,easy,normalorhardgamemode=survival– default game modeforce-gamemode=false– always put players into the default game mode when they joinhardcore=false– hardcore mode for newly created worldsallow-flight=false– allow flying in survival. Set totrueif mods or plugins enable flying, otherwise players get kicked.max-world-size=29999984– radius of the maximum world border
Performance
view-distance=10– view distance in chunks the server sends to playerssimulation-distance=10– chunk radius in which mobs, redstone and crops are activeentity-broadcast-range-percentage=100– how far entities are sent to players (10–1000 %)network-compression-threshold=256– packet size from which compression is usedsync-chunk-writes=true– save chunks synchronously (safer in case of crashes)max-tick-time=60000– after this many milliseconds without a tick the watchdog stops the server,-1= off
Remote access & resource pack
enable-rcon=false,rcon.port=25575,rcon.password=– remote console. RCON is unencrypted and only starts with a password. For most servers the console in the panel is enough.enable-query=false,query.port=25565– query server info via UDP (e.g. for server lists)resource-pack=– download link to a resource packrequire-resource-pack=false– players who decline the pack are disconnected
Recommended values
- Small server with friends:
white-list=true,difficulty=normal,view-distance=10,simulation-distance=8 - Public server with many players:
view-distance=8,simulation-distance=6,spawn-protectionas needed, permissions via LuckPerms - Server lags: lower
simulation-distanceandview-distancefirst – more in Improve performance
Paper and Purpur also have their own config files (bukkit.yml, spigot.yml and the config/ folder). Tips: Optimize Paper TPS.
Common issues
A change has no effect
- Did you really restart the server after saving?
- Typo in the key or spaces around the
=? - Does the entry exist in your version at all? (see "Changes since 1.21.9")
Friends can't join
- Is the whitelist active?
/whitelist add PlayerName– especially on new servers from 26.3 on - Other causes: Server won't start / connection timed out
A new seed is not applied
level-seedonly applies to new worlds. Changelevel-nameor delete the old world folder (after a backup).
Conclusion
server.properties controls the basics of your Minecraft server. Keep online-mode enabled, don't change the port, adjust view and simulation distance to your player count – and remember that PvP, the Nether and command blocks are controlled by game rules in recent versions.
Last checked: November 2026, Minecraft Java 26.3. Source: Minecraft Wiki – server.properties and Mojang changelogs.
Related guides
Rent your own server: Minecraft server at NexoraHost