This commit is contained in:
Shoghi Cervantes 2013-07-03 18:12:22 +02:00
parent 8f1c34fdc5
commit 03b4e40bf4

View File

@ -77,8 +77,8 @@ class Query{
"map" => $this->server->api->level->getDefault()->getName(),
"numplayers" => count($this->server->clients),
"maxplayers" => $this->server->maxClients,
"whitelist" => $this->server->api->getProperty("server-port"),
"hostport" => $this->server->api->getProperty("white-list") === true ? "on":"off",
"whitelist" => $this->server->api->getProperty("white-list") === true ? "on":"off",
"hostport" => $this->server->api->getProperty("server-port"),
//"hostip" => $this->server->api->getProperty("server-ip", "0.0.0.0")
);
foreach($KVdata as $key => $value){