mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 07:46:31 +00:00
Implement /tfipbanlist purge adminAction.
This commit is contained in:
parent
d05f8b7169
commit
49601035a5
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import java.util.Arrays;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import me.StevenLawson.TotalFreedomMod.TFM_Log;
|
||||
import me.StevenLawson.TotalFreedomMod.TFM_Util;
|
||||
import me.StevenLawson.TotalFreedomMod.TFM_ServerInterface;
|
||||
import me.StevenLawson.TotalFreedomMod.TFM_SuperadminList;
|
||||
import org.bukkit.ChatColor;
|
||||
|
@ -26,6 +27,7 @@ public class Command_tfipbanlist extends TFM_Command
|
|||
{
|
||||
try
|
||||
{
|
||||
TFM_Util.adminAction(sender.getName(), "Purging the IP ban list", true);
|
||||
TFM_ServerInterface.wipeIpBans();
|
||||
sender.sendMessage(ChatColor.GRAY + "IP ban list has been purged.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue