-20% Code FIRSTSERVER takes 20% off your first invoice
Gamehost

server.properties explained

The most useful settings in server.properties: player limit, game mode, difficulty, PvP, view distance and more, and how to change them in the panel.

Last updated: ·2 min read

server.properties is the main settings file of a Minecraft Java server. You do not need to open it by hand: the Server settings tab shows every option with a description and a search box.

How to change a setting

Stop the server, open Server settings, find the option and save. Start the server again: Minecraft reads the file only at start, so a change made while it runs takes effect after the next restart. The server also rewrites the file when it stops, which can undo a change made while it was running, so it is safest to edit while it is off.

The settings people change most

SettingWhat it does
motdThe text under the server name in the multiplayer list. Supports colour codes with §.
max-playersMaximum players online at once.
hide-online-playersHides the list of online players in the server list.
gamemodeDefault game mode for new players: survival, creative, adventure or spectator.
force-gamemodePuts every player back in the default game mode when they join.
difficultypeaceful, easy, normal or hard.
hardcoreHardcore: hard difficulty and death means spectator mode.
pvpWhether players can hurt each other.
allow-flightLets players fly in survival without being kicked. Turn it on if you use plugins or mods with jetpacks or gliding.
spawn-protectionRadius in blocks around spawn that only operators can build in. 0 turns it off.
enable-command-blockAllows command blocks.
white-listLets only players on the whitelist join.
online-modeChecks accounts with Mojang. Leave it true unless you know you need cracked accounts, because false lets anyone join under any name.
view-distanceHow many chunks around each player the server sends. Lower values ease load on big servers.
level-nameName of the world folder. Changing it makes the server load or create a different world.
level-seedSeed for a new world. Only used when the world is generated, so it does nothing for an existing world.

Server icon

The icon in the server list is not in server.properties. Upload a 64×64 PNG file named server-icon.png to the main server folder in Files and restart.

Common mistake

Changing level-seed on a running world does nothing. To use a new seed you need a new world: change the seed, then change level-name or delete the old world folder, and start the server.

Still stuck?Write to us on Discord or in the Help centre in your panel. Ask on Discord