Package com.mcbans.firestar.mcbans.request

Examples of com.mcbans.firestar.mcbans.request.Kick


    public void kick(String targetName, String targetUUID, String senderName, String senderUUID, String reason){
        //plugin.getLog().info("Plugin " + pname + " tried to kick player " + targetName);
        reason = (reason == null || reason == "") ? plugin.getConfigs().getDefaultKick() : reason;

        // Start
        Kick kickPlayer = new Kick(plugin, targetName, targetUUID, senderName, senderUUID, reason, true);
        Thread triggerThread = new Thread(kickPlayer);
        triggerThread.start();
    }
View Full Code Here


        if (args.size() > 0){
            reason = Util.join(args, " ");
        }

        // Start
        Kick kickPlayer = new Kick(plugin, target, targetUUID, senderName, senderUUID, reason, false);
        Thread triggerThread = new Thread(kickPlayer);
        triggerThread.start();
    }
View Full Code Here

TOP

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

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.