Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The server.properties file controls most of the options for your Bedrock Dedicated Server. This is an INI-style file: a list of keys and values separated by an equals sign, one per line. Comments start with #.
server-nameDefault:
Dedicated ServerUsed as the server name.
Allowed values: Any string without a semicolon symbol.
gamemodeDefault:
survivalSets the game mode for new players.
Allowed values:
survival,creative, oradventure.force-gamemodeDefault:
falseWhen
force-gamemodeis set totrue, the server will always send clients the game mode set by thegamemodeproperty above, even if that value is different from the value saved by the server during world creation. When it isfalse, the server will always send the client the value saved during creation, even if the value of thegamemodeproperty is changed after creation.difficultyDefault:
easySets the difficulty of the world.
Allowed values:
peaceful,easy,normal, orhard.allow-cheatsDefault:
falseIf
true, cheat commands can be used.Allowed values:
trueorfalse.max-playersDefault:
10The maximum number of players that can play on the server. Note that higher values have a performance impact.
Allowed values: any positive integer.
online-modeDefault:
trueIf
true, all connected players must be authenticated to Xbox Live. Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting.If the server accepts connections from the Internet, it's highly recommended to enable online-mode!
Allowed values:
trueorfalse.allow-listDefault:
falseIf
true, all connected players must be listed in the separate allowlist.json file.Allowed values:
trueorfalse.server-portDefault:
19132Which IPv4 port the server should listen to.
Allowed values: integers in the range
1–65535. Ports under1024are usually reserved for well-known applications.server-portv6Default:
19133Which IPv6 port the server should listen to.
Allowed values: integers in the range
1—65535. Ports under1024are usually reserved for well-known applications.enable-lan-visibilityDefault:
trueListen and respond to clients that are looking for servers on the LAN. This will cause the server to bind to the default ports (
19132and19133) even whenserver-portandserver-portv6have non-default values. Consider turning this off if LAN discovery is not desirable, or when running multiple servers on the same host may lead to port conflicts.Allowed values:
trueorfalse.view-distanceDefault:
32The maximum allowed view distance in number of chunks.
Allowed values: positive integers equal to
5or greater. Higher values have a performance impact.tick-distanceDefault:
4The world will be ticked this many chunks away from any player. Higher values have a performance impact.
Allowed values: integers in the range
4–12.player-idle-timeoutDefault:
30After a player has idled for this many minutes they will be kicked. If set to
0, players can idle indefinitely.Allowed values: any non-negative integer.
max-threadsDefault:
8Maximum number of threads the server will try to use. If set to
0or removed, it will use as many as possible.Allowed values: any positive integer.
level-nameDefault:
Bedrock levelThe level of the name to be used/generated. Each level has its own folder in worlds/.
Allowed values: any string that is valid for a filename on the host OS.
level-seedDefault: none
The seed to be used for randomizing the world. If left empty, a seed will be generated at random.
Allowed values: any string
default-player-permission-levelDefault:
memberPermission level for new players joining for the first time.
Allowed values:
visitor,member, oroperator.texturepack-requiredDefault:
falseIf the world uses specific texture packs, setting this to
trueforces the clients to use them.Allowed values:
trueorfalse.content-log-file-enabledDefault:
falseEnables logging content errors to a file.
Allowed values:
trueorfalse.compression-thresholdDefault:
1Determines the smallest size of raw network payload to compress. This can be used to experiment with CPU-bandwidth tradeoffs.
Allowed values: integers in the range
0—65535.compression-algorithmDefault:
zlibDetermines the compression algorithm to use for networking.
Allowed values:
zliborsnappy.server-authoritative-movement-strictDefault:
falseIf set to
true, the server will track the player position more strictly and be less permissive in accepting client information. This will impact the player's movement if there is high latency.Allowed values:
trueorfalse.server-authoritative-dismount-strictDefault:
falseIf set to
true, the server will be more strict with regard to player dismount positions, and clients will receive a correction on their dismount positions in higher latency situations.Allowed values:
trueorfalse.server-authoritative-entity-interactions-strictDefault:
falseIf set to
true, clients will be more strict towards entity interactions. This will impact players interacting with each other in higher latency situations.Allowed values:
trueorfalse.player-position-acceptance-thresholdDefault:
0.5This is the tolerance of discrepancies between the client and server player position. This helps prevent sending corrections too frequently for non-cheating players in cases where the server and client have different perceptions about when a motion started, for example, damage knockback or being pushed by pistons. The higher the number, the more tolerant the server will be before asking for a correction. Values beyond
1.0increase chances of allowing cheating.Allowed values: any positive float.
player-movement-action-direction-thresholdDefault:
0.85The amount that the player's attack direction and look direction can differ. This can be a value between
0.0and1.0. A value of1.0means the direction of the player's view and the direction the player is attacking must match exactly, while a value of0.0means the two directions can differ by up to 90 degrees.Allowed values: any positive float between
0.0and1.0.server-authoritative-block-breakingDefault:
falseWhen set to
true, the server will compute block mining operations in sync with the client, so it can verify the client should be able to break blocks when it thinks it can.Allowed values:
trueorfalse.server-authoritative-block-breaking-range-scalarDefault:
1.5This increases the range of block breaking. The value is squared and multiplied by the default range.
Allowed values: any float above
1.0.chat-restrictionDefault:
NoneThis represents the level of restriction applied to the chat for each player that joins the server.
Allowed values:
None: regular free chat.Dropped: chat messages are dropped and never sent to any client. Players receive a message to let them know the feature is disabled.Disabled: unless the player is an operator, the chat UI does not even appear. No information is sent to the player.
disable-player-interactionDefault:
falseIf
true, the server will inform clients that they should ignore other players when interacting with the world. This is not server authoritative.Allowed values:
trueorfalse.client-side-chunk-generation-enabledDefault:
trueIf
true, the server will inform clients that they have the ability to generate visual level chunks outside of player interaction distances.Allowed values:
trueorfalse.block-network-ids-are-hashesDefault:
trueIf
true, the server will send hashed block network IDs instead of consecutive IDs starting at0. These IDs are stable and won't change regardless of other block changes.disable-custom-skinsDefault:
falseIf
true, disable players customized skins that were customized outside of the Minecraft store assets or in game assets. This is used to disable possibly offensive custom skins players make.Allowed values:
trueorfalse.server-build-radius-ratioDefault:
DisabledIf "Disabled" the server will dynamically calculate how much of the player's view it will generate, assigning the rest to the client to build. Otherwise, the ratio tells the server how much to generate (
0.0being none and1.0being all), disregarding client hardware capability. This is only used whenclient-side-chunk-generation-enabledistrue.Allowed values:
Disabledor any float value in the range0.0–1.0.allow-outbound-script-debuggingDefault:
falseEnables the script debugger
connectcommand and theconnectmode forscript-debugger-auto-attach.Allowed values:
trueorfalse.allow-inbound-script-debuggingDefault:
falseEnables the script debugger
listencommand and thelistenmode forscript-debugger-auto-attach.Allowed values:
trueorfalse.force-inbound-debug-portDefault:
19144Locks the inbound (listen) debugger port to a specific value. If not set, the default of
19144will be used. Required when usinglistenmode forscript-debugger-auto-attach.Allowed values: integers in the range of
1–65535.script-debugger-auto-attachDefault:
disabledAutomatically attach the script debugger on level load. This requires that either the inbound port or the connect address is set, and that either inbound or outbound connections are enabled.
Allowed values:
disabled: Do not automatically attach.connect: Attempt to connect to the debugger in listening mode on the host and port specified byscript-debugger-auto-attach-connect-address.listen: Listen for inbound connect attempts from the debugger usingconnectmode on the port specified byforce-inbound-debug-port.
script-debugger-auto-attach-connect-addressDefault:
localhost:19144When auto attach mode is set to 'connect', use this address in the form
hostname:port. Required when usingconnectmode forscript-debugger-auto-attach.Allowed values: string specifying hostname and port in
hostname:portformat.script-debugger-auto-attach-timeoutDefault:
0Amount of time to wait at world load for debugger to attach in seconds.
Allowed values: non-negative integers.
script-debugger-passcodeDefault: none
If this is set, Visual Studio Code will prompt the user for the specified passcode in order to connect to the debugger.
Allowed values: string.
script-watchdog-enableDefault:
trueEnables the watchdog.
Allowed values:
trueorfalse.script-watchdog-enable-exception-handlingDefault:
trueEnables watchdog exception handling via the events.beforeWatchdogTerminate event.
Allowed values:
trueorfalse.script-watchdog-enable-shutdownDefault:
trueEnables server shutdown in the case of an unhandled watchdog exception.
Allowed values:
trueorfalse.script-watchdog-hang-exceptionDefault:
trueThrows a critical exception when a hang occurs, interrupting script execution.
Allowed values:
trueorfalse.script-watchdog-hang-thresholdDefault:
10000Sets the watchdog threshold for single tick hangs.
Allowed values:
trueorfalse.script-watchdog-spike-thresholdDefault:
100Sets the watchdog threshold for single tick spikes. The warning is disabled if the property is left unset.
Allowed values: positive integers.
script-watchdog-slow-thresholdDefault:
10Sets the watchdog threshold for slow scripts over multiple ticks. The warning is disabled if the property is left unset.
Allowed values: positive integers.
script-watchdog-memory-warningDefault:
100Produces a content log warning when the combined memory usage exceeds the given threshold in megabytes. Setting this value to
0disables the warning.Allowed values: integers in the range of
0—2000.script-watchdog-memory-limitDefault:
250Saves and shuts down the world when the combined script memory usage exceeds the given threshold in megabytes. Setting this value to
0disables the limit.Allowed values: integers in the range of
0—2000.diagnostics-capture-auto-startDefault:
falseStarts a diagnostics capture session at level load.
Allowed values:
trueorfalse.diagnostics-capture-max-filesDefault:
5Maximum number of diagnostics capture files to keep before cycling.
Allowed values: non-negative integers.
diagnostics-capture-max-file-sizeDefault:
2097152(2 megabytes)Maximum size in bytes of current diagnostics capture file before system will cycle to a new file.
Allowed values: positive integers.
disable-client-vibrant-visualsDefault:
trueIf
true, the server will tell clients to use the next best available graphics setting instead of Vibrant Visuals.Allowed settings:
trueorfalse.