(REST) add max slots to /status
This commit is contained in:
parent
db3b928373
commit
16b3e51b4b
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue