Minecraft: Survival, Creative, modpacks · Paper server

Minecraft: server.properties fully explained

All 69 keys that a Minecraft Java server writes to its server.properties, with default value and what they do. Marked are the ones you set in our control panel without file access.

Checked on 18 November 2026 · applies to Java Edition 26.3

How the file works

server.properties sits in the folder from which the server is started. Each line is a pair of key and value, separated by an equals sign; lines starting with # are comments. If the file is missing, the server creates it with the default values on start. If only a key is missing or a value is invalid, it uses the default value for it and rewrites the file.

Changes only take effect after a restart. So edit the file while the server is stopped, or restart it afterwards.

# Example: private server for friends
motd=Our Server
max-players=10
difficulty=normal
white-list=true
enforce-whitelist=true
view-distance=8
simulation-distance=6

The default values below apply to Java Edition 26.3, as the server generates the file. Older versions differ, most noticeably: white-list has only been on by default since 26.3. So a server on an older version starts without a whitelist unless you switch it on yourself. Bedrock Dedicated Server has its own server.properties with different keys, which is not described here.

Game and rules 10

KeyDefaultWhat it does
gamemodein panelsurvivalGame mode for new players: survival, creative, adventure or spectator. The server silently converts old numbers (0 to 3).
force-gamemodefalsetrue puts every player into the default game mode on joining. With false they keep the mode they left in.
difficultyin paneleasyDifficulty: peaceful, easy, normal or hard. Determines, among other things, damage from monsters and how hunger and poison work.
hardcorein panelfalseHardcore for newly generated worlds: anyone who dies can only spectate afterwards.
max-playersin panel20Maximum number of simultaneous players. Very large values break the player list in the client.
player-idle-timeout0After this many minutes without action a player is kicked. 0 switches this off.
pause-when-empty-seconds60If nobody has been online for this many seconds, the server pauses: the world stops running. A negative value switches the pause off, for example if farms should keep running without players.
spawn-protectionin panel16Radius of the protected area around spawn in which only operators may build: the area is 2x+1 blocks wide. 0 switches the protection off. Without a single operator it is also off.
allow-flightin panelfalseAllows flying in survival mode via mods. With false, anyone in the air for longer than about five seconds is kicked; mods with jetpacks or flying objects therefore need true.
max-world-size29999984Largest distance of the world border from the centre, in blocks. Higher than the default achieves nothing.

World 9

These values take effect when a world is generated. A new seed or world type changes nothing in an existing world.

KeyDefaultWhat it does
level-nameworldName and folder of the world. If the folder exists with a valid world, the server loads it; otherwise it generates a new one there. This is how you switch between several worlds.
level-seedin panelemptySeed for world generation. Empty means random. Only takes effect with a new world.
level-typeminecraft:normalWorld type: minecraft:normal, minecraft:flat (superflat), minecraft:large_biomes, minecraft:amplified or minecraft:single_biome_surface. In the file the colon is escaped as minecraft\:normal.
generator-settings{}Fine-tuning of the generator, depending on level-type, for example the layers of a flat world.
generate-structurestrueWhether structures such as villages are generated. Dungeons are generated even with false.
initial-enabled-packsvanillaData packs active when the world is generated, separated by commas. Experimental feature packs must be listed here explicitly.
initial-disabled-packsemptyData packs that are not automatically enabled when the world is generated.
region-file-compressiondeflateCompression of the region files: deflate, lz4 or none. Chunks already saved are not repacked.
sync-chunk-writestrueWrites chunks to disk synchronously. Protects against data loss and corrupted chunks after a crash, but can slow the server down.

Performance 8

The two distances are the strongest levers against lag. Both count in chunks as a radius around the player, not as a diameter.

KeyDefaultWhat it does
view-distancein panel10How many chunks the server sends to each player (3 to 32). More view distance means more RAM and bandwidth.
simulation-distancein panel10Up to what distance mobs and the world are actively computed (3 to 32). Beyond it, no plants grow and no animals move. If there is lag, lower this value first.
entity-broadcast-range-percentage100From what distance entities are sent to players, as a percentage of the normal distance (10 to 1000). Higher values show entities from further away and cost performance.
max-tick-time60000If a single tick takes longer than this many milliseconds, the watchdog considers the server crashed and stops it. -1 switches the watchdog off.
max-chained-neighbor-updates1000000Maximum number of consecutive block neighbour updates before further ones are skipped. Limits runaway redstone chains. Negative = no limit.
network-compression-threshold256Packets of this size in bytes and larger are compressed. -1 switches compression off, 0 compresses everything.
use-native-transporttrueOptimised network path on Linux. Only switch off for troubleshooting.
rate-limit0Maximum number of packets a player may send before being kicked. 0 = off.

Access and permissions 14

