<metaname="description"content="Minecraft Server {{ .Data.PageTitle }}">
<metaname="keywords"content="Minecraft Server Mine Craft {{ .Data.PageTitle }}">
<title>{{ .Data.PageTitle }}</title>
<style>
body {
color: {{ if .Dark }} #f9f9f9 {{ else }} #060606 {{ end }};
background-color: {{ if .Dark }} #050506 {{ else }} #fafaf9 {{ end }};
border-color: {{ if .Dark }} #696969 {{ else }} #969696 {{ end }};
}
a {
color: {{ if .Dark }} #b0b0f0 {{ else }} #4f4fff {{ end }};
}
.full-heading {
margin: auto;
width: 80%;
border-style: solid;
text-align: center;
background-color: {{ if .Dark }} #1d1d1e {{ else }} #e2e2e1 {{ end }};
}
.full-border {
border-width: 1px;
}
.tm-border {
border-width: 1px 1px 0px;
}
.bm-border {
border-width: 0px 1px 1px;
}
table, th, td {
margin: auto;
text-align: left;
border-style: solid;
border-width: 1px;
border-collapse: collapse;
word-break: break-word;
-ms-word-wrap: break-word;
word-wrap: break-word;
}
table, td {
background-color: {{ if .Dark }} dimgray {{ else }} lightgray {{ end }};
}
table {
width: 80%;
}
th {
background-color: {{ if .Dark }} #295d8a {{ else }} #b0c4de {{ end }};
width: 25%;
}
td {
width: 75%;
}
.centered {
text-align: center;
}
</style>
</head>
<body>
<p>
<divclass="full-heading full-border">
<h1>{{ .Data.PageTitle }}</h1>
</div>
</p>
<p>
<divclass="full-heading tm-border">
<b>
<ahref="{{ .ToggleQuery "dark"}}"title="Toggle Theme.">{{ if .Dark }}Light Mode{{ else }}Dark Mode{{ end }}</a>
</b>
</div>
<divclass="full-heading bm-border">
<b>
<ahref="{{ .ToggleQuery "extended"}}"title="Toggle Extended Information.">{{ if .ExtendedShown }}Hide Extended Information{{ else }}Show Extended Information{{ end }}</a>
</b>
</div>
</p>
<p>
<table>
<tr>
<th>Server Address</th>
<td>{{ if .Online }}{{ .Queried.Address }}{{ else }}{{ .Data.MCAddress }}{{ end }}</td>
</tr>
<tr>
<th>Server Port</th>
<td>{{ if .Online }}{{ .Queried.Port }}{{ else }}{{ .Data.MCPort }}{{ end }}</td>
</tr>
{{ if (and .ExtendedShown .Queried.Port6) }}
<tr>
<th>Server IPv6 Port</th>
<td>{{ .Queried.Port6 }}</td>
</tr>
{{ end }}
{{ if and .ExtendedShown .Data.AllowDisplayActualAddress }}
{{ if .Queried.ActualHost }}
<tr>
<th>Actual Address</th>
<td>{{ .Queried.ActualHost }}</td>
</tr>
{{ end }}
{{ if .Queried.ActualPort }}
<tr>
<th>Actual Port</th>
<td>{{ .Queried.ActualPort }}</td>
</tr>
{{ end }}
{{ end }}
{{ if .Data.AllowDisplayState }}
<tr>
<th>Server State</th>
<td>{{ if .Online }}Online{{ else }}Offline{{ end }}</td>
</tr>
{{ end }}
{{ if ne .Data.ServerDescription "" }}
<tr>
<th>Server Description</th>
<td>{{ .Data.ServerDescription }}</td>
</tr>
{{ end }}
{{ if .Online }}
{{ if .Data.AllowDisplayVersion }}
<tr>
<th>Type</th>
<td>{{ .Data.GetCleanMCType }}</td>
</tr>
{{ if .Queried.Edition }}
<tr>
<th>Edition</th>
<td>{{ .Queried.Edition }}</td>
</tr>
{{ end }}
{{ if .Queried.Version }}
<tr>
<th>Version</th>
<td>{{ .Queried.Version }}</td>
</tr>
{{ end }}
{{ if (and .ExtendedShown .Queried.ProtocolVersion) }}
<tr>
<th>Protocol Version</th>
<td>{{ .Queried.ProtocolVersion }}</td>
</tr>
{{ end }}
{{ end }}
{{ if and .Data.AllowPlayerCountDisplay (and .Queried.PlayerCount .Queried.MaxPlayers) }}
<tr>
<th>Player Count</th>
<td>{{ if .Data.AllowPlayerListing }}<ahref="{{ .ToggleQuery "players"}}"title="Toggle Player List.">{{ end }} {{ .Queried.PlayerCount }} / {{ .Queried.MaxPlayers }} {{ if .Data.AllowPlayerListing }}</a>{{ end }}</td>
</tr>
{{ end }}
{{ if .Data.AllowMOTDDisplay }}
{{ if ne .Queried.MOTD "" }}
<tr>
<th>MOTD</th>
<td>{{ .Queried.MOTD }}</td>
</tr>
{{ end }}
{{ end }}
{{ if .ExtendedShown }}
{{ if and .Data.AllowFaviconDisplay .Queried.Favicon }}
{{ if and .Data.AllowDisplayModded (gt .Queried.ModCount 0) }}
<tr>
<th>Mod Count</th>
<td>{{ if .Data.AllowModListing }}<ahref="{{ .ToggleQuery "mods"}}"title="Toggle Mod List.">{{ end }}{{ .Queried.ModCount }}{{ if .Data.AllowModListing }}</a>{{ end }}</td>