Add map info to status HTTP API (#21089)
This commit is contained in:
@@ -34,6 +34,7 @@ namespace Content.Server.GameTicking
|
||||
lock (_statusShellLock)
|
||||
{
|
||||
jObject["name"] = _baseServer.ServerName;
|
||||
jObject["map"] = _gameMapManager.GetSelectedMap()?.MapName;
|
||||
jObject["players"] = _playerManager.PlayerCount;
|
||||
jObject["soft_max_players"] = _cfg.GetCVar(CCVars.SoftMaxPlayers);
|
||||
jObject["run_level"] = (int) _runLevel;
|
||||
|
||||
Reference in New Issue
Block a user