Package com.mcbans.firestar.mcbans.request

Examples of com.mcbans.firestar.mcbans.request.BanIpRequest


        if (!Util.isValidIP(target)){
            throw new CommandException(ChatColor.RED + _("invalidIP"));
        }

        // Start
        BanIpRequest request = new BanIpRequest(plugin, new MessageCallback(plugin, sender), target, reason, senderName, senderUUID);
        Thread triggerThread = new Thread(request);
        triggerThread.start();
    }
View Full Code Here


       
        if (reason == null || reason.length() <= 0){
            reason = plugin.getConfigs().getDefaultLocal();
        }

        BanIpRequest request = new BanIpRequest(plugin, callback, ip, reason, senderName, senderUUID);
        Thread thread = new Thread(request);
        thread.start();
    }
View Full Code Here

TOP

Related Classes of com.mcbans.firestar.mcbans.request.BanIpRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.