mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 15:36:08 +00:00
Added whitelist to Query
This commit is contained in:
@@ -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){
|
||||
|
Reference in New Issue
Block a user