Use Minecraft Java's server.properties to control access, network listeners, capacity, world generation and resource packs. Start with the file generated by your own server JAR, not a complete configuration copied from a different version.
This reference covers the properties listed in the PaperMC documentation retrieved on November 25, 2026, supplemented by Mojang's release notes. Reference values are drawn from that older Paper documentation, supplemented by explicitly dated Mojang changes; they are not a newly generated Vanilla or Paper 26.3 configuration. The Paper page's displayed last-update date is May 12, 2025, so treat its table values as reference values, not current universal defaults. Mojang explicitly changed white-list to true by default in Java 26.3; retain the actual settings of an existing server until you have reviewed them.
Choose a configuration task below, then test the result with a normal player account. Paper-specific behavior is marked. This is a settings reference with examples, not a claim that every current key or loader-specific default has been independently tested.
How to compare and edit your actual file
Start with our Java server setup if you have not installed a server yet. For extensions, see Paper, Fabric and NeoForge. These Java settings do not apply wholesale to Bedrock.
- Record the running JAR, exact version and loader. Stop with
stopand wait for the process to exit. - Keep an external backup of the world and configuration. If comparing versions, start the exact destination JAR in a separate empty directory using its documented procedure and accept the EULA only if you agree. Stop again once the file has been generated.
- Compare the original configuration with the newly generated reference; preserve existing values deliberately rather than copying all new defaults. For example, on Linux or macOS:
diff -u old-server.properties server.properties(use copies with those filenames). On Windows usefc.exe old-server.properties server.propertiesin a terminal. Keep comparisons private: the files may contain secrets. - Edit the needed properties in the active file, not a template in a different folder. Restart and read the console. Test access, correct world selection and the intended feature; retain the original file until the checks pass.
A newly generated reference is useful for identifying added and removed keys, not for proving all defaults work for your modpack. See backup and restore before changing generation settings or updating a world.
Access, players and server browser
| Property | Reference value (see scope) | Meaning |
|---|---|---|
max-players | 20 | Maximum concurrent player connections |
online-mode | true | Authenticates accounts with Minecraft. Disabling it removes account verification and should not be a general connection fix |
white-list | true by default in Vanilla 26.3; false in older Paper reference | Only listed players can join |
enforce-whitelist | false | Removes connected players who do not meet an enforced allowlist |
player-idle-timeout | 0 | Minutes until idle players are kicked; 0 disables the timer |
motd | A Minecraft Server | Message in the server browser |
enable-status | true | Enables browser status queries; disabling it can make a reachable server appear offline |
hide-online-players | false | Hides the player list in status responses |
enforce-secure-profile | true | Requires a Mojang-signed public profile key pair |
prevent-proxy-connections | false | Attempts to reject mismatches between network origin and Mojang authentication |
accept-transfers | false | Accepts players transferred from another server using the transfer protocol |
allow-flight | false | Controls the server's flight-related kick check. Set true only when intended gameplay requires it and you have reviewed the implications. It does not grant ordinary survival players creative flight. |
For a new private server, keep authentication enabled. In the server console use whitelist add ActualPlayerName (replace the example name) and whitelist list. Test that an intended friend can join and an unlisted, non-operator account cannot. Do not disable authentication to resolve an allowlist error.
Network, ports and data transmission
| Property | Reference value (see scope) | Meaning |
|---|---|---|
server-ip | empty | Address to bind; empty means appropriate local interfaces. Do not unnecessarily enter your public IP |
server-port | 25565 | Normal Java player connection port (TCP) |
network-compression-threshold | 256 | Minimum packet size in bytes before compression; negative disables it |
rate-limit | 0 | Packet-rate limit; 0 disables it |
use-native-transport | true | Native networking on supported Linux installations |
entity-broadcast-range-percentage | 100 | Percentage factor for entity update range; Paper lists 10–1000 |
For ordinary Java play, start with the configured TCP game port; enabling Query separately is not necessary for normal joins. Check a local join first and a remote join second. For self-hosting see router and firewall configuration. Do not expose RCON, JMX or management services merely to make player connections work.
World, game mode and generation
| Property | Reference value (see scope) | Meaning |
|---|---|---|
difficulty | easy | peaceful, easy, normal or hard |
gamemode | survival | Default player game mode |
force-gamemode | false | Reset rejoining players to the configured default |
hardcore | false | Enables hardcore behavior; deceased players become spectators |
level-name | world | World/folder name |
level-seed | empty | Seed for newly generated worlds; empty means random |
level-type | minecraft:normal | World generator type; check valid values for your version |
generator-settings | {} | JSON for custom world generation |
generate-structures | true | Enable generated structures such as villages |
max-world-size | 29999984 | World-radius limit described by the Paper reference for initial generation; do not treat it as a substitute for an in-game world border |
spawn-protection | 16 | Spawn protection radius: side length is twice the value plus one; 0 disables it. Paper says at least one operator must exist for it to work |
Changing level-name can select a different save or create a fresh world. If the server loads an unexpected empty world, stop it before playing or saving further changes and compare the folder name and the working directory. Changing the seed does not regenerate existing terrain into a new map.
View distance, simulation and ticks
| Property | Reference value (see scope) | Meaning |
|---|---|---|
view-distance | 10 | Server-side client view distance in chunks; Paper lists 3–32 |
simulation-distance | 10 | Chunk radius for simulated entities and game logic; Paper lists 3–32 |
pause-when-empty-seconds | -1 on Paper | Delay before pausing an empty server; Paper disables it by default to avoid unexpected plugin behavior. Vanilla introduced this setting with 60 seconds in 1.21.2; verify the current generated value |
max-tick-time | 60000 | Watchdog threshold in ms; -1 disables it |
max-chained-neighbor-updates | 1000000 | Limit for cascading block updates; negative disables it |
sync-chunk-writes | true | Synchronous chunk writes; Paper says this does not take effect there by default without an extra system property |
region-file-compression | deflate | deflate, lz4 or none; Paper also supports Paper-specific gzip |
For a small co-op server with lag, use the same group and world to compare one setting at a time. For example, keep view-distance at 10, compare simulation-distance 10 with 6, and record tick time and whether farms behave as expected. These values are illustrative, not a benchmark or a guaranteed optimization. Restore the previous setting if gameplay becomes unacceptable. Do not disable the watchdog simply to hide a stuck tick.
Operators, commands and debugging
| Property | Reference value (see scope) | Meaning |
|---|---|---|
op-permission-level | 4 | Default operator permission level |
function-permission-level | 2 | Function permission level; Paper documents 1–4 |
broadcast-console-to-ops | true | Broadcast console command output to online operators |
broadcast-rcon-to-ops | true | Broadcast RCON output to online operators |
debug | false | Server debug mode |
log-ips | true | Log player IPs; plugins may also log addresses independently |
bug-report-link | empty | URL for the client bug-report button |
enable-code-of-conduct | false | Enable Code of Conduct files in codeofconduct, supported since 1.21.9 |
Query, RCON and JMX
| Property | Reference value (see scope) | Meaning |
|---|---|---|
enable-query | false | Enable the optional GameSpy4-style query listener (UDP) |
query.port | 25565 | Query service port |
enable-rcon | false | Enable remote console; only with a strong password and access restrictions |
rcon.port | 25575 | RCON port |
rcon.password | empty | RCON password; never leave empty or weak when enabled |
enable-jmx-monitoring | false | Expose Minecraft server tick-time MBean; also requires Java/JMX startup arguments |
Keep remote console disabled unless you have a specific administration need and a protected connection. RCON is not a substitute for the player port; a strong password alone does not secure it on the public internet. Restrict management to trusted networks.
Resource packs and data packs
| Property | Reference value (see scope) | Meaning |
|---|---|---|
resource-pack | empty | URL for the server resource pack |
resource-pack-id | empty | UUID for the resource pack |
resource-pack-sha1 | empty | SHA-1 hash for integrity checking; recommended by Paper |
resource-pack-prompt | empty | Text shown when the client is offered the resource pack |
require-resource-pack | false | Kick players who refuse the pack when true |
initial-enabled-packs | vanilla | Comma-separated data packs initially enabled when generating the world |
initial-disabled-packs | empty | Data packs not enabled by default at generation |
Spam and text-filter controls
| Property | Reference value (see scope) | Meaning |
|---|---|---|
chat-spam-threshold-seconds | 10 | Chat counter threshold in accumulated seconds since 26.2; 0 disables that automatic kick |
command-spam-threshold-seconds | 10 | Separate command counter threshold; 0 disables that automatic kick |
text-filtering-config | empty | Path to text-filter config; empty disables it |
text-filtering-version | 0 | Text filter format; Paper documents 0 and 1 |
Mojang's 26.2 notes describe a decaying counter, not a fixed messages-per-second quota. Each message adds one second to its relevant counter, and that counter decays by one twentieth of a second per tick. This is the 26.2 release-note definition, which takes precedence over the simpler rate description in the Paper reference. A kick occurs when the threshold is reached. For a legitimate automation problem, diagnose the chat and command streams separately rather than disabling both protections.
Minecraft Server Management Protocol
Mojang introduced a JSON-RPC management interface over WebSocket in Java 1.21.9. It defaults to disabled and should normally be bound to a private management interface. Use authentication and properly configured TLS even when integrating a remote dashboard; do not expose it publicly by default.
| Property | Reference value (see scope) | Meaning |
|---|---|---|
management-server-enabled | false | Enable the management interface |
management-server-host | localhost | Network interface to bind the service |
management-server-port | 0 | Management listener port; 0 picks an available port |
management-server-secret | empty | Authentication secret: Mojang documents 40 alphanumeric characters and generates one when omitted |
management-server-tls-enabled | true | Enable TLS |
management-server-tls-keystore | empty | TLS keystore path; when management is enabled with TLS, provide the required keystore |
management-server-tls-keystore-password | empty | TLS keystore password; can alternatively be provided via environment or JVM argument |
status-heartbeat-interval | 0 | Management heartbeat interval; 0 disables notifications |
The 26.2 protocol can report status during startup before the world is ready. A heartbeat is not proof that a client can join. The 26.3 release also introduced upgrade notifications. Keep the interface disabled if unused; if integrating a dashboard, protect the secret and use the documented TLS and access restrictions. Never share the actual management secret or keystore password in screenshots or logs.
Properties removed from newer Minecraft releases
Many old tutorials list properties that are no longer valid in 26.2:
| Removed property | Replacement introduced in 1.21.9 or earlier removal |
|---|---|
allow-nether | Game Rule allowEnteringNetherUsingPortals |
spawn-monsters | Game Rule spawnMonsters |
enable-command-block | Game Rule commandBlocksEnabled |
pvp | Game Rule pvp |
spawn-animals | Already removed from server.properties since 1.21.2 |
spawn-npcs | Already removed from server.properties since 1.21.2 |
Mojang's 1.21.9 notes establish these original rule names; use the current server's gamerule completion to find the identifier for your installed version. Do not copy the removed entries back into a modern file. The 1.21.2 notes document the earlier two removals.
Secure starting configuration for a friends-only world
For a small private group, basic access controls are usually more important than experimental performance tweaks:
online-mode=true
white-list=true
enforce-whitelist=true
max-players=8
server-port=25565
view-distance=10
simulation-distance=10
enable-rcon=false
management-server-enabled=falseEight players is an example, not a capacity guarantee. This is a partial patch to a generated configuration. After starting, add each permitted player through the console and test the allowlist. Keep management interfaces off if unused. If upgrading an existing server, compare the old and new allowlist values first.
Find the setting behind a symptom
| Observed problem | Check first |
|---|---|
| Friend rejected by a newly installed 26.3 server | Allowlist membership and account authentication. |
| Server looks offline but a direct connection works | enable-status and actual game port. |
| Survival player kicked while using intended modded movement | Server log, compatible mod and allow-flight; do not grant flight or disable protections blindly. |
| Unexpected blank world | level-name and the server working directory; stop before saving further. |
| Old PvP option has no effect | Current game rule, not a removed property. |
| Remote dashboard responds but players cannot join | World readiness, actual game listener, version and authentication separately. |
Documentation review, November 25, 2026: PaperMC property reference (cached document, displayed last-update date May 12, 2025), Mojang 26.2, Mojang 26.3 (indexed release excerpt), and the linked 1.21.9/1.21.2 release notes. The 26.2 and 26.3 developer release text was available through the official search index; no full direct retrieval is claimed for these two releases. The older 1.21.9 and 1.21.2 release articles were directly retrieved. The tables cover the retrieved Paper list; a freshly generated Vanilla and Paper 26.3 file is still needed to establish exhaustive current defaults. No server startup, performance or configuration test was performed for this revision.
Teaser illustration: Coop Legends, AI-generated with OpenAI; a generic hosting setup, not gameplay.