What is server.properties?

Every Minecraft Java Edition server keeps its settings in server.properties, a text file in the server folder with one key=value line per setting. Editing it by hand works, but a typo there fails quietly: the server just ignores the line or falls back to a default, and you only notice when the game behaves differently.

How to use it

  1. Paste your server.properties or upload it.
  2. Pick the version your server runs, from 1.16 up to the newest release.
  3. Change values in the form. Each change goes into the text right away, while comments, the order of the lines and the lines you didn't touch stay as they were.
  4. To set something your file doesn't have yet, pick it under Add property.
  5. Download the file, put it back in the server folder and restart the server.

The file never leaves your browser, so the RCON password and other secrets in it stay with you.

What it checks

  • Values the server reads differently than you meant: yes instead of true (it counts as false), a comment after a value such as max-players=20 # friends, a space after a value, a number out of range, or a game mode written in capitals.
  • Lines your version ignores: settings that became game rules, settings that were removed or need a newer version, and misspelled keys like whitelist instead of white-list.
  • Keys listed twice (the server reads the last one), RCON turned on without a password, and two services set to the same port.

Lines the selected version doesn't read are listed under Other properties, where you can change or remove them.

Why pvp=false stopped working

Version 1.21.9 moved pvp, allow-nether, spawn-monsters and enable-command-block from server.properties into game rules. Older lines stay in the file but do nothing. The editor tells you the game rule and the command to use instead, for example /gamerule pvp false, typed in the game or in the server console.

Tips

The server rewrites server.properties each time it starts: it puts the keys in its own order, adds missing settings with their defaults and removes comments. Keep notes elsewhere, and stop the server before you replace the file.

If an uploaded file isn't UTF-8, the editor reads it the way the server does and writes characters such as § as §, so the file works on every version.