Added tps into query

This commit is contained in:
ArkQuark 2022-05-13 00:27:32 +03:00
parent d18d30920f
commit 44d992dc45
2 changed files with 6 additions and 1 deletions

View file

@ -76,6 +76,7 @@ class QueryHandler{
"whitelist" => $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")
"tps" => $this->server->debugInfo()["tps"],
);
foreach($KVdata as $key => $value){
$str .= $key."\x00".$value."\x00";