mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Visual changes.
This commit is contained in:
parent
64967db3b8
commit
f0fc837ecc
1 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ class QueryHandler{
|
||||||
|
|
||||||
public function regenerateInfo(){
|
public function regenerateInfo(){
|
||||||
$str = "";
|
$str = "";
|
||||||
$plist = "PocketMine-MP ".MAJOR_VERSION;
|
$plist = "NostalgiaCore ".MAJOR_VERSION;
|
||||||
$pl = $this->server->api->plugin->getList();
|
$pl = $this->server->api->plugin->getList();
|
||||||
if(count($pl) > 0){
|
if(count($pl) > 0){
|
||||||
$plist .= ":";
|
$plist .= ":";
|
||||||
|
|
@ -66,7 +66,7 @@ class QueryHandler{
|
||||||
"gametype" => ($this->server->gamemode & 0x01) === 0 ? "SMP":"CMP",
|
"gametype" => ($this->server->gamemode & 0x01) === 0 ? "SMP":"CMP",
|
||||||
"game_id" => "MINECRAFTPE",
|
"game_id" => "MINECRAFTPE",
|
||||||
"version" => CURRENT_MINECRAFT_VERSION,
|
"version" => CURRENT_MINECRAFT_VERSION,
|
||||||
"server_engine" => "PocketMine-MP ".MAJOR_VERSION,
|
"server_engine" => "NostalgiaCore ".MAJOR_VERSION,
|
||||||
"plugins" => $plist,
|
"plugins" => $plist,
|
||||||
"map" => $this->server->api->level->getDefault()->getName(),
|
"map" => $this->server->api->level->getDefault()->getName(),
|
||||||
"numplayers" => count($this->server->clients),
|
"numplayers" => count($this->server->clients),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue