Skip to content
Puranode

Guide

Minecraft server.properties Not Applying: Fixes

Minecraft only reads server.properties when the server starts, so every edit needs a full restart. If a change still does nothing after that, it is almost always one of four things: the key only applies when a world is first created, gamemode only sets the default for new players unless force-gamemode is on, the key was turned into a game rule in Java 1.21.9, or a typo made the server replace your value with the default. This guide walks through each one and how to check what the server actually loaded.

Published

On this page

FAQ

Frequently asked

Do I need to restart a Minecraft server after editing server.properties?

Yes. The Minecraft Wiki states that the server must be restarted for changes to the file to take effect. Stop the server, edit and save the file, then start it again.

Why did my comments in server.properties disappear?

The server regenerates the file every time it starts. It keeps the values, fills in missing or invalid keys with defaults, and drops comment lines when it writes the file back.

I changed gamemode to creative but players are still in survival. Why?

gamemode is only the default for players joining for the first time. Players who were already on the server keep their mode unless force-gamemode is true, which switches everyone to the default when they join.

Why does changing level-seed do nothing?

The seed is only used when a world is generated. If a world already exists at the folder named by level-name, the server loads it. Change level-name to a fresh folder name, or move the old world aside, to generate a world with the new seed.

Where did pvp go in server.properties?

In Java 1.21.9 the pvp key was replaced by a game rule of the same name. Set it in game or in the console with gamerule pvp false. allow-nether, enable-command-block and spawn-monsters became game rules at the same time.

How much does a Minecraft server cost at Puranode?

4 GB for €10.99 every 30 days, VAT included, no setup fee, no minimum term.

Projects referenced

This guide names other people’s work. These are their own pages, so you get the current documentation rather than our summary of it.

Want a Minecraft server without the setup?

4 GB for €10.99/30 days, VAT included. Online within a few minutes.