Program: 134203
Project: 134203
Buggy source:
@Override public boolean onCommand(CommandSender s,Command c,String label,String[] args){
  if (args.length == 0) {
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    return true;
  }
  if (Arrays.asList(reloadaliases).contains(args[0].toLowerCase())) {
    if (args.length != 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Methods.reloadPlugin();
    s.sendMessage(ChatColor.AQUA + "String_Node_Str");
    return true;
  }
  if (Arrays.asList(clearaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!(s instanceof Player)) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
    if (args.length == 1) {
      bPlayer.abilities.clear();
      for (int i=1; i <= 9; i++) {
        Methods.saveAbility(bPlayer,i,null);
      }
      s.sendMessage("String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      int slot=Integer.parseInt(args[1]);
      if (slot < 1 || slot > 9) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (bPlayer.abilities.get(slot) != null) {
        bPlayer.abilities.remove(slot);
        Methods.saveAbility(bPlayer,slot,null);
      }
      s.sendMessage("String_Node_Str" + slot);
      return true;
    }
  }
  if (Arrays.asList(bindaliases).contains(args[0].toLowerCase())) {
    if (args.length > 3 || args.length == 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!(s instanceof Player)) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      String abil=args[1];
      if (!Methods.abilityExists(abil)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String ability=Methods.getAbility(abil);
      if (!Methods.hasPermission((Player)s,ability)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (Methods.isAirAbility(ability) && !Methods.isBender(s.getName(),Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isWaterAbility(ability) && !Methods.isBender(s.getName(),Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isEarthAbility(ability) && !Methods.isBender(s.getName(),Element.Earth)) {
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isFireAbility(ability) && !Methods.isBender(s.getName(),Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isChiAbility(ability) && !Methods.isBender(s.getName(),Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      Methods.bindAbility((Player)s,ability);
      return true;
    }
    if (args.length == 3) {
      String abil=args[1];
      if (!Methods.abilityExists(abil)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String ability=Methods.getAbility(abil);
      int slot=0;
      try {
        slot=Integer.parseInt(args[2]);
      }
 catch (      NumberFormatException e) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (slot < 1 || slot > 9) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!Methods.hasPermission((Player)s,ability)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (Methods.isAirAbility(ability) && !Methods.isBender(s.getName(),Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isWaterAbility(ability) && !Methods.isBender(s.getName(),Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isEarthAbility(ability) && !Methods.isBender(s.getName(),Element.Earth)) {
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isFireAbility(ability) && !Methods.isBender(s.getName(),Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isChiAbility(ability) && !Methods.isBender(s.getName(),Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      Methods.bindAbility((Player)s,ability,slot);
      return true;
    }
  }
  if (Arrays.asList(importaliases).contains(args[0].toLowerCase())) {
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!Methods.isImportEnabled()) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    s.sendMessage(ChatColor.GREEN + "String_Node_Str");
    File bendingPlayersFile=new File("String_Node_Str","String_Node_Str");
    FileConfiguration bendingPlayers=YamlConfiguration.loadConfiguration(bendingPlayersFile);
    final LinkedList<BendingPlayer> bPlayers=new LinkedList<BendingPlayer>();
    for (    String string : bendingPlayers.getConfigurationSection("String_Node_Str").getKeys(false)) {
      if (string.equalsIgnoreCase("String_Node_Str"))       continue;
      String playername=string;
      UUID uuid=Bukkit.getOfflinePlayer(playername).getUniqueId();
      ArrayList<Element> element=new ArrayList<Element>();
      List<Integer> oe=bendingPlayers.getIntegerList(string + "String_Node_Str");
      HashMap<Integer,String> abilities=new HashMap<Integer,String>();
      List<Integer> oa=bendingPlayers.getIntegerList(string + "String_Node_Str");
      boolean permaremoved=bendingPlayers.getBoolean(string + "String_Node_Str");
      int slot=1;
      for (      int i : oa) {
        if (StockAbilities.getAbility(i) != null) {
          abilities.put(slot,StockAbilities.getAbility(i).toString());
          slot++;
        }
 else {
          abilities.put(slot,null);
          slot++;
        }
      }
      for (      int i : oe) {
        if (Element.getType(i) != null) {
          element.add(Element.getType(i));
        }
      }
      BendingPlayer bPlayer=new BendingPlayer(uuid,playername,element,abilities,permaremoved);
      bPlayers.add(bPlayer);
    }
    final int total=bPlayers.size();
    final CommandSender sender=s;
    s.sendMessage(ChatColor.GREEN + "String_Node_Str");
    if (debug) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    importTask=Bukkit.getServer().getScheduler().runTaskTimerAsynchronously(plugin,new Runnable(){
      public void run(){
        int i=0;
        if (i >= 10) {
          sender.sendMessage(ChatColor.GREEN + "String_Node_Str" + total+ "String_Node_Str");
          return;
        }
        while (i < 10) {
          if (bPlayers.isEmpty()) {
            sender.sendMessage(ChatColor.GREEN + "String_Node_Str");
            Bukkit.getServer().getScheduler().cancelTask(importTask.getTaskId());
            plugin.getConfig().set("String_Node_Str",false);
            plugin.saveConfig();
            for (            Player player : Bukkit.getOnlinePlayers()) {
              Methods.createBendingPlayer(player.getUniqueId(),player.getName());
            }
            return;
          }
          StringBuilder elements=new StringBuilder();
          BendingPlayer bPlayer=bPlayers.pop();
          if (bPlayer.hasElement(Element.Air))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Water))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Earth))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Fire))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Chi))           elements.append("String_Node_Str");
          HashMap<Integer,String> abilities=bPlayer.abilities;
          ResultSet rs2=DBConnection.sql.readQuery("String_Node_Str" + bPlayer.uuid.toString() + "String_Node_Str");
          try {
            if (rs2.next()) {
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.player + "String_Node_Str"+ bPlayer.uuid.toString());
              DBConnection.sql.modifyQuery("String_Node_Str" + elements + "String_Node_Str"+ bPlayer.uuid.toString());
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.isPermaRemoved() + "String_Node_Str"+ bPlayer.uuid.toString());
              for (int slot=1; slot < 10; slot++) {
                DBConnection.sql.modifyQuery("String_Node_Str" + slot + "String_Node_Str"+ abilities.get(slot)+ "String_Node_Str"+ bPlayer.getPlayerName()+ "String_Node_Str");
              }
            }
 else {
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.uuid.toString() + "String_Node_Str"+ bPlayer.player+ "String_Node_Str"+ elements+ "String_Node_Str"+ bPlayer.isPermaRemoved()+ "String_Node_Str");
              for (int slot=1; slot < 10; slot++) {
                DBConnection.sql.modifyQuery("String_Node_Str" + slot + "String_Node_Str"+ abilities.get(slot)+ "String_Node_Str"+ bPlayer.getPlayerName()+ "String_Node_Str");
              }
            }
          }
 catch (          SQLException ex) {
            ex.printStackTrace();
          }
          i++;
          if (debug) {
            System.out.println("String_Node_Str" + bPlayer.player + "String_Node_Str"+ bPlayers.size()+ "String_Node_Str");
          }
        }
      }
    }
,0,40);
    return true;
  }
  if (Arrays.asList(displayaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.airbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getAirColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.airbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getAirColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.waterbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.waterbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getWaterColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.earthbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.earthbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            if (Methods.isMetalbendingAbility(st)) {
              s.sendMessage(Methods.getMetalbendingColor() + st);
            }
 else {
              s.sendMessage(Methods.getEarthColor() + st);
            }
          }
        }
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.firebendingabilities.isEmpty()) {
          s.sendMessage(Methods.getFireColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.firebendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getFireColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.chiabilities.isEmpty()) {
          s.sendMessage(Methods.getChiColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.chiabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getChiColor() + st);
          }
        }
        return true;
      }
 else {
        s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ "String_Node_Str"+ Methods.getAirColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getWaterColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getEarthColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getFireColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getChiColor()+ "String_Node_Str");
      }
    }
    if (args.length == 1) {
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      HashMap<Integer,String> abilities=bPlayer.abilities;
      if (abilities.isEmpty()) {
        s.sendMessage("String_Node_Str");
        s.sendMessage("String_Node_Str");
        return true;
      }
      for (int i=1; i <= 9; i++) {
        String ability=abilities.get(i);
        if (ability != null)         s.sendMessage(i + "String_Node_Str" + Methods.getAbilityColor(ability)+ ability);
      }
      return true;
    }
  }
  if (Arrays.asList(togglealiases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (args.length == 1) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (bPlayer.isToggled) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        bPlayer.isToggled=false;
        return true;
      }
 else {
        s.sendMessage(ChatColor.GREEN + "String_Node_Str");
        bPlayer.isToggled=true;
        return true;
      }
    }
 else     if (args.length == 2 && args[1].equalsIgnoreCase("String_Node_Str")) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (isToggledForAll) {
        isToggledForAll=false;
        for (        Player player : Bukkit.getOnlinePlayers()) {
          s.sendMessage(ChatColor.GREEN + "String_Node_Str");
          return true;
        }
      }
 else {
        isToggledForAll=true;
        for (        Player player : Bukkit.getOnlinePlayers()) {
          s.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
      }
    }
 else {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
  }
  if (Arrays.asList(whoaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      Player p=Bukkit.getPlayer(args[1]);
      if (p == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String un=p.getName();
      s.sendMessage(un + "String_Node_Str");
      if (Methods.isBender(un,Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
      }
      if (Methods.isBender(un,Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        if (Methods.canPlantbend(p)) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        }
        if (Methods.canBloodbend(p)) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        }
      }
      if (Methods.isBender(un,Element.Earth)) {
        if (Methods.canMetalbend(p)) {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str" + Methods.getMetalbendingColor()+ "String_Node_Str");
        }
 else {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        }
      }
      if (Methods.isBender(un,Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
      }
      if (Methods.isBender(un,Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(un);
      if (bPlayer != null) {
        s.sendMessage("String_Node_Str");
        for (int i=1; i <= 9; i++) {
          String ability=bPlayer.getAbilities().get(i);
          if (ability == null || ability.equalsIgnoreCase("String_Node_Str")) {
            continue;
          }
 else {
            s.sendMessage(i + "String_Node_Str" + Methods.getAbilityColor(ability)+ ability);
          }
        }
      }
      if (p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")) {
        s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      }
      if (p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")) {
        s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      }
      return true;
    }
    if (args.length == 1) {
      List<String> players=new ArrayList<String>();
      for (      Player player : Bukkit.getOnlinePlayers()) {
        String un=player.getName();
        BendingPlayer bp=Methods.getBendingPlayer(un);
        if (bp.elements.size() > 1) {
          players.add(Methods.getAvatarColor() + un);
          continue;
        }
        if (bp.elements.size() == 0) {
          players.add(un);
          continue;
        }
        if (Methods.isBender(un,Element.Air)) {
          players.add(Methods.getAirColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Water)) {
          players.add(Methods.getWaterColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Earth)) {
          players.add(Methods.getEarthColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Chi)) {
          players.add(Methods.getChiColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Fire)) {
          players.add(Methods.getFireColor() + un);
          continue;
        }
      }
      for (      String st : players) {
        s.sendMessage(st);
      }
      return true;
    }
  }
  if (Arrays.asList(versionaliases).contains(args[0].toLowerCase())) {
    if (args.length != 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    s.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.RED+ "String_Node_Str"+ plugin.getDescription().getVersion());
    return true;
  }
  if (Arrays.asList(removealiases).contains(args[0].toLowerCase())) {
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player player=Bukkit.getPlayer(args[1]);
    if (player == null) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
    Methods.removeUnusableAbilities(player.getName());
    bPlayer.elements.clear();
    Methods.saveElements(bPlayer);
    s.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
    player.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.DARK_AQUA+ s.getName());
    return true;
  }
  if (Arrays.asList(permaremovealiases).contains(args[0].toLowerCase())) {
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player player=Bukkit.getPlayer(args[1]);
    if (player == null) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
    if (bPlayer.isPermaRemoved()) {
      bPlayer.permaRemoved=false;
      Methods.savePermaRemoved(bPlayer);
      s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
      return true;
    }
    bPlayer.elements.clear();
    Methods.removeUnusableAbilities(player.getName());
    Methods.saveElements(bPlayer);
    bPlayer.permaRemoved=true;
    Methods.savePermaRemoved(bPlayer);
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
    return true;
  }
  if (Arrays.asList(addaliases).contains(args[0].toLowerCase())) {
    if (args.length > 3) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 3) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Player player=Bukkit.getPlayer(args[1]);
      if (player == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
      if (Arrays.asList(airaliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Air);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getAirColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getAirColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Water);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getWaterColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Earth);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getEarthColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Fire);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getFireColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getFireColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Chi);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getChiColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getChiColor()+ "String_Node_Str");
        return true;
      }
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Air);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Water);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Earth);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Fire);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Chi);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      s.sendMessage(ChatColor.RED + "String_Node_Str");
    }
  }
  if (Arrays.asList(choosealiases).contains(args[0].toLowerCase())) {
    if (args.length > 3) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (bPlayer.isPermaRemoved()) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!bPlayer.getElements().isEmpty()) {
        if (!s.hasPermission("String_Node_Str")) {
          s.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
      }
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Air);
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Water);
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Earth);
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Fire);
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Chi);
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 3) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Player target=Bukkit.getPlayer(args[1]);
      if (target == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bTarget=Methods.getBendingPlayer(target.getName());
      if (bTarget.isPermaRemoved()) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Element e=null;
      if (Arrays.asList(airaliases).contains(args[2]))       e=Element.Air;
      if (Arrays.asList(wateraliases).contains(args[2]))       e=Element.Water;
      if (Arrays.asList(earthaliases).contains(args[2]))       e=Element.Earth;
      if (Arrays.asList(firealiases).contains(args[2]))       e=Element.Fire;
      if (Arrays.asList(chialiases).contains(args[2]))       e=Element.Chi;
      if (e == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
 else {
        bTarget.setElement(e);
        Methods.removeUnusableAbilities(target.getName());
        Methods.saveElements(bTarget);
        target.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ e.toString()+ ChatColor.RED+ "String_Node_Str"+ ChatColor.DARK_AQUA+ s.getName());
        return true;
      }
    }
  }
  if (Arrays.asList(helpaliases).contains(args[0].toLowerCase())) {
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getAirColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getWaterColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getEarthColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getFireColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getChiColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(importaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    }
    if (Arrays.asList(displayaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
    }
    if (Arrays.asList(choosealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (args[1].equalsIgnoreCase("String_Node_Str")) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(permaremovealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
      return true;
    }
    if (Arrays.asList(versionaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(removealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(togglealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (args[1].equalsIgnoreCase("String_Node_Str")) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(clearaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
    }
    if (Arrays.asList(reloadaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(bindaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
    }
    if (Methods.abilityExists(args[1])) {
      String ability=Methods.getAbility(args[1]);
      if (Methods.isAirAbility(ability)) {
        s.sendMessage(Methods.getAirColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getAirColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isWaterAbility(ability)) {
        s.sendMessage(Methods.getWaterColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getWaterColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isEarthAbility(ability)) {
        if (Methods.isMetalbendingAbility(ability)) {
          s.sendMessage(Methods.getMetalbendingColor() + ability + "String_Node_Str");
          s.sendMessage(Methods.getMetalbendingColor() + AbilityModuleManager.descriptions.get(ability));
        }
 else {
          s.sendMessage(Methods.getEarthColor() + ability + "String_Node_Str");
          s.sendMessage(Methods.getEarthColor() + AbilityModuleManager.descriptions.get(ability));
        }
      }
 else       if (Methods.isFireAbility(ability)) {
        s.sendMessage(Methods.getFireColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getFireColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isChiAbility(ability)) {
        s.sendMessage(Methods.getChiColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getChiColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else {
        s.sendMessage(Methods.getAvatarColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getAvatarColor() + AbilityModuleManager.descriptions.get(ability));
      }
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean onCommand(CommandSender s,Command c,String label,String[] args){
  if (args.length == 0) {
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.YELLOW+ "String_Node_Str");
    return true;
  }
  if (Arrays.asList(reloadaliases).contains(args[0].toLowerCase())) {
    if (args.length != 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Methods.reloadPlugin();
    s.sendMessage(ChatColor.AQUA + "String_Node_Str");
    return true;
  }
  if (Arrays.asList(clearaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!(s instanceof Player)) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
    if (args.length == 1) {
      bPlayer.abilities.clear();
      for (int i=1; i <= 9; i++) {
        Methods.saveAbility(bPlayer,i,null);
      }
      s.sendMessage("String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      try {
        int slot=Integer.parseInt(args[1]);
        if (slot < 1 || slot > 9) {
          s.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
        if (bPlayer.abilities.get(slot) != null) {
          bPlayer.abilities.remove(slot);
          Methods.saveAbility(bPlayer,slot,null);
        }
        s.sendMessage("String_Node_Str" + slot);
        return true;
      }
 catch (      NumberFormatException e) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
  }
  if (Arrays.asList(bindaliases).contains(args[0].toLowerCase())) {
    if (args.length > 3 || args.length == 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!(s instanceof Player)) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      String abil=args[1];
      if (!Methods.abilityExists(abil)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String ability=Methods.getAbility(abil);
      if (!Methods.hasPermission((Player)s,ability)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (Methods.isAirAbility(ability) && !Methods.isBender(s.getName(),Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isWaterAbility(ability) && !Methods.isBender(s.getName(),Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isEarthAbility(ability) && !Methods.isBender(s.getName(),Element.Earth)) {
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isFireAbility(ability) && !Methods.isBender(s.getName(),Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isChiAbility(ability) && !Methods.isBender(s.getName(),Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      Methods.bindAbility((Player)s,ability);
      return true;
    }
    if (args.length == 3) {
      String abil=args[1];
      if (!Methods.abilityExists(abil)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String ability=Methods.getAbility(abil);
      int slot=0;
      try {
        slot=Integer.parseInt(args[2]);
      }
 catch (      NumberFormatException e) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (slot < 1 || slot > 9) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!Methods.hasPermission((Player)s,ability)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (Methods.isAirAbility(ability) && !Methods.isBender(s.getName(),Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isWaterAbility(ability) && !Methods.isBender(s.getName(),Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isEarthAbility(ability) && !Methods.isBender(s.getName(),Element.Earth)) {
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isFireAbility(ability) && !Methods.isBender(s.getName(),Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Methods.isChiAbility(ability) && !Methods.isBender(s.getName(),Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      Methods.bindAbility((Player)s,ability,slot);
      return true;
    }
  }
  if (Arrays.asList(importaliases).contains(args[0].toLowerCase())) {
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (!Methods.isImportEnabled()) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    s.sendMessage(ChatColor.GREEN + "String_Node_Str");
    File bendingPlayersFile=new File("String_Node_Str","String_Node_Str");
    FileConfiguration bendingPlayers=YamlConfiguration.loadConfiguration(bendingPlayersFile);
    final LinkedList<BendingPlayer> bPlayers=new LinkedList<BendingPlayer>();
    for (    String string : bendingPlayers.getConfigurationSection("String_Node_Str").getKeys(false)) {
      if (string.equalsIgnoreCase("String_Node_Str"))       continue;
      String playername=string;
      UUID uuid=Bukkit.getOfflinePlayer(playername).getUniqueId();
      ArrayList<Element> element=new ArrayList<Element>();
      List<Integer> oe=bendingPlayers.getIntegerList(string + "String_Node_Str");
      HashMap<Integer,String> abilities=new HashMap<Integer,String>();
      List<Integer> oa=bendingPlayers.getIntegerList(string + "String_Node_Str");
      boolean permaremoved=bendingPlayers.getBoolean(string + "String_Node_Str");
      int slot=1;
      for (      int i : oa) {
        if (StockAbilities.getAbility(i) != null) {
          abilities.put(slot,StockAbilities.getAbility(i).toString());
          slot++;
        }
 else {
          abilities.put(slot,null);
          slot++;
        }
      }
      for (      int i : oe) {
        if (Element.getType(i) != null) {
          element.add(Element.getType(i));
        }
      }
      BendingPlayer bPlayer=new BendingPlayer(uuid,playername,element,abilities,permaremoved);
      bPlayers.add(bPlayer);
    }
    final int total=bPlayers.size();
    final CommandSender sender=s;
    s.sendMessage(ChatColor.GREEN + "String_Node_Str");
    if (debug) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    importTask=Bukkit.getServer().getScheduler().runTaskTimerAsynchronously(plugin,new Runnable(){
      public void run(){
        int i=0;
        if (i >= 10) {
          sender.sendMessage(ChatColor.GREEN + "String_Node_Str" + total+ "String_Node_Str");
          return;
        }
        while (i < 10) {
          if (bPlayers.isEmpty()) {
            sender.sendMessage(ChatColor.GREEN + "String_Node_Str");
            Bukkit.getServer().getScheduler().cancelTask(importTask.getTaskId());
            plugin.getConfig().set("String_Node_Str",false);
            plugin.saveConfig();
            for (            Player player : Bukkit.getOnlinePlayers()) {
              Methods.createBendingPlayer(player.getUniqueId(),player.getName());
            }
            return;
          }
          StringBuilder elements=new StringBuilder();
          BendingPlayer bPlayer=bPlayers.pop();
          if (bPlayer.hasElement(Element.Air))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Water))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Earth))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Fire))           elements.append("String_Node_Str");
          if (bPlayer.hasElement(Element.Chi))           elements.append("String_Node_Str");
          HashMap<Integer,String> abilities=bPlayer.abilities;
          ResultSet rs2=DBConnection.sql.readQuery("String_Node_Str" + bPlayer.uuid.toString() + "String_Node_Str");
          try {
            if (rs2.next()) {
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.player + "String_Node_Str"+ bPlayer.uuid.toString());
              DBConnection.sql.modifyQuery("String_Node_Str" + elements + "String_Node_Str"+ bPlayer.uuid.toString());
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.isPermaRemoved() + "String_Node_Str"+ bPlayer.uuid.toString());
              for (int slot=1; slot < 10; slot++) {
                DBConnection.sql.modifyQuery("String_Node_Str" + slot + "String_Node_Str"+ abilities.get(slot)+ "String_Node_Str"+ bPlayer.getPlayerName()+ "String_Node_Str");
              }
            }
 else {
              DBConnection.sql.modifyQuery("String_Node_Str" + bPlayer.uuid.toString() + "String_Node_Str"+ bPlayer.player+ "String_Node_Str"+ elements+ "String_Node_Str"+ bPlayer.isPermaRemoved()+ "String_Node_Str");
              for (int slot=1; slot < 10; slot++) {
                DBConnection.sql.modifyQuery("String_Node_Str" + slot + "String_Node_Str"+ abilities.get(slot)+ "String_Node_Str"+ bPlayer.getPlayerName()+ "String_Node_Str");
              }
            }
          }
 catch (          SQLException ex) {
            ex.printStackTrace();
          }
          i++;
          if (debug) {
            System.out.println("String_Node_Str" + bPlayer.player + "String_Node_Str"+ bPlayers.size()+ "String_Node_Str");
          }
        }
      }
    }
,0,40);
    return true;
  }
  if (Arrays.asList(displayaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.airbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getAirColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.airbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getAirColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.waterbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.waterbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getWaterColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.earthbendingabilities.isEmpty()) {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.earthbendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            if (Methods.isMetalbendingAbility(st)) {
              s.sendMessage(Methods.getMetalbendingColor() + st);
            }
 else {
              s.sendMessage(Methods.getEarthColor() + st);
            }
          }
        }
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.firebendingabilities.isEmpty()) {
          s.sendMessage(Methods.getFireColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.firebendingabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getFireColor() + st);
          }
        }
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        if (AbilityModuleManager.chiabilities.isEmpty()) {
          s.sendMessage(Methods.getChiColor() + "String_Node_Str");
          return true;
        }
        for (        String st : AbilityModuleManager.chiabilities) {
          if (Methods.hasPermission((Player)s,st)) {
            s.sendMessage(Methods.getChiColor() + st);
          }
        }
        return true;
      }
 else {
        s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ "String_Node_Str"+ Methods.getAirColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getWaterColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getEarthColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getFireColor()+ "String_Node_Str"+ ChatColor.WHITE+ "String_Node_Str"+ Methods.getChiColor()+ "String_Node_Str");
      }
    }
    if (args.length == 1) {
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      HashMap<Integer,String> abilities=bPlayer.abilities;
      if (abilities.isEmpty()) {
        s.sendMessage("String_Node_Str");
        s.sendMessage("String_Node_Str");
        return true;
      }
      for (int i=1; i <= 9; i++) {
        String ability=abilities.get(i);
        if (ability != null)         s.sendMessage(i + "String_Node_Str" + Methods.getAbilityColor(ability)+ ability);
      }
      return true;
    }
  }
  if (Arrays.asList(togglealiases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (args.length == 1) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (bPlayer.isToggled) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        bPlayer.isToggled=false;
        return true;
      }
 else {
        s.sendMessage(ChatColor.GREEN + "String_Node_Str");
        bPlayer.isToggled=true;
        return true;
      }
    }
 else     if (args.length == 2 && args[1].equalsIgnoreCase("String_Node_Str")) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (isToggledForAll) {
        isToggledForAll=false;
        for (        Player player : Bukkit.getOnlinePlayers()) {
          s.sendMessage(ChatColor.GREEN + "String_Node_Str");
          return true;
        }
      }
 else {
        isToggledForAll=true;
        for (        Player player : Bukkit.getOnlinePlayers()) {
          s.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
      }
    }
 else {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
  }
  if (Arrays.asList(whoaliases).contains(args[0].toLowerCase())) {
    if (args.length > 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      Player p=Bukkit.getPlayer(args[1]);
      if (p == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String un=p.getName();
      s.sendMessage(un + "String_Node_Str");
      if (Methods.isBender(un,Element.Air)) {
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
      }
      if (Methods.isBender(un,Element.Water)) {
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        if (Methods.canPlantbend(p)) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        }
        if (Methods.canBloodbend(p)) {
          s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        }
      }
      if (Methods.isBender(un,Element.Earth)) {
        if (Methods.canMetalbend(p)) {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str" + Methods.getMetalbendingColor()+ "String_Node_Str");
        }
 else {
          s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        }
      }
      if (Methods.isBender(un,Element.Fire)) {
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
      }
      if (Methods.isBender(un,Element.Chi)) {
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(un);
      if (bPlayer != null) {
        s.sendMessage("String_Node_Str");
        for (int i=1; i <= 9; i++) {
          String ability=bPlayer.getAbilities().get(i);
          if (ability == null || ability.equalsIgnoreCase("String_Node_Str")) {
            continue;
          }
 else {
            s.sendMessage(i + "String_Node_Str" + Methods.getAbilityColor(ability)+ ability);
          }
        }
      }
      if (p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")) {
        s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      }
      if (p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str") || p.getName().equalsIgnoreCase("String_Node_Str")|| p.getName().equalsIgnoreCase("String_Node_Str")) {
        s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      }
      return true;
    }
    if (args.length == 1) {
      List<String> players=new ArrayList<String>();
      for (      Player player : Bukkit.getOnlinePlayers()) {
        String un=player.getName();
        BendingPlayer bp=Methods.getBendingPlayer(un);
        if (bp.elements.size() > 1) {
          players.add(Methods.getAvatarColor() + un);
          continue;
        }
        if (bp.elements.size() == 0) {
          players.add(un);
          continue;
        }
        if (Methods.isBender(un,Element.Air)) {
          players.add(Methods.getAirColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Water)) {
          players.add(Methods.getWaterColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Earth)) {
          players.add(Methods.getEarthColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Chi)) {
          players.add(Methods.getChiColor() + un);
          continue;
        }
        if (Methods.isBender(un,Element.Fire)) {
          players.add(Methods.getFireColor() + un);
          continue;
        }
      }
      for (      String st : players) {
        s.sendMessage(st);
      }
      return true;
    }
  }
  if (Arrays.asList(versionaliases).contains(args[0].toLowerCase())) {
    if (args.length != 1) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    s.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.RED+ "String_Node_Str"+ plugin.getDescription().getVersion());
    return true;
  }
  if (Arrays.asList(removealiases).contains(args[0].toLowerCase())) {
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player player=Bukkit.getPlayer(args[1]);
    if (player == null) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
    Methods.removeUnusableAbilities(player.getName());
    bPlayer.elements.clear();
    Methods.saveElements(bPlayer);
    s.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
    player.sendMessage(ChatColor.GREEN + "String_Node_Str" + ChatColor.DARK_AQUA+ s.getName());
    return true;
  }
  if (Arrays.asList(permaremovealiases).contains(args[0].toLowerCase())) {
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player player=Bukkit.getPlayer(args[1]);
    if (player == null) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
    if (bPlayer.isPermaRemoved()) {
      bPlayer.permaRemoved=false;
      Methods.savePermaRemoved(bPlayer);
      s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
      return true;
    }
    bPlayer.elements.clear();
    Methods.removeUnusableAbilities(player.getName());
    Methods.saveElements(bPlayer);
    bPlayer.permaRemoved=true;
    Methods.savePermaRemoved(bPlayer);
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    s.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ player.getName());
    return true;
  }
  if (Arrays.asList(addaliases).contains(args[0].toLowerCase())) {
    if (args.length > 3) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 3) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Player player=Bukkit.getPlayer(args[1]);
      if (player == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(player.getName());
      if (Arrays.asList(airaliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Air);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getAirColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getAirColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Water);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getWaterColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Earth);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getEarthColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Fire);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getFireColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getFireColor()+ "String_Node_Str");
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[2].toLowerCase())) {
        bPlayer.addElement(Element.Chi);
        Methods.saveElements(bPlayer);
        player.sendMessage(Methods.getChiColor() + "String_Node_Str");
        s.sendMessage(ChatColor.DARK_AQUA + player.getName() + Methods.getChiColor()+ "String_Node_Str");
        return true;
      }
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Air);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Water);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Earth);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Fire);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        bPlayer.addElement(Element.Chi);
        Methods.saveElements(bPlayer);
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        return true;
      }
      s.sendMessage(ChatColor.RED + "String_Node_Str");
    }
  }
  if (Arrays.asList(choosealiases).contains(args[0].toLowerCase())) {
    if (args.length > 3) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 2) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!(s instanceof Player)) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bPlayer=Methods.getBendingPlayer(s.getName());
      if (bPlayer.isPermaRemoved()) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      if (!bPlayer.getElements().isEmpty()) {
        if (!s.hasPermission("String_Node_Str")) {
          s.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
      }
      if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Air);
        s.sendMessage(Methods.getAirColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Water);
        s.sendMessage(Methods.getWaterColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Earth);
        s.sendMessage(Methods.getEarthColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Fire);
        s.sendMessage(Methods.getFireColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
        bPlayer.setElement(Element.Chi);
        s.sendMessage(Methods.getChiColor() + "String_Node_Str");
        Methods.removeUnusableAbilities(s.getName());
        Methods.saveElements(bPlayer);
        return true;
      }
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      return true;
    }
    if (args.length == 3) {
      if (!s.hasPermission("String_Node_Str")) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Player target=Bukkit.getPlayer(args[1]);
      if (target == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      BendingPlayer bTarget=Methods.getBendingPlayer(target.getName());
      if (bTarget.isPermaRemoved()) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      Element e=null;
      if (Arrays.asList(airaliases).contains(args[2]))       e=Element.Air;
      if (Arrays.asList(wateraliases).contains(args[2]))       e=Element.Water;
      if (Arrays.asList(earthaliases).contains(args[2]))       e=Element.Earth;
      if (Arrays.asList(firealiases).contains(args[2]))       e=Element.Fire;
      if (Arrays.asList(chialiases).contains(args[2]))       e=Element.Chi;
      if (e == null) {
        s.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
 else {
        bTarget.setElement(e);
        Methods.removeUnusableAbilities(target.getName());
        Methods.saveElements(bTarget);
        target.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_AQUA+ e.toString()+ ChatColor.RED+ "String_Node_Str"+ ChatColor.DARK_AQUA+ s.getName());
        return true;
      }
    }
  }
  if (Arrays.asList(helpaliases).contains(args[0].toLowerCase())) {
    if (!s.hasPermission("String_Node_Str")) {
      s.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args.length != 2) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(airaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getAirColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getWaterColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getEarthColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getFireColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
      s.sendMessage(Methods.getChiColor() + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
    }
    if (Arrays.asList(importaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    }
    if (Arrays.asList(displayaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
    }
    if (Arrays.asList(choosealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (args[1].equalsIgnoreCase("String_Node_Str")) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(permaremovealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
      return true;
    }
    if (Arrays.asList(versionaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(removealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(togglealiases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (args[1].equalsIgnoreCase("String_Node_Str")) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(clearaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
    }
    if (Arrays.asList(reloadaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str");
      return true;
    }
    if (Arrays.asList(bindaliases).contains(args[1].toLowerCase())) {
      s.sendMessage(ChatColor.GOLD + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
      s.sendMessage(ChatColor.YELLOW + "String_Node_Str" + "String_Node_Str");
    }
    if (Methods.abilityExists(args[1])) {
      String ability=Methods.getAbility(args[1]);
      if (Methods.isAirAbility(ability)) {
        s.sendMessage(Methods.getAirColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getAirColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isWaterAbility(ability)) {
        s.sendMessage(Methods.getWaterColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getWaterColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isEarthAbility(ability)) {
        if (Methods.isMetalbendingAbility(ability)) {
          s.sendMessage(Methods.getMetalbendingColor() + ability + "String_Node_Str");
          s.sendMessage(Methods.getMetalbendingColor() + AbilityModuleManager.descriptions.get(ability));
        }
 else {
          s.sendMessage(Methods.getEarthColor() + ability + "String_Node_Str");
          s.sendMessage(Methods.getEarthColor() + AbilityModuleManager.descriptions.get(ability));
        }
      }
 else       if (Methods.isFireAbility(ability)) {
        s.sendMessage(Methods.getFireColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getFireColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else       if (Methods.isChiAbility(ability)) {
        s.sendMessage(Methods.getChiColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getChiColor() + AbilityModuleManager.descriptions.get(ability));
      }
 else {
        s.sendMessage(Methods.getAvatarColor() + ability + "String_Node_Str");
        s.sendMessage(Methods.getAvatarColor() + AbilityModuleManager.descriptions.get(ability));
      }
    }
  }
  return true;
}