blob: 8843a068eb70ac53cc263b79e4487f57e6f47ea7 (
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
25
26
27
28
|
<%
jsonrpc_include("resources.esp");
libinclude("base.js");
libinclude("management.js");
function _echo(params, error) {
var echo_string = params[0];
return echo_string;
}
jsonrpc.method.echo = _echo;
function _nbt_packet_stats(params, error) {
var stats = nbtd_statistics();
stats.server_status = new Object();
stats.server_status = server_status("nbt");
return stats;
}
jsonrpc.method.NBTPacketStats = _nbt_packet_stats;
/*
* Local Variables:
* mode: c
* End:
*/
%>
|