mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added sendUsage() port
This commit is contained in:
parent
ee12b41c39
commit
409f0670bd
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue