The most important settings in server.properties

Server configuration · updated 28 November 2026

server.properties is the main settings file of a Minecraft server. You will find it in the Files tab, in the main folder.

How to edit it

  1. Stop the server.
  2. In the Files tab click server.properties.
  3. Change the value after the = sign, for example max-players=50.
  4. Click Save content and start the server.

The options people change most often

  • motd - the description in the server list, more in the guide on the MOTD,
  • max-players - the maximum number of players online (player slots),
  • online-mode - true lets in only players who own the game, false lets in everyone (offline mode),
  • white-list - true lets in only players on the whitelist,
  • difficulty - peaceful, easy, normal or hard (difficulty and game mode),
  • gamemode - the game mode for new players: survival, creative, adventure, spectator,
  • hardcore - true turns on hardcore mode,
  • pvp - false turns off player versus player combat,
  • level-seed - the seed for a new world (world seed),
  • level-name - the name of the world folder, world by default,
  • view-distance - how many chunks players can see (lower means less load),
  • simulation-distance - how far from players the world is "alive",
  • spawn-protection - the radius of spawn protection in blocks, 0 turns it off,
  • allow-nether - false turns off the Nether (Nether and End),
  • enable-command-block - true turns on command blocks.

You can also set a server resource pack in this file: resource pack.

Warning: do not change server-port or server-ip. The panel sets them for you, and a wrong value means nobody can join.

Frequently asked questions

I changed a setting and nothing happened.

Most likely you edited the file while the server was running, and the server overwrote it. Stop the server, change the value again and save. Some options, such as level-seed, only apply when a new world is created.

Can I delete server.properties?

Yes, the server creates a new one with default settings. You lose all your changes though, so it is better to fix single lines.