{{define "title"}} Serverlist :: {{.Region}} {{end}} {{define "content"}} {{ $gamemodes := .Gamemodes}} {{ $gamemodesCount := .GamemodeCount}} {{ $servers := .Servers}} {{ $flags := .Flags}} {{range $gamemode := $gamemodes -}} {{range $gamemodeCount := $gamemodesCount -}} {{if eq $gamemode.ID $gamemodeCount.ID -}}
{{range $server := $servers -}} {{if eq $gamemode.ID $server.GamemodeID -}} {{if ne $server.Map "Server didn't reply." -}} {{- end}} {{- end}} {{- end}}

{{$gamemode.Name}}

Map

Players

{{range $flag := $flags -}} {{if eq $server.ServerIP $flag.ServerIP -}} {{- end}} {{- end}} {{$server.Name}}

{{$server.Map}}

{{$server.Players}}/{{$server.MaxPlayers}}

{{range $server := $servers -}} {{if eq $gamemode.ID $server.GamemodeID -}} {{if ne $server.Map "Server didn't reply." -}} {{- end}} {{- end}} {{- end}}

{{$gamemode.Name}}

Map

Players

{{range $flag := $flags -}} {{if eq $server.ServerIP $flag.ServerIP -}} {{- end}} {{- end}} {{$server.Name}}

{{$server.Map}}

{{$server.Players}}/{{$server.MaxPlayers}}

{{- end}} {{- end}} {{- end}} {{end}}