server.properties Generator
Build a server.properties file for a vanilla Minecraft: Java Edition server. Every setting starts at its default and has a short explanation.
Start from
A preset replaces all current settings with the defaults plus a few changes.
server.properties
About this file
- Vanilla Java Edition 26.3. The settings, defaults and limits match the official 26.3 server. Since 26.3 the whitelist is on by default, so a new server only lets in players on its whitelist and operators. Paper, Spigot and other server software add their own settings in separate files, which aren’t included here.
- Where it goes. Save it as
server.propertiesin the server folder and restart the server. Settings that aren’t in the file are filled in with their defaults when the server starts, and the server rewrites the file in its own order. - World settings such as the seed, world type and structures only apply when a new world is generated.
- Moved to game rules. Since 1.21.9, PvP, the Nether, command blocks and monster spawning are game rules rather than server.properties settings. Change them in game with
/gamerule. - Special characters such as
:,=,§and other non-English characters are escaped the way the server writes them, so the file stays valid.
Everything here runs in your browser. Nothing you enter, including passwords, is sent anywhere or saved.
Common questions
Where are the pvp, allow-nether and spawn-monsters settings?
They were removed from server.properties in Java Edition 1.21.9 and are now game rules, such as /gamerule pvp false.
Why is the whitelist on in the default file?
Since Java Edition 26.3, white-list=true is the default for new servers. Turn it off if anyone should be able to join.
Do I need to restart the server after changing the file?
Yes. The server reads server.properties when it starts.
Can I use this file with Paper or Spigot?
Yes. They read the same server.properties. Their extra settings live in their own configuration files, which this generator doesn’t create.