server.properties is the main settings file for every Minecraft Java server. It is in your server's main (root) folder.

How to edit it

  1. Stop the server. If you edit while it's running, the server can overwrite your changes when it stops.
  2. Open the panel's file manager and click server.properties. You can also edit it over SFTP.
  3. Change the values you need. Keep the format setting=value, with no spaces around the =.
  4. Save the file, then start the server.

The settings people change most

SettingDefaultWhat it does
motdA Minecraft ServerThe message under your server name in the server list
max-players20How many players can be online at once
gamemodesurvivalDefault game mode: survival, creative, adventure or spectator
force-gamemodefalseIf true, players are put in the default game mode every time they join
difficultyeasypeaceful, easy, normal or hard
hardcorefalseOne life only. Set this before the world is created
white-listfalseOnly players on the whitelist can join
level-nameworldThe name of the world folder the server loads
level-seed(blank)The seed for new worlds. Blank means random
view-distance10How far (in chunks) players can see
simulation-distance10How far (in chunks) mobs, crops and redstone keep working
spawn-protection16Radius around spawn where only ops can build. 0 turns it off
enable-command-blockfalseOlder releases only; see command blocks for the game rules used since 1.21.9
online-modetrueChecks that players own Minecraft. Keep this true
allow-flightfalseStops the anti-cheat kicking players who fly with mods or plugins
server-portSet by the panelDo not change. The panel assigns this

Settings that moved. On newer Minecraft versions some settings, like PvP, moved from server.properties to game rules. If a setting from an old guide doesn't seem to work, check the game rules with /gamerule in the console.

Typos break things quietly. A misspelled value is usually ignored, and the server uses the default. If a change doesn't seem to work, check the spelling and restart.