From bf60e34b18e04bb027e9a85f67845deca1f1e60c Mon Sep 17 00:00:00 2001 From: Laurens de Voogd Date: Wed, 25 Jun 2014 00:24:20 +0200 Subject: [PATCH] Added TShock version --- TShockAPI/Rest/RestManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TShockAPI/Rest/RestManager.cs b/TShockAPI/Rest/RestManager.cs index d6deacfc..e1e53b77 100644 --- a/TShockAPI/Rest/RestManager.cs +++ b/TShockAPI/Rest/RestManager.cs @@ -224,6 +224,7 @@ namespace TShockAPI { {"name", TShock.Config.ServerName}, {"version", Main.versionNumber}, + {"tshock version", TShock.VersionNum}, {"port", TShock.Config.ServerPort}, {"playercount", Main.player.Where(p => null != p && p.active).Count()}, {"maxplayers", TShock.Config.MaxSlots},