Minecraft server.properties Generator
Change the settings you care about and download a complete server.properties file for your Java Edition server. Hover or tap the ⓘ next to a setting to see what it does.
Players & game (13)
World (8)
Performance (9)
Network (9)
Resource pack (5)
Admin, RCON & query (10)
Chat (6)
Management API (advanced) (9)
What is server.properties?
server.properties is the main settings file of a Minecraft Java Edition server. It sits in the server’s main folder next to the jar and is created the first time the server starts. Each line is one setting, written as key=value. The server reads it only when it starts, so restart after you change it.
This generator lists every setting of a current Java Edition server (26.x), grouped so you can find the ones you need. The starting values are the ones a fresh 26.3 server writes. Change what you want, then download the file and upload it to your server, replacing the old one. On a hosted server, you can also paste the settings into the panel’s config editor.
The settings most people change
| Setting | Why change it |
|---|---|
motd | Your message in the server list. Design a colored one with the MOTD generator. |
white-list | Keep strangers out of a private server. Add friends with /whitelist add <name>. New servers on 26.3 and later have it switched on by default, so turn it off for a public server. |
difficulty, gamemode, hardcore | Set how the game plays for everyone. |
view-distance, simulation-distance | The two biggest levers for lag and RAM. 6–8 is a good balance on busy servers. |
max-players | Limit how many can join, to match your plan’s RAM. See the RAM calculator. |
level-seed, level-type | Choose the world before it’s generated. They don’t change an existing world. |
spawn-protection | Set to 0 if you want everyone to be able to build at spawn. |
Settings that moved to game rules
Older guides mention pvp, spawn-monsters, allow-nether and enable-command-block. Recent versions moved these to game rules, so they’re no longer in the file. Change them in game with /gamerule, or with the equivalent setting in your server software.
Safety tips
- Keep
online-mode=trueunless your server sits behind a proxy that checks accounts. With it off, anyone can join with any name, including yours. - If you switch on RCON, use a long random password and don’t open its port to the internet unless you have to.
- Back up
server.propertiesand your world before changing world settings.