Package com.mcbans.firestar.mcbans.events

Examples of com.mcbans.firestar.mcbans.events.PlayerGlobalBanEvent


        }
    }

    public void globalBan() {
        // Call PlayerGlobalBanEvent
        PlayerGlobalBanEvent gBanEvent = new PlayerGlobalBanEvent(playerName, playerUUID, playerIP, senderName, senderUUID, reason);
        plugin.getServer().getPluginManager().callEvent(gBanEvent);
        if (gBanEvent.isCancelled()){
            return;
        }
        senderName = gBanEvent.getSenderName();
        reason = gBanEvent.getReason();
       
        // First, add bukkit banlist
        bukkitBan(true);

        JsonHandler webHandle = new JsonHandler(plugin);
View Full Code Here

TOP

Related Classes of com.mcbans.firestar.mcbans.events.PlayerGlobalBanEvent

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.