Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

How to Edit Minecraft server.properties Safely

Edit server.properties on a Java server safely: stop it, save a copy, change only the needed value, and verify the restart.


Edit the file server.properties only when the Java server is stopped, and save a private copy first. The file consists of individual lines in the format schluessel=wert. Change only the entry you actually need, then restart the server cleanly. This procedure applies to Minecraft Java Edition; Bedrock servers and modified servers may use different settings or values.

Identify the Correct File

The file is in the server's working directory. On Paper, server.properties is part of the central server configuration, but the startup command may specify a different path for it. Open the folder for the right server and compare the file with the PaperMC configuration reference. If several instances have similar names, first check which version and server software you actually start. A change in another folder has no effect on the active server.

Change Settings Safely

  1. Tell the other players and stop the server normally. Wait until the management interface shows the status as stopped. Do not edit the file while the world is running.
  2. Save the current state. Download server.properties or copy it to a private folder with the date. For a single setting, this gives you a straightforward way to restore the previous value. If you are also replacing world files or migrating a world, you need a complete, successful backup and a separate test copy; see Create a Minecraft server backup.
  3. Open the file as plain text. Use a text editor or your provider's file manager. A spreadsheet is not suitable. Keep existing comment lines and change only the value after the matching =. Use the exact existing name to its left.
  4. Save with the same filename. Make sure the editor does not silently turn it into server.properties.txt. Avoid duplicate lines with the same key; edit the existing entry instead.
  5. Start the server normally and check the result. First check the startup status, then verify the one setting you changed in the game or server list.

Check values where they are visible: refresh the server list and compare the displayed limit for max-players, for example 2/12. The new MOTD should appear there too. A changed difficulty affects everyone who joins the world; agree on it beforehand and check it in-game. If a value is not right, stop the server and restore it from your saved copy.

Three Straightforward Examples

The PaperMC reference for server.properties describes, among other entries:

  • motd is the text shown in the server list. A simple example is motd=Survival mit Freunden. After restarting, check whether the new text appears in the server list.
  • difficulty sets the difficulty. For Paper, peaceful, easy, normal, and hard are valid values. Check the spelling carefully and test the change in the world.
  • max-players sets the maximum number of players online at the same time, for example max-players=12. This is a limit, not a promise that a server or plan will reach that number under every load.

Values related to connections, authentication, or the selected world are not casual test fields. Change online-mode, server-ip, server-port, level-name, or RCON settings only when you understand the specific consequence and have the relevant instructions. The file may also contain credentials, such as an RCON password. Never share the complete file in a public forum or chat.

If you want to change view distance or simulation distance, use the relevant guide to Minecraft view distance and simulation distance. The two values affect which world information clients receive and which entities are updated, respectively; lowering either at random is not a general lag fix.

If the Old Value Appears Again

First check whether you changed the file for the right instance and actually saved it. Then check the key for a typo or a second entry. On Paper, suitable startup arguments can override values in server.properties; the PaperMC CLI reference describes this precedence. For example, a matching startup argument may be used for max-players. Do not change other network settings as a precaution.

If the server does not start after the edit, stop it and compare the changed line with your saved copy. Restore only the previous file or the relevant value while the server is stopped. For a startup error, see Minecraft server won't start. This keeps troubleshooting focused on the configuration instead of needlessly touching world files.

Did this guide help? We are happy to help personally.