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