mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-25 20:33:59 +00:00
Added sendUsage() port
This commit is contained in:
parent
ee12b41c39
commit
409f0670bd
@ -194,6 +194,7 @@ class ServerAPI{
|
|||||||
}
|
}
|
||||||
Utils::curl_post("http://stats.pocketmine.net/usage.php", array(
|
Utils::curl_post("http://stats.pocketmine.net/usage.php", array(
|
||||||
"serverid" => $this->server->serverID,
|
"serverid" => $this->server->serverID,
|
||||||
|
"port" => $this->server->port,
|
||||||
"os" => Utils::getOS(),
|
"os" => Utils::getOS(),
|
||||||
"memory_total" => $this->getProperty("memory-limit"),
|
"memory_total" => $this->getProperty("memory-limit"),
|
||||||
"memory_usage" => memory_get_usage(true),
|
"memory_usage" => memory_get_usage(true),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user