aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 122c311..124d45d 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -60,7 +60,13 @@ func DefaultColors() ColorsConfig {
}
type GameConfig struct {
- TickLength int `yaml:"tick_length"`
+ TickLength int `yaml:"tick_length"`
+ StartupValidation StartupValidationConfig `yaml:"startup_validation"`
+}
+
+type StartupValidationConfig struct {
+ CheckSources []int `yaml:"check_sources"`
+ IgnoreUnreachable []int `yaml:"ignore_unreachable"`
}
type TelnetConfig struct {
@@ -91,6 +97,10 @@ func Default() *Config {
return &Config{
Game: GameConfig{
TickLength: 600,
+ StartupValidation: StartupValidationConfig{
+ CheckSources: []int{1},
+ IgnoreUnreachable: []int{},
+ },
},
Colors: DefaultColors(),
Telnet: TelnetConfig{