Added TShock version
This commit is contained in:
parent
59ebe35650
commit
bf60e34b18
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
{"name", TShock.Config.ServerName},
|
{"name", TShock.Config.ServerName},
|
||||||
{"version", Main.versionNumber},
|
{"version", Main.versionNumber},
|
||||||
|
{"tshock version", TShock.VersionNum},
|
||||||
{"port", TShock.Config.ServerPort},
|
{"port", TShock.Config.ServerPort},
|
||||||
{"playercount", Main.player.Where(p => null != p && p.active).Count()},
|
{"playercount", Main.player.Where(p => null != p && p.active).Count()},
|
||||||
{"maxplayers", TShock.Config.MaxSlots},
|
{"maxplayers", TShock.Config.MaxSlots},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue