diff --git a/TShockAPI/Rest/RestManager.cs b/TShockAPI/Rest/RestManager.cs index 50e029a6..0de04184 100644 --- a/TShockAPI/Rest/RestManager.cs +++ b/TShockAPI/Rest/RestManager.cs @@ -148,6 +148,7 @@ namespace TShockAPI ret["playercount"] = Convert.ToString(activeplayers.Count()); ret["players"] = currentPlayers; + ret["maxplayers"] = TShock.Config.MaxSlots; return ret; } @@ -651,4 +652,4 @@ namespace TShockAPI #endregion } -} \ No newline at end of file +}