Skip to content

server.properties ​

The server's main configuration: one key=value per line, comments starting with #. Keys and defaults were read from the file shipped with 1.26.66.1. Restart after changes unless noted.

Keys are case-sensitive. If a key appears twice, the last one wins.

Default comes from that file, or Microsoft's reference where a line is commented out or absent. If your file says something different, your file wins. "Commented out" means the line ships disabled with #.

How to change a setting

  1. Type stop in the server console and wait.
  2. Open server.properties in Notepad or another text editor.
  3. Change the text after = and save.
  4. Start the server again.

Prefer not to edit by hand? Use the generator. Looking for ready-made lines? See Common setups.

Essentials ​

KeyDefaultAllowed and purpose
server-nameDedicated ServerDisplay name; no semicolons
gamemodesurvivalsurvival, creative, adventure; mode for new players
force-gamemodefalseForce gamemode over the value saved at world creation
difficultyeasypeaceful, easy, normal, hard
allow-cheatsfalseAllow cheat commands
max-players10Any positive integer
level-nameBedrock levelFolder under worlds/; case matters
level-seednoneSeed for new world generation
default-player-permission-levelmembervisitor, member, operator
texturepack-requiredfalseForce players to use the world's resource packs

Authentication and joining ​

KeyDefaultAllowed and purpose
online-modetrueRequire Xbox authentication; remote clients always need it
allow-listtrue (since 26.30)Only allowlisted players may join
allow-player-joiningtrueIf false, only a script can admit players
player-idle-timeout30Minutes before an idle kick; 0 disables

Network ​

KeyDefaultAllowed and purpose
transportnethernet (since 26.50)nethernet. raknet starts, but prints that players cannot connect
server-port191321 to 65535
server-portv619133Ignored with NetherNet
server-ipemptyBind address; empty is all interfaces. Ignored with RakNet
server-udp-ports19132NetherNet UDP ports; syntax
enable-lan-visibilitytrueLAN discovery; under RakNet also binds 19132 and 19133
compression-threshold10 to 65535; smallest payload to compress
compression-algorithmzlibzlib or snappy
block-network-ids-are-hashestrueUse stable hashed block network IDs

Performance and world loading ​

KeyDefaultAllowed and purpose
view-distance32Chunks, 5 or more
tick-distance4Chunks, 4 to 12
max-threads80 or removed means as many as possible
client-side-chunk-generation-enabledtrueLet clients generate visual-only distant chunks
server-build-radius-ratioDisabledDisabled, or 0.0 to 1.0; needs client-side generation
persistent-ticking-area-max-count10Positive integer up to 2147483647, or unlimited
persistent-ticking-area-max-chunks100Same; per new area
transient-ticking-area-max-chunks300Same; aggregate unique chunks per behavior pack

The ticking-area keys arrived in 26.60. More.

Server-authoritative gameplay ​

KeyDefaultAllowed and purpose
server-authoritative-movement-strictfalseStricter positions, more corrections with latency
server-authoritative-dismount-strictfalseStricter dismount positions
server-authoritative-entity-interactions-strictfalseStricter entity interaction
server-authoritative-entity-attack-request-validationdisableddisabled, observe, enforce (26.60)
server-authoritative-entity-attack-range-validationdisableddisabled, observe, enforce (26.60)
server-authoritative-entity-attack-range-tolerance0.5Extra blocks; finite and not negative
player-position-acceptance-threshold0.5Above 1.0 raises the chance of cheating
player-movement-action-direction-threshold0.850 to 1; 1 is an exact look/attack match. The bundled guide says -1 to 1
server-authoritative-block-breaking-pick-range-scalar1.5Above 1.0. Squared, then multiplied by the normal reach

See anti-cheat settings.

Player behavior and privacy ​

KeyDefaultAllowed and purpose
chat-restrictionNoneNone; Dropped discards messages; Disabled hides chat except for operators
disable-player-interactionfalseAsk clients to ignore other players; not authoritative
disable-custom-skinsfalseBlock skins customized outside store or game assets
disable-personafalseInternal use only
disable-client-vibrant-visualsCommented out (true)Ask clients not to use Vibrant Visuals
emit-server-telemetryOffSend server telemetry; the server suggests opting in with true

Content log ​

KeyDefaultAllowed and purpose
content-log-file-enabledfalseWrite content errors to a file
content-log-console-output-enabledfalsePrint them to the console
content-log-levelinfoerror, warning, info, verbose

Script debugger ​

KeyDefaultAllowed and purpose
allow-outbound-script-debuggingfalseAllow debugger connect
allow-inbound-script-debuggingfalseAllow debugger listen
force-inbound-debug-port19144Lock listener port
script-debugger-listen-addressloopbackNon-loopback requires a passcode (26.50)
script-debugger-auto-attachdisableddisabled, connect, listen
script-debugger-auto-attach-connect-addresslocalhost:19144host:port
script-debugger-auto-attach-timeout0Wait at world load
script-debugger-passcodenonePasscode prompted by VS Code. Printed in the startup log

Script watchdog ​

KeyDefaultPurpose
script-watchdog-enabletrueEnable watchdog
script-watchdog-enable-exception-handlingtrueAllow the terminate event
script-watchdog-enable-shutdowntrueShut down after an unhandled watchdog exception
script-watchdog-hang-exceptiontrueInterrupt scripts on a hang
script-watchdog-hang-threshold10000Single-tick hang, ms
script-watchdog-spike-threshold100*Single-tick spike warning
script-watchdog-slow-threshold10*Slow scripts over several ticks
script-watchdog-memory-warning100MB; 0 disables; max 2000
script-watchdog-memory-limit250MB; saves and shuts down; 0 disables; max 2000

* Microsoft lists these values, but the file says the warning is disabled when unset.

Diagnostics and Editor ​

KeyDefaultPurpose
diagnostics-capture-auto-startfalseStart capture at level load
diagnostics-capture-max-files5Files kept
diagnostics-capture-max-file-size2097152Bytes per file
sentry-rate-limit-window60Seconds; 0 disables limits
sentry-max-events-per-window100 disables sending
enable-profilerCommented out (true)Profiler support
enable-editor-network-metricsCommented out (true)Live metrics for the debugger
convert-world-to-editor-projectCommented out (false)Needs Editor=true; read first

Hidden settings ​

BDS reads many more settings than its file lists, including enable-player-connection-text and level-type. See Hidden server properties for all of them.

Removed keys ​

server-authoritative-sound and server-authoritative-block-breaking left the default file in 1.21.0. Microsoft's page still lists the latter.

Sources: Microsoft reference, 26.50, 26.60.

Unofficial community wiki. Not approved by or associated with Mojang or Microsoft.