Package com.onarandombox.MultiverseCore.event

Examples of com.onarandombox.MultiverseCore.event.MVConfigReloadEvent


        List<String> configsLoaded = new ArrayList<String>();
        configsLoaded.add("Multiverse-Core - config.yml");
        configsLoaded.add("Multiverse-Core - worlds.yml");
        configsLoaded.add("Multiverse-Core - anchors.yml");
        // Create the event
        MVConfigReloadEvent configReload = new MVConfigReloadEvent(configsLoaded);
        // Fire it off
        this.plugin.getServer().getPluginManager().callEvent(configReload);
        for (String s : configReload.getAllConfigsLoaded()) {
            sender.sendMessage(s);
        }

        sender.sendMessage(ChatColor.GREEN + "Reload Complete!");
    }
View Full Code Here

TOP

Related Classes of com.onarandombox.MultiverseCore.event.MVConfigReloadEvent

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.