From fcde7547842000983c5266242873fbdd1e728eaf Mon Sep 17 00:00:00 2001 From: Steven French Date: Sat, 23 Jul 2011 14:56:17 +1200 Subject: [PATCH] Adds new permissions to DBEditor --- DBEditor/CommandList.cs | 5 ++++- TShockAPI/Commands.cs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/DBEditor/CommandList.cs b/DBEditor/CommandList.cs index 617ae9f5..eb3f2af9 100644 --- a/DBEditor/CommandList.cs +++ b/DBEditor/CommandList.cs @@ -33,7 +33,10 @@ namespace TShockDBEditor CommandList.Add("logs"); CommandList.Add("kill"); CommandList.Add("butcher"); - CommandList.Add("cheat"); + CommandList.Add("item"); + CommandList.Add("heal"); + CommandList.Add("whisper"); + CommandList.Add("annoy"); CommandList.Add("immunetokick"); CommandList.Add("immunetoban"); CommandList.Add("ignorecheatdetection"); diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index e3a6ed6b..61d87ee8 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -110,6 +110,7 @@ namespace TShockAPI public static void InitCommands() { + //When adding new perm in here, add new perm to CommandList in DBEditor ChatCommands.Add(new Command("kick", Kick, "kick")); ChatCommands.Add(new Command("ban", Ban, "ban")); ChatCommands.Add(new Command("ban", BanIP, "banip"));