New customers, monthly billing: your first month is £1 on Starter web hosting (then £2.99/mo) with code FIRST1 · Minecraft 4 GB (then £5.99/mo) with code FIRST1MC.

Minecraft server.properties generator

Pick a preset, adjust the settings in plain English and download a ready-to-use server.properties file for your Minecraft Java Edition server. Free, no sign-up, and it works for servers hosted anywhere.

The generator runs entirely in your browser. Nothing you type is sent to us.

This generator needs JavaScript. Turn on JavaScript in your browser to use the form. The guide below still explains where the file lives, how to replace it safely and which settings matter most.

How to use it

  1. Choose a preset that fits your server, then change anything you like. Pick your server's Minecraft version so the file only holds settings that version reads.
  2. Copy the file or download it.
  3. Stop the server. It only reads server.properties when it starts, and while it runs it can write to the file itself, for example when someone types whitelist on.
  4. Open the server's main folder, the one with the server .jar file and the world folder. Keep a copy of the old server.properties, then replace it with yours, or paste just the lines you changed into it.
  5. Start the server again. It reads the file, fills in any setting that is missing with its default and tidies the file up.
  6. On 1.21.9 or newer, type the game rule commands into the console.

Replacing the whole file resets anything this page does not cover, such as a resource pack or RCON, to its default. If you have set those up, paste your new lines into the existing file instead.

On a THOST Minecraft server you can edit server.properties in place in the control panel's file manager, then restart the server.

What server.properties does

server.properties is a plain text file with one setting per line, written as name=value. Lines starting with # are comments. A Minecraft Java Edition server creates it with default values the first time it starts, and reads it again every time it starts after that.

Three settings decide who can get in, so check them first:

Settings that only affect new worlds

The seed, world type, structures and hardcore are used once, when the world is generated. Changing them later does nothing to a world that already exists. To try a new seed, change level-name to a new name and restart: the server makes a new world and keeps the old one in its own folder.

Settings that became game rules

Java Edition 1.21.9 removed four settings from server.properties and made them game rules, which can be changed while the server runs. Game rules were renamed in 1.21.11, so the name depends on your version.

Old setting (up to 1.21.8)Game rule from 1.21.11Game rule in 1.21.9 and 1.21.10
pvppvppvp
spawn-monstersspawn_monstersspawnMonsters
allow-netherallow_entering_nether_using_portalsallowEnteringNetherUsingPortals
enable-command-blockcommand_blocks_workcommandBlocksEnabled

Set one with gamerule pvp false in the console. The generator writes these commands for you.

Questions

Where is the server.properties file?

In the server's main folder, next to the server .jar file, eula.txt, whitelist.json and the world folder. If it is not there, start the server once and it creates one with the default settings.

Do I need to restart the server after changing it?

Yes. The server only reads server.properties when it starts, so stop it, save the file and start it again. Game rules are different: the gamerule command changes them straight away.

Why are pvp, spawn-monsters, allow-nether and enable-command-block not in my file?

From Java Edition 1.21.9 they are game rules, so a newer server ignores them in server.properties. The generator gives you the gamerule commands to run instead. If your server runs 1.21.8 or older, choose that version and they are written into the file.

Is it safe to turn off online-mode?

Usually not. With online mode off, the server stops checking accounts, so anyone can join under any name, including an operator's. The whitelist only checks names, so it cannot stop them. The normal reason to turn it off is a server behind a proxy such as Velocity or BungeeCord, where the proxy checks accounts instead.

I changed the seed but my world looks the same. Why?

The seed, world type, structures and hardcore are only used when a world is created. Change level-name to a new name and restart, and the server generates a new world with your settings. The old world stays in its own folder, so you can switch back.

Why does my motd have backslashes and \u codes in it?

That is how the file stores special characters. A line break becomes \n, the § colour sign becomes \u00A7 and a colon becomes \:. Minecraft turns them back into the original text when it reads the file, and the server writes the file the same way itself.

Does it work for Paper, Fabric, Forge or Bedrock servers?

Paper, Spigot, Fabric, Forge and NeoForge servers are Java Edition servers and read the same server.properties. Their extra settings live in their own config files. Bedrock Dedicated Server uses a different server.properties with different settings, so this generator is for Java Edition only.

How do I make my server private?

Turn on the whitelist and enforce whitelist, keep online mode on, then add each player from the console with whitelist add PlayerName. The Family preset sets all of this for you.

Rather not run it yourself?

THOST hosts Minecraft servers in the UK from £1.99 a month. For a private, whitelisted world for children, see our Minecraft server for your family page.

More free tools: the Minecraft server status checker shows whether a server is online, and the MOTD maker builds a coloured message of the day to paste into the box above.

Setting names, ranges and defaults checked against Minecraft Java Edition 26.3 in November 2026. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.