Search in sources :

Example 1 with Manager

use of me.wiefferink.areashop.managers.Manager in project AreaShop by NLthijs48.

the class AreaShop method onDisable.

/**
 * Called on shutdown or reload of the server.
 */
public void onDisable() {
    Bukkit.getServer().getScheduler().cancelTasks(this);
    // Cleanup managers
    for (Manager manager : managers) {
        manager.shutdown();
    }
    managers = null;
    fileManager = null;
    languageManager = null;
    commandManager = null;
    signLinkerManager = null;
    featureManager = null;
    // Cleanup plugins
    worldGuard = null;
    worldGuardInterface = null;
    worldEdit = null;
    worldEditInterface = null;
    // Cleanup other stuff
    chatprefix = null;
    debug = false;
    ready = false;
    HandlerList.unregisterAll(this);
}
Also used : CommandManager(me.wiefferink.areashop.managers.CommandManager) SignLinkerManager(me.wiefferink.areashop.managers.SignLinkerManager) FileManager(me.wiefferink.areashop.managers.FileManager) FeatureManager(me.wiefferink.areashop.managers.FeatureManager) LanguageManager(me.wiefferink.interactivemessenger.source.LanguageManager) Manager(me.wiefferink.areashop.managers.Manager)

Aggregations

CommandManager (me.wiefferink.areashop.managers.CommandManager)1 FeatureManager (me.wiefferink.areashop.managers.FeatureManager)1 FileManager (me.wiefferink.areashop.managers.FileManager)1 Manager (me.wiefferink.areashop.managers.Manager)1 SignLinkerManager (me.wiefferink.areashop.managers.SignLinkerManager)1 LanguageManager (me.wiefferink.interactivemessenger.source.LanguageManager)1