Get started

Free trial Try any game free for 3 days. No card needed. Start a free trial Start a free trial

Game servers

All games

Guides / Minecraft / server.properties

Edit server.properties on your Minecraft server

The Config Editor shows every server.properties setting as a labelled field. Change one, save, restart. Here are the settings people change most.

Updated , checked on Minecraft Java 26.3

server.properties is the plain text file where a Java server keeps its main settings: the message under the server name, how many players fit, the difficulty, the game mode and more. The Config Editor in the ArthOS panel shows each setting as a labelled field, so you never edit the file by hand. Every change takes effect after a restart.

In the ArthOS panel

  1. Open your Minecraft server and choose Config Editor in the tab row.
  2. The server.properties settings are grouped as Server list, Players, World, Performance, Resource pack, Chat, Remote access, Management service and Network. Use the Search… box to find one by name.
  3. Change a value. Each field names the setting, shows the key in small type under it (for example max-players) and says what it does. A small Changed tag marks fields you edited, and Unsaved changes counts them.
  4. Choose Save. To throw your edits away, choose Discard.
  5. The panel says Saved. Restart the server to apply the changes. Choose Restart now, or restart later. If the server is stopped it says the changes apply when the server starts.
The Config Editor on a Minecraft server, showing server.properties with its search box, Save button and restart banner
  1. Search for a setting
  2. Save
  3. Restart banner

The banner under the buttons reads “Saved changes apply after a restart.”

Settings most servers never touch are tucked into an Advanced group with a Show them button. If you want to see the raw file, choose Edit the whole file as text.

Three keys show a note instead of a field: server-ip, server-port and query.port. The panel writes them on every start so players can reach the server, so they cannot be changed here.

By hand

Open Files, then server.properties. Each line is key=value. Lines that start with # are comments. Save the file and restart the server. The game reads the file when it starts, so a change made while the server runs does nothing until then.

At every start the game rewrites the file: a missing key is added with its default, and a value the game cannot read is replaced by the default.

The settings people change most

KeyWhat it doesDefault
motdThe message under the server name in the multiplayer listA Minecraft Server
max-playersHow many players can be online at once20
difficultypeaceful, easy, normal or hardeasy
gamemodeThe game mode new players start insurvival
white-listOnly listed players can jointrue
online-modeCheck every player against Minecraft accountstrue
view-distanceChunks sent around each player10
simulation-distanceChunks around each player that keep running10
spawn-protectionBlocks around spawn only operators can change, 0 turns it off16
hardcoreOne life: a player who dies becomes a spectatorfalse
allow-flightStop kicking players the server thinks are flying, for mods that allow flightfalse

Defaults are what a new Java 26.3 file contains. Two settings do nothing for a world that already exists: level-seed and level-type only matter when a new world is generated.

Lowering view-distance and simulation-distance is the first thing to try on a server that lags.

Keep Check Minecraft accounts (online-mode) on. With it off, anyone can join under any name.

If it does not work

  • The change has not happened. The server has not restarted since you saved. Restart it.
  • A value went back to the default. The game replaced a value it could not read. The Config Editor checks numbers and choices before it saves, so this mostly happens when editing by hand. Fix the value and restart.
  • A setting keeps resetting after restarts. Something else is writing it. On a server with a world-management plugin see why difficulty resets.
  • It says the file does not exist yet. The game creates server.properties the first time the server starts. Start it once.
  • It cannot be edited. The fields are read only when you do not have the permission to change files, or while the server is starting or stopping.

Hosting a Java server? See Minecraft on Loafhosts.

Sources: minecraft.wiki: Server.properties

Minecraft serversAll Minecraft guides