Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoMineConfig ¶
type GoMineConfig struct { ServerName string `yaml:"Server LAN Name"` ServerMotd string `yaml:"Server MOTD"` ServerIp string `yaml:"Server IP"` ServerPort uint16 `yaml:"Server Port"` MaximumPlayers uint `yaml:"Maximum Players"` DefaultGameMode byte `yaml:"Default Gamemode"` DebugMode bool `yaml:"Debug Mode"` DefaultLevel string `yaml:"Default Level"` DefaultGenerator string `yaml:"Default Generator"` ForceResourcePacks bool `yaml:"Forced Resource Packs"` SelectedResourcePack string `yaml:"Selected Resource Pack"` XBOXLiveAuth bool `yaml:"XBOX Live Auth"` UseEncryption bool `yaml:"Use Encryption"` AllowQuery bool `yaml:"Allow Query"` AllowPluginQuery bool `yaml:"Allow Plugin Query"` MaxViewDistance int32 `yaml:"Max View Distance"` }
func NewGoMineConfig ¶
func NewGoMineConfig(serverPath string) *GoMineConfig
NewGoMineConfig returns a new configuration struct. Creates the file if it does not yet exist.
Click to show internal directories.
Click to hide internal directories.