QueryUpdate

Core names are no longer "PocketMine-MP" but "NostalgiaCore"
This commit is contained in:
Tema1d 2022-01-21 16:58:12 +02:00 • committed by GitHub
parent f0fc837ecc
commit aab01e830b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ class QueryHandler{
"game_id" => "MINECRAFTPE",
"version" => CURRENT_MINECRAFT_VERSION,
"server_engine" => "NostalgiaCore ".MAJOR_VERSION,
"plugins" => $plist,
"plugins" => $plist, /* write "off" to turn off display of plugins in Query */
"map" => $this->server->api->level->getDefault()->getName(),
"numplayers" => count($this->server->clients),
"maxplayers" => $this->server->maxClients,