In the server list
server.properties
motd=\u00A76My Server \u00A78| \u00A7aOnline server-port=25565 max-players=20 gamemode=survival difficulty=normal view-distance=10 simulation-distance=10 pvp=true white-list=false enforce-whitelist=false online-mode=true enable-command-block=false allow-flight=false
How to use it in three steps
Step by step, with this page's example.
- 01
Set the game mode, difficulty, limits and MOTD.
- 02
Check the server list preview.
- 03
Download the file or copy it into the server folder.
Survival, normal difficulty, 20 players, whitelist on, a coloured MOTD
motd=\u00A76My Server \u00A78| \u00A7aOnline
server-port=25565
max-players=20
gamemode=survival
difficulty=normal
view-distance=10
simulation-distance=10
pvp=true
white-list=true
enforce-whitelist=true
online-mode=true
enable-command-block=false
allow-flight=false Questions
- What is server.properties?
- It is the configuration file of a Minecraft Java server, in the server folder. It sets the port, player limit, game mode, difficulty and MOTD, among others, and changes apply after a restart.
- Where is server.properties and how do I edit it?
- In the server folder, next to the jar file. Open it in a text editor, or download the file from the tool and replace the one in that folder, then restart the server.
- What does online-mode=false do and is it safe?
- It turns off account checks with Mojang, so anyone can join under any name, including someone else's. It is not safe unless the server sits behind a proxy such as Velocity or BungeeCord that checks accounts itself.
- Do changes apply without a restart?
- No. The server reads server.properties at start, so it needs a restart after a change.
- What does view-distance do?
- It sets how many chunks around a player the server sends. Higher means a longer view, but also more memory and CPU.