Minecraft server.properties Explained (2026)

Published on

Every server.properties setting explained. What each option does and the recommended values for different server types.

Written by Jochem, Infrastructure Expert, 5-10 years experience in game server hosting, VPS infrastructure, and 24/7 streaming solutions. Read author bio →

Minecraft server.properties Explained (2026)

Minecraft server properties explained

The server.properties file controls every core setting of your Minecraft server. It generates automatically on the first server start. Here is what every setting does.

Most Important Settings

SettingDefaultDescription
server-port25565The port players connect to
max-players20Maximum simultaneous players
view-distance10Render distance in chunks
simulation-distance10Tick distance in chunks
difficultyeasypeaceful, easy, normal, hard
gamemodesurvivalsurvival, creative, adventure, spectator
online-modetrueVerify Mojang accounts
motdA Minecraft ServerServer description in server list

Performance Settings

SettingRecommendedDescription
view-distance8 to 10Lower = less CPU. 8 is fine for most servers
simulation-distance6 to 8Distance where mobs and blocks tick
max-tick-time60000Crash timeout (ms). -1 to disable
network-compression-threshold256Packet compression. 256 is efficient
entity-broadcast-range-percentage100Lower for better network performance

Gameplay Settings

SettingDefaultDescription
pvptrueAllow player combat
spawn-protection16Radius around spawn where only ops can build
allow-flightfalseKick flying players (set true with mods)
spawn-monsterstrueHostile mob spawning
spawn-animalstrueAnimal spawning
spawn-npcstrueVillager spawning
hardcorefalsePermanent death, locks to hard difficulty
enable-command-blockfalseAllow command blocks (set true for maps)
force-gamemodefalseForce default gamemode on join

World Settings

SettingDefaultDescription
level-nameworldWorld folder name
level-seed(blank)World generation seed
level-typeminecraft:normalnormal, flat, large_biomes, amplified
generate-structurestrueVillages, temples, etc.
max-world-size29999984World border radius
allow-nethertrueEnable nether dimension

Security Settings

SettingRecommendedDescription
online-modetrueAlways true for public servers
white-listfalseRestrict to approved players
enforce-whitelistfalseKick non-whitelisted on reload
rate-limit0Packet rate limit per player

Warning: Setting online-mode=false disables account verification. Anyone can connect with any username. Only disable this if you use an authentication plugin.

How to Edit

  1. Stop the server
  2. Open server.properties in a text editor
  3. Change values after the = sign
  4. Save the file
  5. Start the server

Changes only take effect after a server restart.


Configure your server right. View Minecraft Hosting Plans

Jochem

About the Author

Jochem, Infrastructure Expert, expert in game server hosting, VPS infrastructure, and 24/7 streaming solutions with 5-10 years experience.

Since 2023
500+ servers hosted
4.8/5 avg rating

I specialize in Minecraft, FiveM, Rust, and 24/7 streaming infrastructure, operating enterprise-grade AMD Ryzen 9 hardware in Netherlands datacenters.

View my full bio and credentials →

Start Your MC Server Now Today

Join content creators worldwide who trust our Minecraft infrastructure. Setup is instant and support is always available. Start from €0.90/mo (Dirt) or €2.70/mo (Coal) and go live in minutes.