From 6768854eda2373c4a68e1df6f4bea7a62494052c Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 2 Jun 2013 18:17:33 +0200 Subject: [PATCH] Added new blocked wildcards This is to stop people from being able to abuse admin or going rogue as easily --- .../Commands/Command_wildcard.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_wildcard.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_wildcard.java index 2fc5af26..63431743 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_wildcard.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_wildcard.java @@ -18,6 +18,21 @@ public class Command_wildcard extends TFM_Command playerMsg("What the hell are you trying to do, you stupid idiot...", ChatColor.RED); return true; } + if (args[0].equals("gtfo")) + { + playerMsg("Nice try", ChatColor.RED); + return true; + } + if (args[0].equals("doom")) + { + playerMsg("Look, we all hate people, but this is not the way to deal with it, doom is evil enough!", ChatColor.RED); + return true; + } + if (args[0].equals("saconfig")) + { + playerMsg("WOA, WTF are you trying to do???", ChatColor.RED); + return true; + } String base_command = StringUtils.join(args, " ");