KeyDefaultWhat it does
white-listin paneltrueOnly players in whitelist.json may join. Operators are on it automatically. On by default only since 26.3, false before that.
enforce-whitelistin panelfalseKicks players who are online but not on the whitelist as soon as the list is reloaded. Without it they stay in until they leave.
online-modetrueChecks every player against Mojang/Microsoft accounts. false also lets in accounts without a purchased game and with someone else's name; only sensible for servers without internet access or behind a proxy such as Velocity.
enforce-secure-profiletrueOnly players with a key signed by Mojang may join. With false, their chat messages are unsigned and cannot be reported.
prevent-proxy-connectionsfalseKicks players whose network operator doesn't match the one Mojang's authentication server sees. Against VPN and proxy connections.
op-permission-level4Permission level a player gets with /op (0 to 4). 4 is everything, including /stop.
function-permission-level2Permission level with which functions from data packs run (1 to 4).
broadcast-console-to-opstrueShows the output of console commands to all operators in the game.
broadcast-rcon-to-opstrueShows the output of RCON commands to all operators in the game.
log-ipstrueWrites players' IP addresses to the console and log. If you don't want to store IPs, set false.
chat-spam-threshold-seconds10Threshold for automatic kicking for too many chat messages (since 26.2). 0 = never kick.
command-spam-threshold-seconds10The same threshold for too many commands (since 26.2). 0 = never kick.
accepts-transfersfalseAccepts players that another server sends over via a transfer packet. With false they are disconnected.
hide-online-playersfalseSends no player list with status queries. The server list then doesn't show who is online.

Server list 4

KeyDefaultWhat it does
motdin panelA Minecraft ServerText below the server name in the server list. Colour and formatting codes and special characters work; above 59 characters the list may report an error. Preview with our MOTD tool.
enable-statustrueWith false the server doesn't respond to status queries and appears offline in the list, but still accepts connections.
bug-report-linkemptyAddress for the server's “Report bug” link. Empty = no link.
enable-code-of-conductfalseShows players a code of conduct from the codeofconduct subfolder, one file per language (e.g. de_de.txt). Since 1.21.9.

Resource pack 5

KeyDefaultWhat it does
resource-packemptyDownload address of a resource pack offered to players when they join. At most 250 MiB.
resource-pack-idemptyOptional UUID by which clients recognise the pack.
resource-pack-sha1emptySHA-1 checksum of the pack in lower case. Recommended so that clients detect a changed pack.
resource-pack-promptemptyCustom prompt text if the pack is mandatory. Empty = default text.
require-resource-packfalseAnyone who declines the pack is disconnected.

Network, RCON and query 8

On a rented server, the infrastructure sets port and address. Exposing these values in the panel would mean being able to configure your own server into unreachability.

KeyDefaultWhat it does
server-ipemptyIP address on which the server listens. Empty = all addresses; leave it like that unless you have a reason.
server-port25565TCP port for players. Behind a home router it has to be forwarded.
enable-queryfalseEnables the query interface through which tools fetch server info.
query.port25565UDP port for query.
enable-rconfalseRemote access to the console over the network. RCON is unencrypted, including the password; only use it from localhost or a trusted network.
rcon.passwordemptyPassword for RCON. If it is empty, RCON doesn't start, for security reasons.
rcon.port25575TCP port for RCON.
enable-jmx-monitoringfalseExposes tick times via JMX. Also needs matching Java launch parameters.

Management protocol 9

Since 1.21.9 a server can be managed from outside via the Minecraft Server Management Protocol. It is off by default; for a normal server nothing needs changing here.

KeyDefaultWhat it does
management-server-enabledfalseEnables the management protocol.
management-server-hostlocalhostAddress on which the protocol listens.
management-server-port0Port of the protocol.
management-server-secret(random)Secret of 40 letters and digits that clients send in the Authorization header. Empty = the server generates one.
management-server-tls-enabledtrueEncrypts the protocol with TLS. If TLS is on and the keystore is missing, the server doesn't start.
management-server-tls-keystoreemptyPath to the keystore file for TLS.
management-server-tls-keystore-passwordemptyPassword of the keystore. Can also be given via the environment variable MINECRAFT_MANAGEMENT_TLS_KEYSTORE_PASSWORD; then it isn't in the file.
management-server-allowed-originsemptyAllowed origin for connections to the protocol. The source lists the key in the default file but doesn't describe it further.
status-heartbeat-interval0Interval at which the protocol sends heartbeats to connected clients. 0 = off.

Internal 2

Two keys that the file contains but you don't need to touch.

KeyDefaultWhat it does
text-filtering-configemptyConfiguration of the chat filter. According to the source intended internally for Realms and not officially documented.
text-filtering-version0Format of the filter configuration, 0 or 1.

“In panel” means: on a server rented from us you set it directly in the control panel without opening the file. Everything else you change via the file manager.

Removed: pvp, allow-nether, spawn-monsters

With 1.21.9 four well-known keys disappeared from the file and became game rules: pvp, allow-nether, enable-command-block and spawn-monsters. With 1.21.2 spawn-animals and spawn-npcs were dropped. If one of them is in an old file, a new server ignores it. Instead, the game rule you set with /gamerule applies.

Since 1.21.11 all game rules are named in lower case with underscores, and some also differ from before. For the new version, for example:

/gamerule pvp false
/gamerule keep_inventory true
/gamerule spawn_monsters false
/gamerule allow_entering_nether_using_portals false

keep_inventory (keep your inventory after death) was never a server.properties key, even though people often search for it. It has always been a game rule. On servers before 1.21.11 it is called keepInventory.

Announced for 26.4

For the next version the source lists three new keys: allowed-connection-ids (only accept connections with a specific identifier before the @ in the server address), enable-legacy-status (response to clients before 1.7) and status-contact-details (operators' contact details). They only appear in the file once the server runs 26.4.

On a rented server

You set the twelve marked values in our control panel in the “Spielregeln” (game rules) tab, with value range and explanation; they take effect after a restart. The panel only shows keys that your server's version knows. You change all the others directly in server.properties in the “Dateien” (files) tab. Port and address come from the infrastructure and stay fixed. You manage the whitelist in its own “Whitelist” tab, version and software in the “Software” tab.

Sources