added scripttitle to usage reporter
This commit is contained in:
parent
505b84169f
commit
2d18062bee
@ -54,9 +54,11 @@ class UsageReporter implements TimerListener {
|
||||
$properties['TitleId'] = $this->maniaControl->server->titleId;
|
||||
$properties['ServerName'] = $this->maniaControl->server->getName();
|
||||
$properties['PlayerCount'] = $this->maniaControl->playerManager->getPlayerCount();
|
||||
|
||||
try {
|
||||
$maxPlayers = $this->maniaControl->client->getMaxPlayers();
|
||||
$properties['MaxPlayers'] = $maxPlayers["CurrentValue"];
|
||||
$properties['ScriptTitle'] = $this->maniaControl->client->getScriptName();
|
||||
} catch(\Exception $e) {
|
||||
//do nothing
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user