Complete reference for all Minecraft Java Edition server.properties configuration options.
server-port
The port the server listens on for connections
Range: 1 - 65535
server-ip
The IP address to bind the server to (leave blank for all interfaces)
max-players
Maximum number of players that can join the server
Range: 1 - 1000
motd
The message displayed in the server list
level-name
The name of the world folder
level-seed
Seed for world generation (leave blank for random)
level-type
Type of world to generate
gamemode
The default game mode for new players
force-gamemode
Force players to join in the default game mode
difficulty
Server difficulty level
hardcore
Players are banned upon death
pvp
Allow players to damage each other
allow-flight
Allow players to fly in survival mode (with mods)
spawn-monsters
Allow hostile mobs to spawn
spawn-animals
Allow animals to spawn
spawn-npcs
Allow villagers to spawn
enable-command-block
Allow command blocks to function
player-idle-timeout
Kick players after being idle (0 = disabled)
Range: 0 - 60
generate-structures
Generate villages, temples, and other structures
allow-nether
Allow players to travel to the Nether
spawn-protection
Radius around spawn where only ops can build (0 = disabled)
Range: 0 - 100
max-world-size
Maximum world border radius in blocks
Range: 1 - 29999984
view-distance
Maximum chunk render distance
Range: 3 - 32
simulation-distance
Distance from player for entity ticking
Range: 3 - 32
network-compression-threshold
Packet size threshold for compression (-1 = disabled)
Range: -1 - 65535
max-tick-time
Max time for a single tick before server watchdog kills it (-1 = disabled)
Range: -1 - 300000
rate-limit
Max packets per second before kicking (0 = disabled)
Range: 0 - 1000
enable-query
Enable GameSpy4 protocol server listener
query.port
Port for the query server
Range: 1 - 65535
enable-status
Show server in server list
enable-rcon
Enable remote console access
rcon.port
Port for RCON connections
Range: 1 - 65535
rcon.password
Password for RCON access
online-mode
Verify players with Minecraft account servers
white-list
Only allow whitelisted players to join
enforce-whitelist
Kick non-whitelisted players when whitelist is reloaded
enforce-secure-profile
Require players to have Mojang-signed public key
prevent-proxy-connections
Block connections from known proxies/VPNs
hide-online-players
Hide player list from server status
op-permission-level
Default permission level for operators (1-4)
Range: 1 - 4
function-permission-level
Permission level for function commands (1-4)
Range: 1 - 4
broadcast-console-to-ops
Send console output to online operators
broadcast-rcon-to-ops
Send RCON output to online operators
log-ips
Log player IP addresses