mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Added new blocked wildcards
This is to stop people from being able to abuse admin or going rogue as easily
This commit is contained in:
parent
83176ba0b9
commit
6768854eda
@ -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);
|
playerMsg("What the hell are you trying to do, you stupid idiot...", ChatColor.RED);
|
||||||
return true;
|
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, " ");
|
String base_command = StringUtils.join(args, " ");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user