(REST) add max slots to /status

This commit is contained in:
k0rd 2012-02-08 00:56:45 -05:00
parent db3b928373
commit 16b3e51b4b

View file

@ -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
}
}
}