Class ServerConfig
Server-wide settings loaded from config.json. Mirrors the core of the upstream
HytaleServerConfig (server identity + player limits); bind address stays a CLI option, and
transient/auth details live elsewhere. Provided to the service registry so modules can read it.
public sealed class ServerConfig
- Inheritance
-
ServerConfig
- Inherited Members
Properties
AssetsPath
Path to the asset pack (contains Common/ and Server/).
public string AssetsPath { get; set; }
Property Value
CommandPrefix
The leading marker required for console/chat commands (default /).
public string CommandPrefix { get; set; }
Property Value
DefaultWorld
public string DefaultWorld { get; set; }
Property Value
DisabledModules
Modules to skip loading, by name or Group:Name id (case-insensitive). Everything is enabled
by default; a disabled module that another enabled module hard-depends on will fail the load.
public string[] DisabledModules { get; set; }
Property Value
- string[]
MaxPlayers
public int MaxPlayers { get; set; }
Property Value
MaxViewRadius
public int MaxViewRadius { get; set; }
Property Value
Motd
Message of the day shown to clients.
public string Motd { get; set; }
Property Value
Password
Optional server password ("" = none).
public string Password { get; set; }
Property Value
ServerName
public string ServerName { get; set; }
Property Value
TelemetryEnabled
public bool TelemetryEnabled { get; set; }
Property Value
Version
Schema version, for future migrations.
public int Version { get; set; }