Skip to content

Environment Variables

This page provides a reference for all environment variables that can be used to configure your Hytale server container.

Configure container runtime behavior and user permissions.

VariableDefaultDescription
UID1000User id to run as
GID1000Group id to run as
TZUTCTimezone
SKIP_CHOWN_DATAfalseSkip ownership change of data directory

Configure automatic server file downloads and updates.

VariableDefaultDescription
AUTO_DOWNLOADtrueAuto-download server files
PATCHLINEreleaseDownload patchline (release/beta/alpha)
SKIP_DOWNLOADER_UPDATEfalseSkip downloader updates

Control JVM memory settings and options.

VariableDefaultDescription
MEMORY4GJVM heap size
MIN_MEMORY4GJVM initial heap size (-Xms), defaults to MEMORY
MAX_MEMORY4GJVM maximum heap size (-Xmx), defaults to MEMORY
JVM_OPTSExtra JVM options (array format)

Configure server logging behavior.

VariableDefaultDescription
LOG_LEVELinfoRoot logger level (trace, debug, info, warn, error)

Set server ports and network-related options.

VariableDefaultDescription
SERVER_BIND_IP0.0.0.0Server bind IP
SERVER_PORT5520Server port
TRANSPORTQUICTransport type (QUIC)

Core Hytale server settings.

VariableDefaultDescription
VariableDefaultDescription
ASSETS_PATH/data/Assets.zipAsset directory
PREFAB_CACHEPrefab cache directory for immutable assets
WORLD_GENWorld generation directory
MODS_PATHAdditional mods directories
VariableDefaultDescription
UNIVERSE_PATH/data/universeUniverse data directory
VariableDefaultDescription
AUTH_MODEauthenticatedAuthentication mode (authenticated/offline/insecure)
IDENTITY_TOKENIdentity token
SESSION_TOKENSession token for Session Service API
VariableDefaultDescription
BARE_MODEfalseRun server in bare mode
SINGLEPLAYERfalseEnable singleplayer mode
VariableDefaultDescription
ALLOW_OPfalseAllow operator permissions
VariableDefaultDescription
ACCEPT_EARLY_PLUGINSfalseLoading early plugins is unsupported and may cause stability issues
EARLY_PLUGINSEarly plugin directories
VariableDefaultDescription
BACKUP_ENABLEDfalseEnable automatic backups
BACKUP_DIRBackup storage directory
BACKUP_FREQUENCYBackup frequency in minutes
BACKUP_MAX_COUNTMaximum number of backups to keep
VariableDefaultDescription
FORCE_NETWORK_FLUSHtrueForce network flush (true/false)
VariableDefaultDescription
VALIDATE_ASSETSfalseValidate assets on startup
VALIDATE_PREFABSValidate prefabs (ValidationOption)
VALIDATE_WORLD_GENfalseValidate world generation
SHUTDOWN_AFTER_VALIDATEfalseAuto-shutdown after validation
MIGRATE_WORLDSWorlds to migrate
VariableDefaultDescription
BOOT_COMMANDCommand to run on boot
GENERATE_SCHEMAfalseGenerate schema and exit
VariableDefaultDescription
DISABLE_SENTRYfalseDisable Sentry error reporting
DISABLE_ASSET_COMPAREfalseDisable asset comparison
DISABLE_CPB_BUILDfalseDisable compact prefab buffer building
DISABLE_FILE_WATCHERfalseDisable file watcher
EVENT_DEBUGfalseEnable event debugging
OWNER_NAMEServer owner name
OWNER_UUIDServer owner UUID
CLIENT_PIDClient process ID

Pass additional custom arguments to the server.

VariableDefaultDescription
EXTRA_ARGSExtra arguments to pass to the server