Package dev.aura.bungeechat.command
Class ClearChatCommand
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Command
-
- dev.aura.bungeechat.command.BaseCommand
-
- dev.aura.bungeechat.command.ClearChatCommand
-
public class ClearChatCommand extends BaseCommand
-
-
Constructor Summary
Constructors Constructor Description ClearChatCommand(ClearChatModule clearChatModule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearGlobalChat(int emptyLines)
static void
clearLocalChat(String serverName, int emptyLines)
void
execute(CommandSender sender, String[] args)
Collection<String>
tabComplete(CommandSender sender, String[] args)
-
Methods inherited from class dev.aura.bungeechat.command.BaseCommand
stringListToArray
-
Methods inherited from class net.md_5.bungee.api.plugin.Command
canEqual, equals, getAliases, getName, getPermission, hashCode, hasPermission, toString
-
-
-
-
Constructor Detail
-
ClearChatCommand
public ClearChatCommand(ClearChatModule clearChatModule)
-
-
Method Detail
-
execute
public void execute(CommandSender sender, String[] args)
-
tabComplete
public Collection<String> tabComplete(CommandSender sender, String[] args)
- Overrides:
tabComplete
in classBaseCommand
-
clearGlobalChat
public static void clearGlobalChat(int emptyLines)
-
clearLocalChat
public static void clearLocalChat(String serverName, int emptyLines)
-
-