Skip to content

Launch arguments ​

BDS uses Key=value arguments.

ArgumentPurposeEvidence
Editor=trueEditor modeMojang, bundled comments
PackOptimizerConfigPath=<file>Optimize packs and exitMicrosoft
ExperimentalPacksUpgraderConfigPathPurpose unknownName in executable only

There are no documented arguments for heap memory, port, or world: use server.properties and the working directory.

Exit codes ​

Seen on Windows 1.26.66.1:

CodeCause
0Clean stop, or a bad system pack
2Bad setup: invalid identity key, bad packet limits, or allowlist on with online mode off
7Pack optimizer failed

On Linux, set LD_LIBRARY_PATH=. in the environment before the executable.

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