Guides / server.properties
Minecraft server.properties explained
What server.properties is, where to find it, and the settings that matter most, in plain English.
Updated
server.properties is the main settings file for a Minecraft Java Edition server. It's a plain text file in your server folder, with one setting per line as key=value.
Where to find it
It's created the first time the server starts, next to the server jar. On a panel like Pterodactyl, it's in the file manager's root folder.
How to edit it
- Stop the server. The server can overwrite changes made while it's running.
- Open
server.propertiesin a text editor. - Change the values and save.
- Start the server again.
Or use the server.properties generator: paste your current file, change settings with plain-English explanations, and download the result.
The settings that matter most
Performance
view-distance: how many chunks players see. The biggest factor in performance.simulation-distance: how many chunks have mobs and redstone running. See view distance vs simulation distance.
Who can join
white-listandenforce-whitelist: invite-only. See how to whitelist a server.online-mode: account checking. Leave it on. See online-mode explained.max-players: the most players online at once.
Gameplay
gamemode,difficulty,hardcoreandpvpspawn-protection: see spawn protection explained.
Display
motd: the text under your server's name. See MOTD colours.
Special characters
The file uses Java's properties format, so colons, equals signs and colour codes need escaping: minecraft:normal is written minecraft\:normal. The generator handles this for you.