Complete reference for all Minecraft Java Edition server.properties configuration options.
server-portThe port the server listens on for connections
Range: 1 - 65535
server-ipThe IP address to bind the server to (leave blank for all interfaces)
max-playersMaximum number of players that can join the server
Range: 1 - 1000
motdThe message displayed in the server list
level-nameThe name of the world folder
level-seedSeed for world generation (leave blank for random)
level-typeType of world to generate
gamemodeThe default game mode for new players
force-gamemodeForce players to join in the default game mode
difficultyServer difficulty level
hardcorePlayers are banned upon death
pvpAllow players to damage each other
allow-flightAllow players to fly in survival mode (with mods)
spawn-monstersAllow hostile mobs to spawn
spawn-animalsAllow animals to spawn
spawn-npcsAllow villagers to spawn
enable-command-blockAllow command blocks to function
player-idle-timeoutKick players after being idle (0 = disabled)
Range: 0 - 60
generate-structuresGenerate villages, temples, and other structures
allow-netherAllow players to travel to the Nether
spawn-protectionRadius around spawn where only ops can build (0 = disabled)
Range: 0 - 100
max-world-sizeMaximum world border radius in blocks
Range: 1 - 29999984
view-distanceMaximum chunk render distance
Range: 3 - 32
simulation-distanceDistance from player for entity ticking
Range: 3 - 32
network-compression-thresholdPacket size threshold for compression (-1 = disabled)
Range: -1 - 65535
max-tick-timeMax time for a single tick before server watchdog kills it (-1 = disabled)
Range: -1 - 300000
rate-limitMax packets per second before kicking (0 = disabled)
Range: 0 - 1000
enable-queryEnable GameSpy4 protocol server listener
query.portPort for the query server
Range: 1 - 65535
enable-statusShow server in server list
enable-rconEnable remote console access
rcon.portPort for RCON connections
Range: 1 - 65535
rcon.passwordPassword for RCON access
online-modeVerify players with Minecraft account servers
white-listOnly allow whitelisted players to join
enforce-whitelistKick non-whitelisted players when whitelist is reloaded
enforce-secure-profileRequire players to have Mojang-signed public key
prevent-proxy-connectionsBlock connections from known proxies/VPNs
hide-online-playersHide player list from server status
op-permission-levelDefault permission level for operators (1-4)
Range: 1 - 4
function-permission-levelPermission level for function commands (1-4)
Range: 1 - 4
broadcast-console-to-opsSend console output to online operators
broadcast-rcon-to-opsSend RCON output to online operators
log-ipsLog player IP addresses