mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Ooops!
This commit is contained in:
parent
8f1c34fdc5
commit
03b4e40bf4
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue