diff --git a/internal/quake/server/config.go b/internal/quake/server/config.go index a4b5a1f..6193094 100644 --- a/internal/quake/server/config.go +++ b/internal/quake/server/config.go @@ -123,6 +123,7 @@ type ServerConfig struct { Hostname string `name:"sv_hostname"` MaxClients int `name:"sv_maxclients"` Password string `name:"rconpassword"` + ListServer string `name:"sv_master1"` } func (c *Config) Marshal() ([]byte, error) { diff --git a/internal/quake/server/config_test.go b/internal/quake/server/config_test.go index fe21346..aa45903 100644 --- a/internal/quake/server/config_test.go +++ b/internal/quake/server/config_test.go @@ -63,6 +63,7 @@ seta sv_allowDownload "0" seta sv_hostname "quakekube" seta sv_maxclients "12" seta rconpassword "changeme" +seta sv_master1 "" set d0 "seta g_gametype 0 ; map q3dm7 ; set nextmap vstr d1" set d1 "seta g_gametype 0 ; map q3dm17 ; set nextmap vstr d2" set d2 "seta g_gametype 4 ; capturelimit 8 ; map q3wctf1 ; set nextmap vstr d3"