Package net.aufdemrand.denizen.events.bukkit

Examples of net.aufdemrand.denizen.events.bukkit.ScriptFinishEvent


        // Increase finishes by one and save.
        finishes++;
        DenizenAPI._saves().set("Players." + playerName + "." + scriptName + "." + "Completed", finishes);

        // Call ScriptFinishEvent
        ScriptFinishEvent event = new ScriptFinishEvent(playerName, scriptName, finishes);
        Bukkit.getServer().getPluginManager().callEvent(event);

        return true;
    }
View Full Code Here

TOP

Related Classes of net.aufdemrand.denizen.events.bukkit.ScriptFinishEvent

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.