From b99da71d58c98e249eb11b2c0588e8e45538c81a Mon Sep 17 00:00:00 2001 From: ricky Date: Mon, 6 Jun 2011 19:50:34 +1000 Subject: [PATCH] Added MaxSlots on debug-config output --- TShockAPI/Commands.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index b8215ffe..cbfbae25 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -143,14 +143,17 @@ namespace TShockAPI lineTwo += "KickTnt : " + ConfigurationManager.kickTnt + ", "; lineTwo += "BanBoom : " + ConfigurationManager.banBoom + ", "; lineTwo += "KickBoom : " + ConfigurationManager.kickBoom; - Tools.SendMessage(ply, lineTwo, new[] {255f, 255f, 0f}); + Tools.SendMessage(ply, lineTwo, new[] { 255f, 255f, 0f }); string lineThree = ""; lineThree += "InvMultiplier : " + ConfigurationManager.invasionMultiplier + ", "; lineThree += "ProtectS : " + ConfigurationManager.spawnProtect + ", "; lineThree += "ProtectR : " + ConfigurationManager.spawnProtectRadius + ", "; lineThree += "DMS : " + ConfigurationManager.defaultMaxSpawns + ", "; - lineThree += "SpawnRate: " + ConfigurationManager.defaultSpawnRate + ", "; - Tools.SendMessage(ply, lineThree, new[] {255f, 255f, 0f}); + lineThree += "SpawnRate: " + ConfigurationManager.defaultSpawnRate; + Tools.SendMessage(ply, lineThree, new[] { 255f, 255f, 0f }); + string lineFour = ""; + lineFour += "MaxSlots : " + ConfigurationManager.maxSlots + ", "; + Tools.SendMessage(ply, lineFour, new[] { 255f, 255f, 0f }); } public static void Kick(CommandArgs args)