@Override
  public void onDisable() {

    // new save_invation_data_task(this, inv_data, this.inv_save_path)
    // .runTask(this);

    super.onDisable();
  }
Beispiel #2
0
 public void onDisable() {
   disabling = true;
   for (Game game : this.games.GAMES.values()) {
     if (game.getStatus() == Status.INGAME) {
       this.game.stopGame(game, 1);
     }
   }
   super.onDisable();
 }
Beispiel #3
0
  /**
   * Sets the enabled state of this plugin
   *
   * @param enabled true if enabled, otherwise false
   */
  protected void setEnabled(final boolean enabled) {
    if (isEnabled != enabled) {
      isEnabled = enabled;

      if (isEnabled) {
        onEnable();
      } else {
        onDisable();
      }
    }
  }
 @Override
 public void onDisable() {
   super.onDisable();
   portalCrafters.clear();
   // lazyWorldServerMap.clear();
 }
Beispiel #5
0
 /* (non-Javadoc)
  * Called then the plugin unloads
  */
 @Override
 public void onDisable() {
   dbHelper.stopSaverScheduler();
   dbHelper.forceSave();
   super.onDisable();
 }
Beispiel #6
0
 @Override
 public void onDisable() {
   SectionManager.me().destory();
   super.onDisable();
 }
Beispiel #7
0
 @Override
 public void onDisable() {
   // TODO Auto-generated method stub
   super.onDisable();
 }
 @Override
 public void onDisable() {
   super.onDisable(); // To change body of generated methods, choose Tools | Templates.
 }
Beispiel #9
0
 @Override
 public void onDisable() {
   super.onDisable();
 }