Documentation
¶
Index ¶
- Variables
- type Config
- func (c *Config) GenerateWorld(worldName, seed string)
- func (c *Config) SetDetectServerVersion(detect bool)
- func (c *Config) SetDifficulty(difficulty string) error
- func (c *Config) SetLevelType(levelType string) error
- func (c *Config) SetMotd(motd string)
- func (c *Config) SetOperators(ops []string)
- func (c *Config) SetServer(version, downloadURL string)
- func (c *Config) SetWhitelist(wlist []string)
- func (c *Config) SetWorld(worldName string, generationId string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMemoryTooSmall = errors.New("memory too small")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
C runner.GameConfig
}
func (*Config) GenerateWorld ¶
func (*Config) SetDetectServerVersion ¶
func (*Config) SetDifficulty ¶
func (*Config) SetLevelType ¶
func (*Config) SetOperators ¶
func (*Config) SetWhitelist ¶
Click to show internal directories.
Click to hide internal directories.