Server Launch Arguments
Server Launch Arguments
Section titled “Server Launch Arguments”Complete reference of all command-line arguments available when launching the HytaleServer.
General Options
Section titled “General Options”--help
Section titled “--help”Prints the help message with all available options.
--version
Section titled “--version”Prints version information including the build version, patchline, and environment.
--bare
Section titled “--bare”Runs the server in bare mode without:
- Loading worlds
- Binding to ports
- Creating directories
Note: Plugins will still be loaded and may not respect this flag.
Asset Management
Section titled “Asset Management”--assets (alias: --assets)
Section titled “--assets (alias: --assets)”Specifies the asset directory path.
Type: Directory or ZIP file
Default: ../HytaleAssets
Example: --assets "C:\path\to\HytaleAssets"
--generate-schema
Section titled “--generate-schema”Generates JSON schemas for all registered asset types, saves them to the assets directory’s Schema/ subdirectory, and then exits.
Requirements:
- Valid asset pack with writable
manifest.json - Asset pack must not be immutable (read-only)
Output Location: {AssetDirectory}/Schema/
--validate-assets
Section titled “--validate-assets”Causes the server to exit with an error code if any assets are invalid.
--validate-prefabs (optional argument)
Section titled “--validate-prefabs (optional argument)”Validates prefabs and exits with an error code if any are invalid.
Optional Value: Comma-separated list of ValidationOption values
--validate-world-gen
Section titled “--validate-world-gen”Validates default world generation and exits with an error code if it’s invalid.
--shutdown-after-validate
Section titled “--shutdown-after-validate”Automatically shuts down the server after asset and/or prefab validation completes.
--disable-file-watcher
Section titled “--disable-file-watcher”Disables the file watcher that monitors asset files for changes.
--disable-asset-compare
Section titled “--disable-asset-compare”Disables asset comparison functionality.
Network Configuration
Section titled “Network Configuration”--bind, -b
Section titled “--bind, -b”Specifies the address and port to listen on.
Type: Socket address (host:port or just port)
Default: 5520
Examples:
--bind 5520(localhost:5520)--bind localhost:8080--bind 192.168.1.100:5520
Can specify multiple addresses separated by commas.
--transport, -t
Section titled “--transport, -t”Specifies the network transport type.
Type: QUIC | TCP
Default: QUIC
Example: --transport TCP
Logging
Section titled “Logging”Sets the logger level for the server and specific modules.
Format: --log LEVEL or --log MODULE:LEVEL
Levels: ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, OFF
Examples:
--log INFO(set all loggers to INFO)--log com.hypixel:DEBUG(specific module at DEBUG level)--log INFO,com.hypixel.hytale:WARNING(multiple settings)
Prefab & Cache
Section titled “Prefab & Cache”--prefab-cache
Section titled “--prefab-cache”Specifies the prefab cache directory for immutable assets.
Type: Directory path
Example: --prefab-cache "C:\path\to\cache"
--disable-cpb-build
Section titled “--disable-cpb-build”Disables building of compact prefab buffers.
World Management
Section titled “World Management”--universe
Section titled “--universe”Specifies the universe (world data) directory.
Type: Directory path
Example: --universe "C:\path\to\universe"
--world-gen
Section titled “--world-gen”Specifies the world generation directory.
Type: Directory path
Example: --world-gen "C:\path\to\worldgen"
--migrations
Section titled “--migrations”Specifies migrations to run with format name=path.
Format: --migrations migration1=path1,migration2=path2
Requires: --migrate-worlds option
--migrate-worlds
Section titled “--migrate-worlds”Specifies which worlds to migrate (requires --migrations).
Format: --migrate-worlds world1,world2,world3
Plugin Management
Section titled “Plugin Management”--mods
Section titled “--mods”Specifies additional mod/plugin directories to load from.
Type: Directory path (comma-separated for multiple)
Example: --mods "C:\mods\mod1","C:\mods\mod2"
--accept-early-plugins
Section titled “--accept-early-plugins”Acknowledges that loading early plugins is unsupported and may cause stability issues.
Required to use: --early-plugins
--early-plugins
Section titled “--early-plugins”Specifies additional early plugin directories to load from.
Type: Directory path (comma-separated for multiple)
Requires: --accept-early-plugins
Example: --early-plugins "C:\plugins\early" --accept-early-plugins
Backup & Storage
Section titled “Backup & Storage”--backup
Section titled “--backup”Enables automatic backups.
Requires: --backup-dir option
--backup-frequency
Section titled “--backup-frequency”Sets backup frequency in minutes.
Type: Integer
Default: 30
Example: --backup-frequency 60
--backup-dir
Section titled “--backup-dir”Specifies the backup directory.
Type: Directory path
Required if: --backup is enabled
Example: --backup-dir "C:\backups"
--backup-max-count
Section titled “--backup-max-count”Maximum number of backups to keep.
Type: Integer
Default: 5
Example: --backup-max-count 10
Singleplayer & Authentication
Section titled “Singleplayer & Authentication”--singleplayer
Section titled “--singleplayer”Runs the server in singleplayer mode.
--owner-name
Section titled “--owner-name”Specifies the owner name for singleplayer mode.
Type: String
Example: --owner-name "PlayerName"
--owner-uuid
Section titled “--owner-uuid”Specifies the owner UUID for singleplayer mode.
Type: UUID
Example: --owner-uuid "12345678-1234-5678-1234-567812345678"
--auth-mode
Section titled “--auth-mode”Sets the authentication mode.
Options: AUTHENTICATED | OFFLINE | INSECURE
Default: AUTHENTICATED
Example: --auth-mode OFFLINE
--session-token
Section titled “--session-token”Provides a session token for the Session Service API.
Type: String
--identity-token
Section titled “--identity-token”Provides an identity token (JWT) for authentication.
Type: String
System & Development
Section titled “System & Development”--event-debug
Section titled “--event-debug”Enables event debugging output.
--force-network-flush
Section titled “--force-network-flush”Forces network flush on each update.
Type: Boolean
Default: true
Example: --force-network-flush false
--disable-sentry
Section titled “--disable-sentry”Disables Sentry error reporting.
--client-pid
Section titled “--client-pid”Specifies the client process ID (used for launcher integration).
Type: Integer
Example: --client-pid 1234
--boot-command
Section titled “--boot-command”Runs commands on server boot. Multiple commands are executed synchronously in order.
Type: String (comma-separated for multiple)
Example: --boot-command "say Server starting","/op PlayerName"
--allow-op
Section titled “--allow-op”Allows operators to use /op on themselves.