On this page
- Find server.properties and apply changes
- Check who can join: online-mode and the whitelist
- Understand the port, server message and world name
- Choose view-distance and simulation-distance separately
- Set the spawn-protection radius
- Find PvP and other settings that moved to game rules
- Review remote access before enabling it
- Check Paper's reference before copying advanced settings
Key takeaways
6- Edit server.properties in the server's working directory, then restart to apply file changes.
- Java 26.3 defaults white-list to true; check the actual value in your file.
- View distance controls viewing range, while simulation distance controls entity updates.
- Spawn protection uses a radius: 16 describes a 33 by 33 square.
- Use the pvp game rule instead of adding the removed pvp property.
- Keep RCON disabled unless you need network access to the server console.
This guide is for Minecraft Java 26.3 server owners who want to understand their settings before changing them. You will learn where to edit server.properties, which values control everyday server behaviour, and where to find options that moved to game rules.
Find server.properties and apply changes
server.properties lives in the server's working directory. It uses plain key=value lines, while lines beginning with # are comments. Changes to this file take effect after a server restart.
On Paper, this file sits alongside additional server configuration files.
If you are unsure whether an option belongs here or in another file, our guide to Paper configuration files and overrides explains that distinction.
- Stop the server through its running console.
- From your shell, open
server.propertiesin the server's working directory with your text editor. - Save a copy of the original file, then change the required values.
- Save the edited file and start the server using your normal startup method.
- Stop the server using the panel's power controls.
- Open the File Manager and find
server.propertiesin the server's main directory. - Download a copy, edit the required values and save the file.
- Start the server using the panel's power controls. If a setting is locked by your host, ask the host to change it.
- Stop the server using its panel controls.
- Open Files / FTP and find
server.propertiesin the server's main directory. - Keep a copy of the original, edit the required values and save it.
- Start the server through the panel. Ask your host about settings you cannot edit.
Here are three independent settings you may encounter. The distances shown are documented defaults, rather than a performance recommendation:
white-list=true
view-distance=10
simulation-distance=10Check who can join: online-mode and the whitelist
online-mode=true makes the server check connecting players against Mojang's account database. The server needs an internet connection for that check.
The whitelist is a separate access control. white-list=true enables use of the whitelist file, while enforce-whitelist controls whether players outside that list are kicked after the whitelist is reloaded.
| Property | Documented default | What it controls |
|---|---|---|
online-mode | true | Account authentication for connecting players. |
white-list | true in Java 26.3 | Whether the whitelist is enabled. |
enforce-whitelist | false | Whether a whitelist reload kicks players who are not listed. |
max-players | 20 | The configured player limit. |
For a public server, decide deliberately whether joining should require approval. For a private server, review the whitelist alongside operator access using our server access and security guide.
Understand the port, server message and world name
These settings identify the server and the world it uses. Keep them separate from gameplay controls such as difficulty and game mode.
| Property | Documented default | Purpose |
|---|---|---|
server-port | 25565 | The server's listening port. |
motd | A Minecraft Server | The server message shown in the multiplayer server list. |
level-name | world | The world name used by the server. |
gamemode | survival | The default game mode. |
difficulty | easy | The configured difficulty. |
When reviewing an existing server, record its current port and world name before making changes. Treat changing the world name as a separate task from adjusting its message or difficulty, so your restart has a clear purpose.
Choose view-distance and simulation-distance separately
view-distance controls the viewing distance in chunks. Its documented range is 3 to 32, with a default of 10. simulation-distance controls the distance within which entities are updated, also with a documented default of 10.
| Setting | What it changes | Question to ask |
|---|---|---|
view-distance | The viewing distance in chunks. | How far should players be able to see? |
simulation-distance | The distance within which entities receive updates. | How far around players should entity simulation extend? |
Choose each value for its own purpose. Avoid treating both as a single render-distance control, or assuming their defaults are a target for every server.
For a process that measures the result of distance changes, follow our guide to tuning distances and checking server performance.
Set the spawn-protection radius
spawn-protection uses a radius around the world spawn. Its documented default is 16, and its square has a side length of 2 × radius + 1 blocks.
spawn-protection=0disables this protection.spawn-protection=1protects a 3 by 3 square centred on world spawn.spawn-protection=16describes a 33 by 33 square.
Choose the value from the size of the area you intend to protect. A radius of 16 does not mean a square only 16 blocks across.
Find PvP and other settings that moved to game rules
Several older properties no longer belong in server.properties. The properties allow-nether, enable-command-block, pvp and spawn-monsters were removed in snapshot 25w35a and replaced by game rules. spawn-animals and spawn-npcs were removed earlier, in 1.21.2.
To disable PvP through the current rule, use the following command through your running server's console:
Enter this in the running Minecraft server console, rather than your shell:
gamerule pvp falseOpen the Console and enter:
gamerule pvp falseOpen the server console and enter:
gamerule pvp falseThe in-game form has a leading slash: /gamerule pvp false. Other current rule names include command_blocks_work, allow_entering_nether_using_portals, spawn_monsters and spawn_mobs. Use game-rule tab completion when selecting the rule you need, rather than copying an old camelCase name.
Review remote access before enabling it
enable-rcon defaults to false. RCON provides server console access over the network, so enable it only when you have a specific remote administration requirement.
enable-rconswitches RCON on or off.rcon.passwordneeds to be set when RCON is enabled.rcon.porthas a documented default of25575.enable-queryis a separate property and defaults tofalse.
The management server is another separate facility. Its documented defaults include management-server-enabled=false, management-server-host=localhost and management-server-tls-enabled=true. Leave remote administration features disabled when you do not need them.
Check Paper's reference before copying advanced settings
Paper's server.properties referenceSource site documents behaviour that differs from vanilla.
For example, sync-chunk-writes has no effect on Paper by default unless its matching system property is also enabled. Paper also accepts gzip for region-file-compression, alongside deflate, lz4 and none.
Before applying a settings collection from another server, work through this short check:
- Identify the problem each proposed change is meant to solve.
- Check that the property still exists for your Minecraft version.
- Read Paper's description if you run Paper.
- Apply file changes using the stop, edit and start procedure above.
- Check the intended behaviour before moving to the next change.
Frequently asked questions
Where is server.properties located?
It is in the Minecraft server's working directory. On Pterodactyl, open the File Manager; on Multicraft, use Files / FTP to locate it.
Do I need to restart after editing server.properties?
Yes, changes to server.properties take effect after the server restarts. Save the edited file before starting the server again.
What is the difference between view-distance and simulation-distance?
View distance controls the viewing distance in chunks. Simulation distance controls the distance within which entities are updated. Both have a documented default of 10.
Why does pvp=false no longer work in server.properties?
The pvp property was removed in snapshot 25w35a and replaced by a game rule. On Java 26.3, use /gamerule pvp false in game, or gamerule pvp false in the running server console.
What is the difference between white-list and enforce-whitelist?
White-list enables use of the whitelist file and defaults to true in Java 26.3. Enforce-whitelist controls whether players outside the list are kicked after the whitelist is reloaded. Its documented default is false.