Skip to content
Minecraft

Edit the settings in server.properties

Published on 3 October 2026

server.properties holds the basic settings of your Minecraft server, such as the player limit, difficulty and the whitelist. On Java, the easiest way to change them is under Configs in the game panel. They take effect after a restart.

Where is server.properties?

The file sits in your server’s main folder and is created on the first start, so start your server once before you go looking.

How do you edit server.properties?

  1. Go to Configs, under the Minecraft heading, and pick server.properties at the top.
  2. Find the setting with the search box. Names are shown in capitals, such as MAX-PLAYERS.
  3. On/off settings have a switch and save straight away. Type other values and save them with Save.
  4. Restart your server.

Prefer the file itself? Open server.properties in File managers, change the line and click Save content.

What do the main settings do?

Commonly used settings in server.properties (Java)
SettingDefaultWhat it does
motdA Minecraft ServerThe text under your server in the server list.
max-players20How many players can be on at once.
difficultyeasyPeaceful, easy, normal or hard.
gamemodesurvivalThe game mode for new players.
white-listtrueOnly whitelisted players can join.
view-distance10How far players can see, in chunks.
simulation-distance10How far around players the world keeps running.
spawn-protection16The protected area around spawn.
online-modetrueChecks that players have a genuine account.

How do you turn off PvP?

Since Minecraft 1.21.9, PvP is no longer in server.properties: it’s a game rule now. Type gamerule pvp false in the console to stop players hurting each other, and gamerule pvp true to switch it back on.

Which view distance should you pick?

A lower view-distance and simulation-distance saves memory and processing. If your server struggles with lots of players, try 8 or 6, and measure the effect with Spark.

And on Bedrock?

Bedrock has no Configs page. Open server.properties in File managers, edit it and restart. Change the server name, game mode, difficulty and cheats under Startup instead: the game panel resets those to the Startup values on every start.

What are the common mistakes?

  • Editing server-port or server-ip. The game panel sets these for your server on every start, so your change simply disappears.
  • Turning off online-mode. Then anyone can log in under any name, including yours.
  • Setting a seed for an existing world. level-seed only works for a new world; see Reset your Minecraft server.

Frequently asked questions

Why isn’t my change working?

Restart your server; it only reads server.properties on startup. On Bedrock, a few settings live under Startup, or the game panel puts them back.

How many players can I allow?

You choose the number with max-players. Your plan’s memory decides what runs smoothly; the server size calculator gives an estimate.

How do I add colours to my server list text?

Use motd. Under MOTD in the game panel you see the result straight away, and our MOTD maker builds the colour codes for you.

How do I turn on the whitelist or add players?

More questions? See all frequently asked questions

Related articles