mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Ooops!
This commit is contained in:
parent
8f1c34fdc5
commit
03b4e40bf4
@ -77,8 +77,8 @@ class Query{
|
|||||||
"map" => $this->server->api->level->getDefault()->getName(),
|
"map" => $this->server->api->level->getDefault()->getName(),
|
||||||
"numplayers" => count($this->server->clients),
|
"numplayers" => count($this->server->clients),
|
||||||
"maxplayers" => $this->server->maxClients,
|
"maxplayers" => $this->server->maxClients,
|
||||||
"whitelist" => $this->server->api->getProperty("server-port"),
|
"whitelist" => $this->server->api->getProperty("white-list") === true ? "on":"off",
|
||||||
"hostport" => $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")
|
//"hostip" => $this->server->api->getProperty("server-ip", "0.0.0.0")
|
||||||
);
|
);
|
||||||
foreach($KVdata as $key => $value){
|
foreach($KVdata as $key => $value){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user