server.properties explained: set up your Minecraft server
Almost everything that makes your server yours sits in one text file: the line in the server list, the difficulty, the player count, the view distance. Here is how to change it on Plurra, which lines are worth it and which you should leave alone.
How to change the file
-
Open Files
In the dashboard, open the Files tab. server.properties sits right in the main folder.
-
Edit and save
Click the file and it opens in the editor. Change the value after the equals sign, no spaces around it, then Save.
-
Restart
The server only reads the file at startup. Press Restart once and the change applies.
The entries worth changing
- motd: the text under your server name in the multiplayer list. A short line is enough,
\nin between makes it two lines. - max-players: how many can be on at once, 20 by default. With 2 GB of RAM, eight to ten people is realistic. More slots don’t make the server stronger.
- difficulty:
peaceful,easy,normalorhard. - gamemode:
survival,creative,adventureorspectator. Applies to players joining for the first time. Anyone who has been there keeps their mode, unless force-gamemode istrue. - hardcore:
truemeans whoever dies can only spectate. Difficulty is then locked to hard. - spawn-protection: radius in blocks around spawn where only operators can build, 16 by default. Only applies if there is at least one operator. Set it to
0if everyone should build at spawn. - allow-flight: on
false, the server kicks players who hang in the air too long. Set it totrueif plugins or mods allow flying. - white-list and enforce-whitelist: only listed players get in. Easier through the console, see Whitelist and OP.
View distance: the biggest lever
view-distance sets how many chunks the server keeps ready around each player. simulation-distance (from 1.18) says in how many of them things actually happen: crops grow, mobs move, redstone fires. Both default to 10.
The number is a radius, the work grows with the area. At 10 that is 21 by 21, so 441 chunks around one player, at 6 only 13 by 13, so 169. If a 2 GB server lags, this is the first place to look: try view-distance 6 to 8 and simulation-distance 4 to 6. Explorers notice the difference, builders and farmers hardly do.
Hands off
- server-port and server-ip: Plurra sets both at every start. Whatever you enter is overwritten on the next start, and your address under play.plurra.de finds the port on its own anyway.
- online-mode stays
true. It makes the server check that everyone has a real Minecraft account. Servers without that check are forbidden by § 9 of our terms. For friends on phones or consoles there is crossplay. - enable-rcon: RCON would need its own port, which a Plurra server doesn’t have. You enter commands in the dashboard console.
- level-name stays
world. The Download world button and the version switch work with the folders world, world_nether and world_the_end. - level-seed only applies when a world is created. For a new world with a seed: stop the server, enter the seed, delete the three world folders, start. Back up or download first.
When the file gets reset
Two buttons under Settings rewrite the configuration. Reinstall overwrites all configuration files and keeps the world. Switch software and version also reinstalls and deletes the world too. Copy your changed lines somewhere first.
The file also changes with the Minecraft version. Mojang keeps moving switches out of server.properties into game rules, PvP for example. If an entry isn’t in your file, it is a game rule in your version, which you set with gamerule in the console.
Questions
- Why does nothing change after saving?
- The server only reads server.properties at startup. Save, then restart.
- Can I change the port?
- No, and you don’t need to. Plurra sets it at every start, and the address under play.plurra.de finds it by itself.
- Can I set online-mode to false?
- No. Servers without account checks are forbidden by § 9 of the terms. Bring Bedrock players in through crossplay.
- What should I set max-players to?
- As many as actually play at the same time. With 2 GB of RAM, eight to ten is realistic.
Set up your server.
Create a server, open the file, change the motd. It costs nothing.
Start a server