Package org.bukkit.plugin

Examples of org.bukkit.plugin.PluginManager.disablePlugin()


        //Initiate database connection
        try {
      new DataManager(this);
    } catch (Exception e) {
      Util.severe("Error initiating HawkEye database connection, disabling plugin");
      pm.disablePlugin(this);
      return;
    }

    checkDependencies(pm);
View Full Code Here


        boolean success = InternalAccessor.Initialize(this.getServer());

        if (!success) {
            OpenInv.log("Your version of CraftBukkit is not supported.");
            OpenInv.log("Please look for an updated version of OpenInv.");
            pm.disablePlugin(this);
            return;
        }

        playerLoader = InternalAccessor.Instance.newPlayerDataManager();
        inventoryAccess = InternalAccessor.Instance.newInventoryAccess();
View Full Code Here

            return dplay;
        }
        @Override
        public void reload() {
            PluginManager pluginManager = getServer().getPluginManager();
            pluginManager.disablePlugin(DynmapPlugin.this);
            pluginManager.enablePlugin(DynmapPlugin.this);
        }
        @Override
        public DynmapPlayer getPlayer(String name) {
            Player p = getServer().getPlayerExact(name);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.