Examples of disablePlugin()


Examples of com.gitblit.manager.IGitblit.disablePlugin()

      PluginWrapper pluginWrapper = getPlugin(id);
      if (pluginWrapper == null) {
        throw new UnloggedFailure("Invalid plugin specified!");
      }

      if (gitblit.disablePlugin(pluginWrapper.getPluginId())) {
        stdout.println(String.format("Disabled %s", pluginWrapper.getPluginId()));
      } else {
        throw new UnloggedFailure(1, String.format("Failed to disable %s", pluginWrapper.getPluginId()));
      }
    }
View Full Code Here

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

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

        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

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

            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.