Documentation ¶
Index ¶
Constants ¶
View Source
const MsgExpiresTime = time.Minute * 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MaxPlayers int `toml:"max-players"` ViewDistance int32 `toml:"view-distance"` ListenAddress string `toml:"listen-address"` MessageOfTheDay string `toml:"motd"` NetworkCompressionThreshold int `toml:"network-compression-threshold"` OnlineMode bool `toml:"online-mode"` LevelName string `toml:"level-name"` EnforceSecureProfile bool `toml:"enforce-secure-profile"` ChunkLoadingLimiter Limiter `toml:"chunk-loading-limiter"` PlayerChunkLoadingLimiter Limiter `toml:"player-chunk-loading-limiter"` }
Click to show internal directories.
Click to hide internal directories.