The server accepts arguments when launched via java -jar HytaleServer.jar [options].
java -jar HytaleServer.jar --bind 5520 --assets ../HytaleAssets
Flag Type Description --helpflag Prints help and exits --versionflag Prints version, patchline, and environment info, then exits --bareflag Skips worlds, networking, and directory creation. All mods still load.
--bare disables core server side effects:
No worlds are loaded or created
No network port binding
No directory creation (player data, resource storage, mods/ folder)
The server still runs the full mod lifecycle up through setup() . When combined with --shutdown-after-validate, the server exits before start() — so mods only go through the preLoad and setup phases.
Caution
All mods still load in bare mode — the flag only affects core server behavior. If mods present in the mods/ directory perform side effects during setup() (database connections, file writes, etc.), that code will still run. The mods/ directory won’t be auto-created if missing, but any mods already present load normally.
Flag Type Default Description -b, --bindhost:port0.0.0.0:5520Address to listen on -t, --transportenum QUICNetwork transport type: QUIC or TCP --force-network-flushtrue/falsetrueForces network flush each tick
The --bind flag accepts multiple formats:
--bind 0.0.0.0:5520 — full address
--bind 5520 — port only, binds all interfaces
--bind myhost.example.com — hostname only, uses port 5520
--bind 0.0.0.0:5520,0.0.0.0:5521 — multiple addresses (comma-separated)
Flag Type Default Description --auth-modeenum authenticatedauthenticated, offline, or insecure. See Authentication Modes for details.--session-tokenstring Session token for the Session Service API --identity-tokenstring Identity token (JWT)
Flag Type Default Description --assetspath ../HytaleAssetsAsset directory or zip file --modspaths Additional mod directories (comma-separated) --early-pluginspaths Early plugin directories (comma-separated, requires --accept-early-plugins) --accept-early-pluginsflag Acknowledges that early plugins are unsupported and may cause instability --disable-asset-compareflag Disables asset comparison --disable-file-watcherflag Disables hot-reload file watching
Flag Type Description --validate-assetsflag Exit with error if any assets are invalid --validate-prefabsoptions Exit with error if any prefabs are invalid. Optional validation options: PHYSICS, BLOCKS, BLOCK_STATES, ENTITIES, BLOCK_FILLER (comma-separated). --validate-world-genflag Exit with error if default world gen config is invalid --shutdown-after-validateflag Shut down after validation completes. Also sets log level to WARNING. --generate-schemaflag Generate JSON schemas into the assets directory, then exit
These flags are designed for CI pipelines and tooling:
java -jar HytaleServer.jar \
--shutdown-after-validate \
Flag Type Description --universepath Universe directory (where worlds are stored) --world-genpath World generation config directory
Flag Type Description --disable-cpb-buildflag Disables building compact prefab buffers --prefab-cachepath Prefab cache directory for immutable assets
Flag Type Default Description --backupflag Enables periodic backups --backup-dirpath Backup directory (required if --backup is set) --backup-frequencyinteger 30Backup interval in minutes --backup-max-countinteger 5Maximum number of backups to keep
Flag Type Description --singleplayerflag Runs in singleplayer mode --owner-namestring Owner player name --owner-uuidUUID Owner player UUID --client-pidinteger Client process ID (used to monitor the client process)
Flag Type Description --migrationsname=pathMigrations to run (comma-separated name=/path pairs) --migrate-worldsstrings Worlds to migrate (comma-separated, only available when --migrations is set)
Flag Type Description --loglevels Set logger levels. --log WARNING for global, or --log com.foo:FINE,com.bar:WARNING per-package. Uses java.util.logging.Level names. --boot-commandstrings Commands to run on boot (comma-separated, executed synchronously in order) --allow-opflag Allows the self-op command --event-debugflag Enables event debug logging --disable-sentryflag Disables Sentry error reporting