mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-24 20:04:28 +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(
|
||||
"serverid" => $this->server->serverID,
|
||||
"port" => $this->server->port,
|
||||
"os" => Utils::getOS(),
|
||||
"memory_total" => $this->getProperty("memory-limit"),
|
||||
"memory_usage" => memory_get_usage(true),
|
||||
|
Loading…
x
Reference in New Issue
Block a user