summaryrefslogtreecommitdiff
path: root/swat/nbt_server/index.esp
blob: 1928f12d1b40f4bce4c37312b83c9cb2ad4a3cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<% page_header("columns", "NBT Server", "nbt_server"); 

  libinclude("base.js");
  libinclude("management.js");
%>

<h1>NBT Server</h1>

<%
writefln("The NBT server is: %s\n", server_status("nbt"));
%>

<h2>Packet statistics</h2>
<%

var stats = nbtd_statistics();
if (stats == undefined) {
	writefln("nbt server not running");
} else {
	simple_table(stats);
}
%>

<% page_footer(); %>