Package com.kellerkindt.scs.balance

Examples of com.kellerkindt.scs.balance.DummyBalance


   
    // Not found any economy system?
    if (this.balance == null) {
      log(Level.WARNING, "No economy system found, using dummy economy system!", false);
      log(Level.WARNING, "Please get a plugin, either iMonies, EssentialsEco, iConomy, or BOSEconomy!", false);
      this.balance = new DummyBalance(this);
    }
   
    //Instantiate and Register the listeners.  Do this last to avoid NPEs for chunk load events.
    log(Level.INFO, "Register event listeners.", true);
    registerEvents(new PlayerListener  (this));
View Full Code Here


  public void unHookPlugin (Plugin plugin) {
    String className  = plugin.getClass().getName();
   
    if (className.equals("com.iConomy.iConomy")) {
      log(Level.INFO, "Un-hooked iConomy", true);
      this.balance = new DummyBalance(this);
    }
   
    if (className.equals("com.iCo6.iConomy")) {
      log(Level.INFO, "Un-hooked iConomy", true);
      this.balance = new DummyBalance(this);
    }
   
    if (className.equals("com.iCo8.iConomy")) {
      log(Level.INFO, "Un-hooked iConomy", true);
      this.balance = new DummyBalance(this);
    }
   
    if (this.permission != null) {
      if (!this.permission.isEnabled()) {
        log(Level.INFO, "Un-hooked Permissions", true);
        this.permission = null;
      }
    }

    if (className.equals("cosine.boseconomy.BOSEconomy")) {
      log(Level.INFO, "Un-hooked BOSEconomy", true);
      this.balance = new DummyBalance(this);
    }
   
    // Towny
    if (className.equals("com.palmergames.bukkit.towny.Towny")) {
      log(Level.INFO, "Un-hooked Towny", true);
View Full Code Here

TOP

Related Classes of com.kellerkindt.scs.balance.DummyBalance

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.