What is server.properties?
server.properties is the plain-text config file that controls almost everything about how your Minecraft Java Edition server behaves — difficulty, gamemode, whitelist, view distance, RCON access and dozens of other settings. It sits in your server's root folder and is only read once, at startup.
Settings worth double-checking
- online-mode — leave this
trueunless you specifically run an offline/cracked server. Turning it off on a public server lets anyone connect with any username. - view-distance and simulation-distance — the two biggest levers for RAM and CPU usage per player. Drop these first if you're short on either.
- enable-rcon — only turn this on if you're actually using RCON, and always set a strong
rcon.password. An open RCON port with a weak password is a common way servers get compromised. - white-list — combine with
enforce-whitelistif you want changes to the whitelist to kick already-connected players immediately instead of on next join.
After you upload it
Changes to server.properties only take effect after a full restart. If your server won't come back up after editing, check the console log first — a malformed value (like text in a number field) is the most common cause. Not sure what RAM or Java version your server needs in the first place? Try the RAM calculator or the Java version checker.