mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
more blocked names
This commit is contained in:
parent
158ef0b62f
commit
7037dde3f5
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ public class CreateSubcommand extends Common implements CommandExecutor
|
||||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
|
||||||
{
|
{
|
||||||
List<String> BLACKLISTED_NAMES = Arrays.asList(
|
List<String> BLACKLISTED_NAMES = Arrays.asList(
|
||||||
"admin", "owner", "moderator", "developer", "console", "dev", "staff", "mod", "sra", "tca", "sta", "sa");
|
"admin", "owner", "moderator", "developer", "console", "dev", "staff", "mod", "sra", "sta", "sa", "super admin", "telnet admin", "senior admin");
|
||||||
|
|
||||||
if (sender instanceof ConsoleCommandSender)
|
if (sender instanceof ConsoleCommandSender)
|
||||||
{
|
{
|
||||||
|
@ -82,4 +82,4 @@ public class CreateSubcommand extends Common implements CommandExecutor
|
||||||
Bukkit.broadcastMessage(GUtil.colorize(tl("%p%" + sender.getName() + " has created guild %p%&l" + name)));
|
Bukkit.broadcastMessage(GUtil.colorize(tl("%p%" + sender.getName() + " has created guild %p%&l" + name)));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue