Configure server.properties (Minecraft Java)
The main Minecraft server settings: displayed name, players, difficulty, PvP, distances.
The server.properties file, at the root of the server, holds the main settings. It is created on first start.
- Stop the server
The server may rewrite the file when it stops.
- Open the file
Files →
server.properties. - Edit the values
One line = one setting, in the format
key=value. - Save and start
Save Content, then start the server.
| Key | What it does | Example |
|---|---|---|
motd |
Message shown in the server list | motd=Survival with friends |
max-players |
Maximum number of players | max-players=20 |
difficulty |
peaceful, easy, normal, hard | difficulty=normal |
gamemode |
Default mode: survival, creative, adventure, spectator | gamemode=survival |
pvp |
Player-versus-player combat | pvp=true |
view-distance |
View distance sent to players, in chunks of 16 blocks | view-distance=8 |
simulation-distance |
Distance at which the world “lives” around players | simulation-distance=6 |
white-list |
Whitelist | white-list=true |
spawn-protection |
Protected radius around the spawn point | spawn-protection=0 |
level-name |
Name of the world folder | level-name=world |
level-seed |
Seed used to generate a new world | level-seed=12345 |
Do not change server-port or server-ip: they are managed by the panel. A wrong port prevents any connection.
Lowering view-distance and simulation-distance is the most effective setting against lag.
Need a hand?
The Koinswift team answers 7 days a week, by ticket from your client area or on Discord.
