The most important settings in server.properties
server.properties is the main settings file of a Minecraft server. You will find it in the Files tab, in the main folder.
How to edit it
- Stop the server.
- In the Files tab click
server.properties. - Change the value after the
=sign, for examplemax-players=50. - Click Save content and start the server.
The options people change most often
motd- the description in the server list, more in the guide on the MOTD,max-players- the maximum number of players online (player slots),online-mode-truelets in only players who own the game,falselets in everyone (offline mode),white-list-truelets in only players on the whitelist,difficulty-peaceful,easy,normalorhard(difficulty and game mode),gamemode- the game mode for new players:survival,creative,adventure,spectator,hardcore-trueturns on hardcore mode,pvp-falseturns off player versus player combat,level-seed- the seed for a new world (world seed),level-name- the name of the world folder,worldby default,view-distance- how many chunks players can see (lower means less load),simulation-distance- how far from players the world is "alive",spawn-protection- the radius of spawn protection in blocks,0turns it off,allow-nether-falseturns off the Nether (Nether and End),enable-command-block-trueturns on command blocks.
You can also set a server resource pack in this file: resource pack.
Warning: do not change
server-port or server-ip. The panel sets them for you, and a wrong value means nobody can join.Frequently asked questions
I changed a setting and nothing happened.
Most likely you edited the file while the server was running, and the server overwrote it. Stop the server, change the value again and save. Some options, such as level-seed, only apply when a new world is created.
Can I delete server.properties?
Yes, the server creates a new one with default settings. You lose all your changes though, so it is better to fix single lines.
Pepe