Program: 153651
Project: 153651
Buggy source:
public boolean onCommand(CommandSender sender,Command command,String commandLabel,String[] args){
  String commandName=command.getName().toLowerCase();
  Player player=null;
  String playerName="String_Node_Str";
  boolean isPlayer=(sender instanceof Player);
  if (isPlayer) {
    player=(Player)sender;
    playerName=player.getName();
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF)) && args.length > 0) {
    Player[] list=getServer().getOnlinePlayers();
    String reason=combineSplit(0,args,"String_Node_Str");
    if (list != null) {
      for (int x=0; x < list.length; x++) {
        if (list[x] != null)         list[x].kickPlayer(reason);
      }
    }
    this.log(playerName + "String_Node_Str" + reason);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    irc.getBot().quitServer("String_Node_Str");
    this.ircEnable=false;
    irc.restart=true;
    return true;
  }
  if (isPlayer && hasFlag(player,Flag.JAILED)) {
    if (commandName.equals("String_Node_Str")) {
      users.getUser(player).dropFlag(Flag.JAILED);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : rules) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : help) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : motd) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : blacklist) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : intro) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.TRUSTED)) {
    String playersName=player.getName().toLowerCase();
    if (tpProtect.getBoolean(playersName,false)) {
      tpProtect.setBoolean(playersName,false);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      tpProtect.setBoolean(playersName,true);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && (hasFlag(player,Flag.FUN))&& args.length > 0) {
    List<Player> inquest=this.minitrue.matchPlayer(args[0],this.hasFlag(player,Flag.ADMIN));
    if (inquest.size() == 1) {
      Player inquestion=inquest.get(0);
      if (minitrue.invisible(inquestion) && !hasFlag(player,Flag.ADMIN)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
      if (!hasFlag(player,Flag.ADMIN) && inquestion != null && (hasFlag(inquestion,Flag.TRUSTED)) && tpProtect.getBoolean(inquestion.getName().toLowerCase(),false)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else       if (inquestion.getName().equalsIgnoreCase(player.getName())) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.teleport(inquestion.getLocation());
        player.sendMessage("String_Node_Str");
        this.log("String_Node_Str" + player.getName() + "String_Node_Str"+ inquestion.getName());
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    List<Player> inquest=this.minitrue.matchPlayer(args[0],true);
    if (inquest.size() == 1) {
      Player inquestion=inquest.get(0);
      if (inquestion.getName().equalsIgnoreCase(player.getName())) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        inquestion.teleport(player.getLocation());
        inquestion.sendMessage("String_Node_Str");
        player.sendMessage("String_Node_Str" + inquestion.getName());
        this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str"+ inquestion.getName()+ "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.FUN))) {
    if (isPlayer && (!hasFlag(player,Flag.ADMIN) || args.length < 1)) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.teleport(player.getWorld().getSpawnLocation());
    }
 else     if (args.length == 1) {
      List<Player> inquest=this.minitrue.matchPlayer(args[0],true);
      if (inquest.size() == 1) {
        Player inquestion=inquest.get(0);
        inquestion.teleport(inquestion.getWorld().getSpawnLocation());
        inquestion.sendMessage(ChatColor.RED + "String_Node_Str");
        this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ inquestion.getName()+ "String_Node_Str");
      }
 else {
        sender.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (args.length < 2) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> inquest=this.minitrue.matchPlayer(args[0],this.hasFlag(player,Flag.ADMIN));
    if (inquest.size() == 1) {
      this.chat.handlePMsg(player,inquest.get(0),this.combineSplit(1,args,"String_Node_Str"));
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.FUN)) {
    if (args.length < 1) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player playerFor=null;
    Material material=null;
    int count=1;
    String[] gData=null;
    Byte bytedata=null;
    if (args.length >= 1) {
      gData=args[0].split("String_Node_Str");
      material=Material.matchMaterial(gData[0]);
      if (gData.length == 2) {
        try {
          bytedata=Byte.valueOf(gData[1]);
        }
 catch (        NumberFormatException e) {
          player.sendMessage("String_Node_Str");
        }
      }
    }
    if (args.length >= 2) {
      try {
        count=Integer.parseInt(args[1]);
      }
 catch (      NumberFormatException ex) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + args[1]+ "String_Node_Str");
        return false;
      }
    }
    if (args.length == 3) {
      playerFor=getServer().getPlayer(args[2]);
      if (playerFor == null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + args[2]+ "String_Node_Str");
        return false;
      }
    }
 else {
      playerFor=player;
    }
    if (material == null) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return false;
    }
    if (!hasFlag(player,Flag.ADMIN) && isOnSummonlist(material.getId())) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (bytedata != null) {
      playerFor.getInventory().addItem(new ItemStack(material,count,(short)0,bytedata));
    }
 else {
      playerFor.getInventory().addItem(new ItemStack(material,count));
    }
    player.sendMessage("String_Node_Str" + playerFor.getDisplayName() + "String_Node_Str"+ count+ "String_Node_Str"+ material.toString());
    this.log("String_Node_Str" + playerName + "String_Node_Str"+ count+ "String_Node_Str"+ material.toString());
    if ((isOnWatchlist(material.getId())) && (count > 10 || count < 1)) {
      irc.ircAdminMsg("String_Node_Str" + count + "String_Node_Str"+ material.toString()+ "String_Node_Str"+ playerName);
      this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + ChatColor.WHITE+ count+ "String_Node_Str"+ ChatColor.LIGHT_PURPLE+ material.toString()+ "String_Node_Str"+ ChatColor.WHITE+ playerName);
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length != 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    long desired;
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      desired=0;
    }
 else     if (args[0].equalsIgnoreCase("String_Node_Str")) {
      desired=13000;
    }
 else {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    long curTime=getServer().getWorlds().get(0).getTime();
    long margin=(desired - curTime) % 24000;
    if (margin < 0) {
      margin+=24000;
    }
    getServer().getWorlds().get(0).setTime(curTime + margin);
    this.sendAdminPlusLog(ChatColor.DARK_AQUA + playerName + "String_Node_Str");
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str"))) {
    minitrue.who(sender);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String message=combineSplit(0,args,"String_Node_Str");
    chat.aMsg(playerName,message);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (args.length > 0) {
      String theReport=combineSplit(0,args,"String_Node_Str");
      if (!this.hasFlag(player,Flag.ADMIN)) {
        Report report=new Report(0,player.getLocation(),player.getName(),theReport,(new Date().getTime()) / 1000,false);
        reports.addReport(report);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        String message=ChatColor.LIGHT_PURPLE + "String_Node_Str" + ChatColor.RED+ playerName+ ChatColor.LIGHT_PURPLE+ "String_Node_Str"+ ChatColor.WHITE+ theReport;
        this.sendAdminPlusLog(message);
        this.irc.ircAdminMsg(ChatColor.stripColor(message));
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      ArrayList<Report> reps=reports.getReports();
      int size=reps.size();
      if (size == 0) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str" + size+ "String_Node_Str");
      for (      Report r : reps) {
        if (!r.closed()) {
          Location location=r.getLocation();
          String x=ChatColor.GOLD.toString() + location.getBlockX() + ChatColor.DARK_PURPLE+ "String_Node_Str";
          String y=ChatColor.GOLD.toString() + location.getBlockY() + ChatColor.DARK_PURPLE+ "String_Node_Str";
          String z=ChatColor.GOLD.toString() + location.getBlockZ() + ChatColor.DARK_PURPLE;
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str" + r.getID()+ "String_Node_Str"+ x+ y+ z+ "String_Node_Str"+ ChatColor.GOLD+ r.getUser()+ ChatColor.DARK_PURPLE+ "String_Node_Str"+ ChatColor.WHITE+ r.getMessage());
        }
      }
    }
 else {
      String action=args[0].toLowerCase();
      if (action.equals("String_Node_Str")) {
        if (args.length > 2) {
          int id=Integer.parseInt(args[1]);
          if (id != 0) {
            this.reports.close(id,playerName,this.combineSplit(2,args,"String_Node_Str"));
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
        }
 else {
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
        }
      }
      if (action.equals("String_Node_Str")) {
        if (args.length > 1) {
          Report report=this.reports.getReport(Integer.valueOf(args[1]));
          if (report != null) {
            player.teleport(report.getLocation());
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
 else {
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
        }
 else {
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
        }
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String text="String_Node_Str";
    text+=combineSplit(0,args,"String_Node_Str");
    chat.gMsg(playerName,text);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Location loc;
    if (!isPlayer) {
      loc=new Location(getServer().getWorlds().get(0),0,0,0);
    }
 else {
      loc=player.getLocation();
    }
    kickbans.callBan(playerName,args,loc);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    kickbans.callKick(args[0],playerName,combineSplit(1,args,"String_Node_Str"));
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Location loc;
    if (!isPlayer) {
      loc=new Location(getServer().getWorlds().get(0),0,0,0);
    }
 else {
      loc=player.getLocation();
    }
    kickbans.callAddBan(playerName,args,loc);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String name=args[0];
    kickbans.unban(playerName,name);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (this.hasFlag(player,Flag.ADMIN)) {
      if (args.length < 2 || !(args[0].equalsIgnoreCase("String_Node_Str") || args[0].equalsIgnoreCase("String_Node_Str"))) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String name=args[1];
      if (args[0].equalsIgnoreCase("String_Node_Str")) {
        users.addFlag(name,Flag.TRUSTED);
      }
 else {
        users.dropFlag(name,Flag.TRUSTED);
      }
      String tolog=ChatColor.RED + player.getName() + "String_Node_Str"+ name+ "String_Node_Str"+ args[0]+ "String_Node_Str"+ Flag.TRUSTED.getDescription();
      this.sendAdminPlusLog(tolog);
    }
 else {
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> match=this.minitrue.matchPlayer(args[0],true);
    if (match.size() != 1 || match.get(0) == null) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player who=match.get(0);
    String message="String_Node_Str" + match.get(0).getName() + "String_Node_Str";
    for (    Flag f : users.getAllFlags(who)) {
      message+=f.getDescription() + "String_Node_Str";
    }
    sender.sendMessage(ChatColor.RED + message);
    this.log(playerName + "String_Node_Str" + who.getName());
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> match=this.minitrue.matchPlayer(args[0],true);
    if (match.size() != 1 || match.get(0) == null) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player who=match.get(0);
    String message="String_Node_Str" + match.get(0).getName() + "String_Node_Str"+ users.getUser(who).getGroup();
    sender.sendMessage(ChatColor.RED + message);
    this.log(playerName + "String_Node_Str" + who.getName());
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && args.length > 0) {
    this.chat.handleChat(player,this.combineSplit(0,args,"String_Node_Str"),true);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    irc.loadIRCAdmins();
    chat.msgByFlag(Flag.SRSTAFF,ChatColor.RED + "String_Node_Str" + playerName);
    this.log(playerName + "String_Node_Str");
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    loadData();
    chat.msgByFlag(Flag.SRSTAFF,"String_Node_Str" + playerName);
    this.log("String_Node_Str" + playerName);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    if (!maintenance) {
      this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str");
      maintenance=true;
      for (      Player p : getServer().getOnlinePlayers()) {
        if (p != null && !hasFlag(p,Flag.ADMIN)) {
          p.sendMessage(ChatColor.AQUA + "String_Node_Str");
          p.kickPlayer("String_Node_Str");
        }
      }
    }
 else {
      this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str");
      maintenance=false;
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    if (args.length < 3) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String action=args[1];
    if (!(action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str"))) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String name=args[0];
    char flag=args[2].charAt(0);
    if (action.equalsIgnoreCase("String_Node_Str")) {
      users.addFlag(name,Flag.byChar(flag));
    }
 else {
      users.dropFlag(name,Flag.byChar(flag));
    }
    String tolog=ChatColor.RED + playerName + "String_Node_Str"+ name+ "String_Node_Str"+ action+ "String_Node_Str"+ Flag.byChar(flag).getDescription();
    chat.msgByFlag(Flag.ADMIN,tolog);
    this.log(tolog);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      String warps_s=warps.listWarps(player);
      if (!warps_s.equalsIgnoreCase("String_Node_Str")) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ warps_s);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.sendMessage("String_Node_Str");
      }
    }
 else {
      String target=args[0];
      Warp warp=warps.getPublicWarp(target);
      if (warp != null && (hasFlag(player,warp.getFlag()) || warp.getFlag().equals(Flag.Z_SPAREWARP_DESIGNATION))) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.LIGHT_PURPLE+ target);
        this.log(ChatColor.AQUA + "String_Node_Str" + playerName+ "String_Node_Str"+ target);
        player.teleport(warp.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      String homes_s=warps.listHomes(player.getName());
      if (!homes_s.equalsIgnoreCase("String_Node_Str")) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ homes_s);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
 else {
      Warp home=warps.getUserWarp(player.getName(),args[0]);
      if (home != null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.teleport(home.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      Flag flag=Flag.Z_SPAREWARP_DESIGNATION;
      if (args.length > 1) {
        flag=Flag.byChar(args[1].charAt(0));
      }
      Warp newWarp=new Warp(args[0],player.getName(),player.getLocation(),flag);
      warps.addWarp(newWarp);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      Warp newWarp=new Warp(args[0],player.getName(),player.getLocation(),Flag.byChar('0'));
      warps.addWarp(newWarp);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)&& args.length > 0) {
    String toRemove=args[0];
    player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove);
    warps.killWarp(warps.getPublicWarp(toRemove));
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      if (hasFlag(player,Flag.ADMIN)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    if (args.length == 1) {
      String toRemove=args[0];
      player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove);
      warps.killWarp(warps.getUserWarp(player.getName(),toRemove));
    }
    if (args.length == 2 && hasFlag(player,Flag.ADMIN)) {
      String toRemove=args[0];
      String plr=args[1];
      player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove+ "String_Node_Str"+ plr);
      warps.killWarp(warps.getUserWarp(plr,toRemove));
    }
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    if (args.length == 1) {
      String target=args[0];
      boolean isOnline=users.isOnline(target);
      if (!isOnline) {
        warps.loadPlayer(target);
      }
      player.sendMessage(ChatColor.RED + target + "String_Node_Str"+ ChatColor.WHITE+ warps.listHomes(target));
      if (!isOnline) {
        warps.dropPlayer(target);
      }
    }
    if (args.length == 2) {
      String target=args[0];
      boolean isOnline=users.isOnline(target);
      if (!isOnline) {
        warps.loadPlayer(target);
      }
      Warp warptarget=warps.getUserWarp(target,args[1]);
      if (warptarget != null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.teleport(warptarget.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
      if (!isOnline) {
        warps.dropPlayer(target);
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (isPlayer && args.length == 0) {
      player.getInventory().clear();
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      this.log(ChatColor.RED + player.getName() + "String_Node_Str");
    }
 else     if (args.length == 1 && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
      List<Player> targets=this.minitrue.matchPlayer(args[0],true);
      if (targets.size() == 1) {
        Player target=targets.get(0);
        PlayerInventory i=player.getInventory();
        i.setBoots(null);
        i.setChestplate(null);
        i.setHelmet(null);
        i.setLeggings(null);
        target.getInventory().clear();
        target.sendMessage(ChatColor.RED + "String_Node_Str");
        this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
      }
 else {
        sender.sendMessage(ChatColor.RED + "String_Node_Str" + targets.size()+ "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    player.getInventory().clear(player.getInventory().getHeldItemSlot());
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.SRSTAFF)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      CreatureType creat=CreatureType.fromName(args[0]);
      if (creat != null) {
        Block block=player.getTargetBlock(null,50);
        if (block != null) {
          Location bloc=block.getLocation();
          if (bloc.getY() < 126) {
            Location loc=new Location(bloc.getWorld(),bloc.getX(),bloc.getY() + 1,bloc.getZ());
            player.getWorld().spawnCreature(loc,CreatureType.fromName(args[0]));
          }
        }
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
    if (args.length > 0 && args[0].equalsIgnoreCase("String_Node_Str"))     chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str" + playerName+ "String_Node_Str"+ playerName);
    users.getUser(playerName).tempSetColor(ChatColor.RED);
    damage.protect(playerName);
    player.getInventory().setHelmet(new ItemStack(51));
    this.users.addFlagLocal(playerName,Flag.GODMODE);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    String name=player.getName();
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
    users.getUser(name).restoreColor();
    player.getInventory().setHelmet(new ItemStack(Material.GRASS,1));
    if (!safemode) {
      damage.danger(playerName);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    this.users.dropFlagLocal(playerName,Flag.GODMODE);
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.ADMIN)) {
    if (args.length < 3) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      player.teleport(new Location(player.getWorld(),Double.valueOf(args[0]),Double.valueOf(args[1]),Double.valueOf(args[2]),0,0));
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      List<Player> possible=this.minitrue.matchPlayer(args[0],true);
      if (possible.size() == 1) {
        Player who=possible.get(0);
        Location loc=who.getLocation();
        sender.sendMessage(ChatColor.RED + who.getName() + "String_Node_Str"+ loc.getX()+ "String_Node_Str"+ loc.getY()+ "String_Node_Str"+ loc.getZ());
      }
 else {
        sender.sendMessage(ChatColor.RED + args[0] + "String_Node_Str");
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    this.sendAdminPlusLog(playerName + "String_Node_Str");
    if (this.ircEnable) {
      irc.getBot().sendMessage(this.ircAdminChannel,"String_Node_Str");
      irc.getBot().sendMessage(this.ircChannel,"String_Node_Str");
      irc.getBot().quitServer("String_Node_Str");
    }
    ircEnable=false;
    kickbans.kickAll("String_Node_Str");
    this.getServer().dispatchCommand(new ConsoleCommandSender(this.getServer()),"String_Node_Str");
    return true;
  }
  if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.LIGHT_PURPLE + "String_Node_Str");
      return true;
    }
    String name=args[0];
    this.log(ChatColor.LIGHT_PURPLE + playerName + "String_Node_Str"+ name);
    this.banCoop.lookup(name,player);
    return true;
  }
  if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.LIGHT_PURPLE + "String_Node_Str");
      return true;
    }
    String target=args[0];
    this.log(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str"+ target);
    String x="String_Node_Str";
    boolean allbans=false;
    if (args.length > 1 && args[1].equalsIgnoreCase("String_Node_Str")) {
      allbans=true;
    }
    ArrayList<Ban> bans=this.mysql.getBans(target,allbans);
    ArrayList<String> messages=new ArrayList<String>();
    boolean banned=false;
    for (    Ban ban : bans) {
      if (ban.isBanned()) {
        x=ChatColor.DARK_RED + "String_Node_Str";
        banned=true;
      }
 else {
        x=ChatColor.GREEN + "String_Node_Str";
      }
      String c=ChatColor.DARK_AQUA.toString();
      messages.add(c + "String_Node_Str" + x+ c+ "String_Node_Str"+ this.shortdateformat.format(new Date(ban.getTimeOfBan() * 1000))+ "String_Node_Str"+ ChatColor.GOLD+ ban.getReason());
    }
    String c2=ChatColor.GREEN.toString();
    if (banned) {
      c2=ChatColor.RED.toString();
    }
    player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.GOLD+ bans.size()+ ChatColor.AQUA+ "String_Node_Str"+ c2+ target);
    for (    String message : messages) {
      player.sendMessage(message);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 1) {
      String lastIP=mysql.IPGetLast(args[0]);
      if (!lastIP.isEmpty()) {
        player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.WHITE+ args[0]+ ChatColor.AQUA+ "String_Node_Str"+ ChatColor.WHITE+ lastIP);
        HashMap<String,Long> nameDates=mysql.IPGetNamesOnIP(lastIP);
        if (!nameDates.isEmpty()) {
          for (          String key : nameDates.keySet()) {
            if (!key.isEmpty() && key.toLowerCase() != "String_Node_Str") {
              Long time=nameDates.get(key);
              Date date=new Date(time);
              player.sendMessage(ChatColor.AQUA + key + "String_Node_Str"+ ChatColor.BLUE+ date);
            }
          }
        }
      }
 else {
        player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> results=this.minitrue.matchPlayer(args[0],true);
    if (results.size() == 1) {
      Player target=results.get(0);
      boolean weather=target.getWorld().isThundering();
      this.damage.danger(target.getName());
      this.damage.addToTimer(target.getName());
      target.getWorld().strikeLightning(target.getLocation());
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
      target.sendMessage(ChatColor.RED + "String_Node_Str");
      target.getWorld().setStorm(weather);
    }
 else     if (results.size() > 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (isPlayer) && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      player.getWorld().setStorm(true);
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
      this.chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str");
    }
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      player.getWorld().setStorm(false);
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
      this.chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) {
    kickbans.ixrai(playerName,commandName);
    return true;
  }
  if (commandName.equals("String_Node_Str") && !isPlayer) {
    if (args.length < 2) {
      return false;
    }
    irc.getBot().sendMessage(args[0],this.combineSplit(1,args,"String_Node_Str"));
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF) || playerName.equalsIgnoreCase("String_Node_Str"))) {
    String message="String_Node_Str" + ChatColor.GOLD;
switch (this.random.nextInt(5)) {
case 0:
      message+="String_Node_Str" + playerName + "String_Node_Str";
    break;
case 1:
  message+="String_Node_Str" + playerName + "String_Node_Str";
break;
case 2:
message+="String_Node_Str" + playerName + "String_Node_Str";
break;
case 3:
message+=playerName + "String_Node_Str";
break;
case 4:
message+=playerName + "String_Node_Str";
break;
}
if (playerName.equalsIgnoreCase("String_Node_Str") && random.nextBoolean()) {
if (random.nextBoolean()) message=ChatColor.GOLD + "String_Node_Str";
 else message=ChatColor.GOLD + "String_Node_Str";
}
chat.msgAll(message);
this.log(ChatColor.GOLD + playerName + "String_Node_Str");
return true;
}
if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
if (hasFlag(player,Flag.THOR)) {
player.sendMessage(ChatColor.GOLD + "String_Node_Str");
users.dropFlagLocal(playerName,Flag.THOR);
}
 else {
player.sendMessage(ChatColor.GOLD + "String_Node_Str");
users.addFlagLocal(playerName,Flag.THOR);
}
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
if (args.length == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
List<Player> list=this.minitrue.matchPlayer(args[0],true);
if (list.size() == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
if (list.size() > 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
Player target=list.get(0);
if (target != null) {
target.damage(9001);
target.sendMessage(ChatColor.RED + "String_Node_Str");
this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
}
return true;
}
if (commandName.equals("String_Node_Str")) {
if (!isPlayer || this.hasFlag(player,Flag.ADMIN)) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
 else {
if (hasFlag(player,Flag.TRUSTED)) {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
}
return true;
}
if (isPlayer && commandName.equals("String_Node_Str")) {
if (hasFlag(player,Flag.ADMIN)) minitrue.vanish(player);
return true;
}
if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
if (hasFlag(player,Flag.TOOLS)) {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
users.dropFlagLocal(playerName,Flag.TOOLS);
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
users.addFlagLocal(playerName,Flag.TOOLS);
}
return true;
}
if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str"))) {
Location loc=player.getLocation();
String x="String_Node_Str" + ChatColor.GOLD + (int)loc.getX()+ ChatColor.DARK_AQUA;
String y="String_Node_Str" + ChatColor.GOLD + (int)loc.getY()+ ChatColor.DARK_AQUA;
String z="String_Node_Str" + ChatColor.GOLD + (int)loc.getZ();
player.sendMessage(ChatColor.DARK_AQUA + "String_Node_Str" + x+ "String_Node_Str"+ y+ "String_Node_Str"+ z);
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
if (args.length < 3) {
player.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
player.getWorld().setSpawnLocation(Integer.valueOf(args[0]),Integer.valueOf(args[1]),Integer.valueOf(args[2]));
this.sendAdminPlusLog(ChatColor.RED + "String_Node_Str" + args[0]+ "String_Node_Str"+ args[1]+ "String_Node_Str"+ args[2]+ "String_Node_Str"+ playerName);
return true;
}
if (isPlayer && commandName.equals("String_Node_Str")) {
User user=users.getUser(player);
if (user != null && args.length == 1) {
String safeword=user.getSafeWord();
if (!safeword.equalsIgnoreCase("String_Node_Str") && safeword.equals(args[0])) {
this.users.clear(playerName);
this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str");
return true;
}
}
if (users.isCleared(playerName)) {
this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str");
}
this.users.playerReset(playerName);
this.minitrue.vanish.updateInvisible(player);
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
if (args.length != 1) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
return true;
}
List<Player> listy=this.getServer().matchPlayer(args[0]);
if (listy.size() != 1) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
return true;
}
Player target=listy.get(0);
this.panda.harass(target);
this.sendAdminPlusLog(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ target.getName()+ ChatColor.AQUA+ "String_Node_Str"+ playerName+ "String_Node_Str");
this.irc.ircAdminMsg("String_Node_Str" + target.getName() + "String_Node_Str"+ playerName+ "String_Node_Str");
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
String messageBit;
if (this.chat.muteAll) {
messageBit="String_Node_Str";
}
 else {
messageBit="String_Node_Str";
}
this.sendAdminPlusLog(ChatColor.YELLOW + playerName + messageBit);
this.chat.msgByFlagless(Flag.ADMIN,ChatColor.YELLOW + "String_Node_Str" + messageBit);
this.chat.muteAll=!this.chat.muteAll;
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
String messageBit="String_Node_Str";
if (args.length < 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
String targetString=args[0];
List<Player> matches=this.getServer().matchPlayer(targetString);
if (matches == null || matches.size() == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str" + targetString);
return true;
}
if (matches.size() > 1) {
sender.sendMessage(ChatColor.RED + String.valueOf(matches.size()) + "String_Node_Str"+ targetString);
return true;
}
Player target=matches.get(0);
String targetName=target.getName();
boolean muted=this.hasFlag(targetName,Flag.MUTED);
if (muted) {
messageBit="String_Node_Str";
this.users.dropFlagLocal(targetName,Flag.MUTED);
}
 else {
this.users.addFlagLocal(targetName,Flag.MUTED);
}
target.sendMessage(ChatColor.YELLOW + "String_Node_Str" + messageBit.toUpperCase()+ "String_Node_Str");
this.sendAdminPlusLog(ChatColor.YELLOW + playerName + "String_Node_Str"+ messageBit+ "String_Node_Str"+ targetName);
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
if (args.length < 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
String message=ChatColor.LIGHT_PURPLE + "String_Node_Str" + this.combineSplit(0,args,"String_Node_Str");
this.log(message);
this.chat.msgAll(message);
return true;
}
if (commandName.equals("String_Node_Str") && isPlayer && this.hasFlag(player,Flag.ADMIN)) {
String message;
if (this.hasFlag(player,Flag.NSA)) {
message=ChatColor.DARK_AQUA + playerName + ChatColor.AQUA+ "String_Node_Str";
this.users.dropFlagLocal(playerName,Flag.NSA);
}
 else {
message=ChatColor.DARK_AQUA + playerName + ChatColor.AQUA+ "String_Node_Str";
this.users.addFlagLocal(playerName,Flag.NSA);
}
this.sendAdminPlusLog(message);
return true;
}
if (this.servernumber == 2 && commandName.equals("String_Node_Str")) {
Warp target=this.warps.getClosestWarp(player.getLocation());
String name=target.getName();
if (args.length == 1 && args[0].equalsIgnoreCase("String_Node_Str")) {
player.teleport(target.getLocation());
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
}
}
return true;
}

Fixed version (ground truth):
public boolean onCommand(CommandSender sender,Command command,String commandLabel,String[] args){
  String commandName=command.getName().toLowerCase();
  Player player=null;
  String playerName="String_Node_Str";
  boolean isPlayer=(sender instanceof Player);
  if (isPlayer) {
    player=(Player)sender;
    playerName=player.getName();
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF)) && args.length > 0) {
    Player[] list=getServer().getOnlinePlayers();
    String reason=combineSplit(0,args,"String_Node_Str");
    if (list != null) {
      for (int x=0; x < list.length; x++) {
        if (list[x] != null)         list[x].kickPlayer(reason);
      }
    }
    this.log(playerName + "String_Node_Str" + reason);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    irc.getBot().quitServer("String_Node_Str");
    this.ircEnable=false;
    irc.restart=true;
    return true;
  }
  if (isPlayer && hasFlag(player,Flag.JAILED)) {
    if (commandName.equals("String_Node_Str")) {
      users.getUser(player).dropFlag(Flag.JAILED);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : rules) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : help) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : motd) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : blacklist) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    for (    String line : intro) {
      player.sendMessage(line);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.TRUSTED)) {
    String playersName=player.getName().toLowerCase();
    if (tpProtect.getBoolean(playersName,false)) {
      tpProtect.setBoolean(playersName,false);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      tpProtect.setBoolean(playersName,true);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && (hasFlag(player,Flag.FUN))&& args.length > 0) {
    List<Player> inquest=this.minitrue.matchPlayer(args[0],this.hasFlag(player,Flag.ADMIN));
    if (inquest.size() == 1) {
      Player inquestion=inquest.get(0);
      if (minitrue.invisible(inquestion) && !hasFlag(player,Flag.ADMIN)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
      if (!hasFlag(player,Flag.ADMIN) && inquestion != null && (hasFlag(inquestion,Flag.TRUSTED)) && tpProtect.getBoolean(inquestion.getName().toLowerCase(),false)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else       if (inquestion.getName().equalsIgnoreCase(player.getName())) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.teleport(inquestion.getLocation());
        player.sendMessage("String_Node_Str");
        this.log("String_Node_Str" + player.getName() + "String_Node_Str"+ inquestion.getName());
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    List<Player> inquest=this.minitrue.matchPlayer(args[0],true);
    if (inquest.size() == 1) {
      Player inquestion=inquest.get(0);
      if (inquestion.getName().equalsIgnoreCase(player.getName())) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        inquestion.teleport(player.getLocation());
        inquestion.sendMessage("String_Node_Str");
        player.sendMessage("String_Node_Str" + inquestion.getName());
        this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str"+ inquestion.getName()+ "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.FUN))) {
    if (isPlayer && (!hasFlag(player,Flag.ADMIN) || args.length < 1)) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.teleport(player.getWorld().getSpawnLocation());
    }
 else     if (args.length == 1) {
      List<Player> inquest=this.minitrue.matchPlayer(args[0],true);
      if (inquest.size() == 1) {
        Player inquestion=inquest.get(0);
        inquestion.teleport(inquestion.getWorld().getSpawnLocation());
        inquestion.sendMessage(ChatColor.RED + "String_Node_Str");
        this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ inquestion.getName()+ "String_Node_Str");
      }
 else {
        sender.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (args.length < 2) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> inquest=this.minitrue.matchPlayer(args[0],this.hasFlag(player,Flag.ADMIN));
    if (inquest.size() == 1) {
      this.chat.handlePMsg(player,inquest.get(0),this.combineSplit(1,args,"String_Node_Str"));
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.FUN)) {
    if (args.length < 1) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player playerFor=null;
    Material material=null;
    int count=1;
    String[] gData=null;
    Byte bytedata=null;
    if (args.length >= 1) {
      gData=args[0].split("String_Node_Str");
      material=Material.matchMaterial(gData[0]);
      if (gData.length == 2) {
        try {
          bytedata=Byte.valueOf(gData[1]);
        }
 catch (        NumberFormatException e) {
          player.sendMessage("String_Node_Str");
        }
      }
    }
    if (args.length >= 2) {
      try {
        count=Integer.parseInt(args[1]);
      }
 catch (      NumberFormatException ex) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + args[1]+ "String_Node_Str");
        return false;
      }
    }
    if (args.length == 3) {
      playerFor=getServer().getPlayer(args[2]);
      if (playerFor == null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + args[2]+ "String_Node_Str");
        return false;
      }
    }
 else {
      playerFor=player;
    }
    if (material == null) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return false;
    }
    if (!hasFlag(player,Flag.ADMIN) && isOnSummonlist(material.getId())) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (bytedata != null) {
      playerFor.getInventory().addItem(new ItemStack(material,count,(short)0,bytedata));
    }
 else {
      playerFor.getInventory().addItem(new ItemStack(material,count));
    }
    player.sendMessage("String_Node_Str" + playerFor.getDisplayName() + "String_Node_Str"+ count+ "String_Node_Str"+ material.toString());
    this.log("String_Node_Str" + playerName + "String_Node_Str"+ count+ "String_Node_Str"+ material.toString());
    if ((isOnWatchlist(material.getId())) && (count > 10 || count < 1)) {
      irc.ircAdminMsg("String_Node_Str" + count + "String_Node_Str"+ material.toString()+ "String_Node_Str"+ playerName);
      this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + ChatColor.WHITE+ count+ "String_Node_Str"+ ChatColor.LIGHT_PURPLE+ material.toString()+ "String_Node_Str"+ ChatColor.WHITE+ playerName);
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length != 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    long desired;
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      desired=0;
    }
 else     if (args[0].equalsIgnoreCase("String_Node_Str")) {
      desired=13000;
    }
 else {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    long curTime=getServer().getWorlds().get(0).getTime();
    long margin=(desired - curTime) % 24000;
    if (margin < 0) {
      margin+=24000;
    }
    getServer().getWorlds().get(0).setTime(curTime + margin);
    this.sendAdminPlusLog(ChatColor.DARK_AQUA + playerName + "String_Node_Str");
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str"))) {
    minitrue.who(sender);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String message=combineSplit(0,args,"String_Node_Str");
    chat.aMsg(playerName,message);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (args.length > 0) {
      String theReport=combineSplit(0,args,"String_Node_Str");
      if (!this.hasFlag(player,Flag.ADMIN)) {
        Report report=new Report(0,player.getLocation(),player.getName(),theReport,(new Date().getTime()) / 1000,false);
        reports.addReport(report);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        String message=ChatColor.LIGHT_PURPLE + "String_Node_Str" + ChatColor.RED+ playerName+ ChatColor.LIGHT_PURPLE+ "String_Node_Str"+ ChatColor.WHITE+ theReport;
        this.sendAdminPlusLog(message);
        this.irc.ircAdminMsg(ChatColor.stripColor(message));
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      ArrayList<Report> reps=reports.getReports();
      int size=reps.size();
      if (size == 0) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str" + size+ "String_Node_Str");
      for (      Report r : reps) {
        if (!r.closed()) {
          Location location=r.getLocation();
          String x=ChatColor.GOLD.toString() + location.getBlockX() + ChatColor.DARK_PURPLE+ "String_Node_Str";
          String y=ChatColor.GOLD.toString() + location.getBlockY() + ChatColor.DARK_PURPLE+ "String_Node_Str";
          String z=ChatColor.GOLD.toString() + location.getBlockZ() + ChatColor.DARK_PURPLE;
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str" + r.getID()+ "String_Node_Str"+ x+ y+ z+ "String_Node_Str"+ ChatColor.GOLD+ r.getUser()+ ChatColor.DARK_PURPLE+ "String_Node_Str"+ ChatColor.WHITE+ r.getMessage());
        }
      }
    }
 else {
      String action=args[0].toLowerCase();
      if (action.equals("String_Node_Str")) {
        if (args.length > 2) {
          int id=Integer.parseInt(args[1]);
          if (id != 0) {
            this.reports.close(id,playerName,this.combineSplit(2,args,"String_Node_Str"));
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
        }
 else {
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
        }
      }
      if (action.equals("String_Node_Str")) {
        if (args.length > 1) {
          Report report=this.reports.getReport(Integer.valueOf(args[1]));
          if (report != null) {
            player.teleport(report.getLocation());
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
 else {
            player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
          }
        }
 else {
          player.sendMessage(ChatColor.DARK_PURPLE + "String_Node_Str");
        }
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String text="String_Node_Str";
    text+=combineSplit(0,args,"String_Node_Str");
    chat.gMsg(playerName,text);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Location loc;
    if (!isPlayer) {
      loc=new Location(getServer().getWorlds().get(0),0,0,0);
    }
 else {
      loc=player.getLocation();
    }
    kickbans.callBan(playerName,args,loc);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    kickbans.callKick(args[0],playerName,combineSplit(1,args,"String_Node_Str"));
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 2) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Location loc;
    if (!isPlayer) {
      loc=new Location(getServer().getWorlds().get(0),0,0,0);
    }
 else {
      loc=player.getLocation();
    }
    kickbans.callAddBan(playerName,args,loc);
    return true;
  }
  if ((commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length < 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String name=args[0];
    kickbans.unban(playerName,name);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    if (this.hasFlag(player,Flag.ADMIN)) {
      if (args.length < 2 || !(args[0].equalsIgnoreCase("String_Node_Str") || args[0].equalsIgnoreCase("String_Node_Str"))) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
      String name=args[1];
      if (args[0].equalsIgnoreCase("String_Node_Str")) {
        users.addFlag(name,Flag.TRUSTED);
      }
 else {
        users.dropFlag(name,Flag.TRUSTED);
      }
      String tolog=ChatColor.RED + player.getName() + "String_Node_Str"+ name+ "String_Node_Str"+ args[0]+ "String_Node_Str"+ Flag.TRUSTED.getDescription();
      this.sendAdminPlusLog(tolog);
    }
 else {
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      player.sendMessage(ChatColor.AQUA + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> match=this.minitrue.matchPlayer(args[0],true);
    if (match.size() != 1 || match.get(0) == null) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player who=match.get(0);
    String message="String_Node_Str" + match.get(0).getName() + "String_Node_Str";
    for (    Flag f : users.getAllFlags(who)) {
      message+=f.getDescription() + "String_Node_Str";
    }
    sender.sendMessage(ChatColor.RED + message);
    this.log(playerName + "String_Node_Str" + who.getName());
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> match=this.minitrue.matchPlayer(args[0],true);
    if (match.size() != 1 || match.get(0) == null) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player who=match.get(0);
    String message="String_Node_Str" + match.get(0).getName() + "String_Node_Str"+ users.getUser(who).getGroup();
    sender.sendMessage(ChatColor.RED + message);
    this.log(playerName + "String_Node_Str" + who.getName());
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && args.length > 0) {
    this.chat.handleChat(player,this.combineSplit(0,args,"String_Node_Str"),true);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    irc.loadIRCAdmins();
    chat.msgByFlag(Flag.SRSTAFF,ChatColor.RED + "String_Node_Str" + playerName);
    this.log(playerName + "String_Node_Str");
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    loadData();
    chat.msgByFlag(Flag.SRSTAFF,"String_Node_Str" + playerName);
    this.log("String_Node_Str" + playerName);
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    if (!maintenance) {
      this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str");
      maintenance=true;
      for (      Player p : getServer().getOnlinePlayers()) {
        if (p != null && !hasFlag(p,Flag.ADMIN)) {
          p.sendMessage(ChatColor.AQUA + "String_Node_Str");
          p.kickPlayer("String_Node_Str");
        }
      }
    }
 else {
      this.sendAdminPlusLog(ChatColor.AQUA + playerName + "String_Node_Str");
      maintenance=false;
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    if (args.length < 3) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String action=args[1];
    if (!(action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str"))) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    String name=args[0];
    char flag=args[2].charAt(0);
    if (action.equalsIgnoreCase("String_Node_Str")) {
      users.addFlag(name,Flag.byChar(flag));
    }
 else {
      users.dropFlag(name,Flag.byChar(flag));
    }
    String tolog=ChatColor.RED + playerName + "String_Node_Str"+ name+ "String_Node_Str"+ action+ "String_Node_Str"+ Flag.byChar(flag).getDescription();
    chat.msgByFlag(Flag.ADMIN,tolog);
    this.log(tolog);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      String warps_s=warps.listWarps(player);
      if (!warps_s.equalsIgnoreCase("String_Node_Str")) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ warps_s);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.sendMessage("String_Node_Str");
      }
    }
 else {
      String target=args[0];
      Warp warp=warps.getPublicWarp(target);
      if (warp != null && (hasFlag(player,warp.getFlag()) || warp.getFlag().equals(Flag.Z_SPAREWARP_DESIGNATION))) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.LIGHT_PURPLE+ target);
        this.log(ChatColor.AQUA + "String_Node_Str" + playerName+ "String_Node_Str"+ target);
        player.teleport(warp.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      String homes_s=warps.listHomes(player.getName());
      if (!homes_s.equalsIgnoreCase("String_Node_Str")) {
        player.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.WHITE+ homes_s);
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
 else {
      Warp home=warps.getUserWarp(player.getName(),args[0]);
      if (home != null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.teleport(home.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      Flag flag=Flag.Z_SPAREWARP_DESIGNATION;
      if (args.length > 1) {
        flag=Flag.byChar(args[1].charAt(0));
      }
      Warp newWarp=new Warp(args[0],player.getName(),player.getLocation(),flag);
      warps.addWarp(newWarp);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      Warp newWarp=new Warp(args[0],player.getName(),player.getLocation(),Flag.byChar('0'));
      warps.addWarp(newWarp);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)&& args.length > 0) {
    String toRemove=args[0];
    player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove);
    warps.killWarp(warps.getPublicWarp(toRemove));
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      if (hasFlag(player,Flag.ADMIN)) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
    }
    if (args.length == 1) {
      String toRemove=args[0];
      player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove);
      warps.killWarp(warps.getUserWarp(player.getName(),toRemove));
    }
    if (args.length == 2 && hasFlag(player,Flag.ADMIN)) {
      String toRemove=args[0];
      String plr=args[1];
      player.sendMessage(ChatColor.RED + "String_Node_Str" + toRemove+ "String_Node_Str"+ plr);
      warps.killWarp(warps.getUserWarp(plr,toRemove));
    }
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    if (args.length == 1) {
      String target=args[0];
      boolean isOnline=users.isOnline(target);
      if (!isOnline) {
        warps.loadPlayer(target);
      }
      player.sendMessage(ChatColor.RED + target + "String_Node_Str"+ ChatColor.WHITE+ warps.listHomes(target));
      if (!isOnline) {
        warps.dropPlayer(target);
      }
    }
    if (args.length == 2) {
      String target=args[0];
      boolean isOnline=users.isOnline(target);
      if (!isOnline) {
        warps.loadPlayer(target);
      }
      Warp warptarget=warps.getUserWarp(target,args[1]);
      if (warptarget != null) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        player.teleport(warptarget.getLocation());
      }
 else {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
      }
      if (!isOnline) {
        warps.dropPlayer(target);
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str") && hasFlag(player,Flag.FUN)) {
    if (isPlayer && args.length == 0) {
      player.getInventory().clear();
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      this.log(ChatColor.RED + player.getName() + "String_Node_Str");
    }
 else     if (args.length == 1 && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
      List<Player> targets=this.minitrue.matchPlayer(args[0],true);
      if (targets.size() == 1) {
        Player target=targets.get(0);
        PlayerInventory i=player.getInventory();
        i.setBoots(null);
        i.setChestplate(null);
        i.setHelmet(null);
        i.setLeggings(null);
        target.getInventory().clear();
        target.sendMessage(ChatColor.RED + "String_Node_Str");
        this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
      }
 else {
        sender.sendMessage(ChatColor.RED + "String_Node_Str" + targets.size()+ "String_Node_Str");
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str")) {
    player.getInventory().clear(player.getInventory().getHeldItemSlot());
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.SRSTAFF)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      CreatureType creat=CreatureType.fromName(args[0]);
      if (creat != null) {
        Block block=player.getTargetBlock(null,50);
        if (block != null) {
          Location bloc=block.getLocation();
          if (bloc.getY() < 126) {
            Location loc=new Location(bloc.getWorld(),bloc.getX(),bloc.getY() + 1,bloc.getZ());
            player.getWorld().spawnCreature(loc,CreatureType.fromName(args[0]));
          }
        }
      }
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
    if (args.length > 0 && args[0].equalsIgnoreCase("String_Node_Str"))     chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str" + playerName+ "String_Node_Str"+ playerName);
    users.getUser(playerName).tempSetColor(ChatColor.RED);
    damage.protect(playerName);
    player.getInventory().setHelmet(new ItemStack(51));
    this.users.addFlagLocal(playerName,Flag.GODMODE);
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    String name=player.getName();
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
    users.getUser(name).restoreColor();
    player.getInventory().setHelmet(new ItemStack(Material.GRASS,1));
    if (!safemode) {
      damage.danger(playerName);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    this.users.dropFlagLocal(playerName,Flag.GODMODE);
    return true;
  }
  if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) && hasFlag(player,Flag.ADMIN)) {
    if (args.length < 3) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      player.teleport(new Location(player.getWorld(),Double.valueOf(args[0]),Double.valueOf(args[1]),Double.valueOf(args[2]),0,0));
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      List<Player> possible=this.minitrue.matchPlayer(args[0],true);
      if (possible.size() == 1) {
        Player who=possible.get(0);
        Location loc=who.getLocation();
        sender.sendMessage(ChatColor.RED + who.getName() + "String_Node_Str"+ loc.getX()+ "String_Node_Str"+ loc.getY()+ "String_Node_Str"+ loc.getZ());
      }
 else {
        sender.sendMessage(ChatColor.RED + args[0] + "String_Node_Str");
      }
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
    this.madagascar(playerName);
    return true;
  }
  if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.LIGHT_PURPLE + "String_Node_Str");
      return true;
    }
    String name=args[0];
    this.log(ChatColor.LIGHT_PURPLE + playerName + "String_Node_Str"+ name);
    this.banCoop.lookup(name,player);
    return true;
  }
  if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.LIGHT_PURPLE + "String_Node_Str");
      return true;
    }
    String target=args[0];
    this.log(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str"+ target);
    String x="String_Node_Str";
    boolean allbans=false;
    if (args.length > 1 && args[1].equalsIgnoreCase("String_Node_Str")) {
      allbans=true;
    }
    ArrayList<Ban> bans=this.mysql.getBans(target,allbans);
    ArrayList<String> messages=new ArrayList<String>();
    boolean banned=false;
    for (    Ban ban : bans) {
      if (ban.isBanned()) {
        x=ChatColor.DARK_RED + "String_Node_Str";
        banned=true;
      }
 else {
        x=ChatColor.GREEN + "String_Node_Str";
      }
      String c=ChatColor.DARK_AQUA.toString();
      messages.add(c + "String_Node_Str" + x+ c+ "String_Node_Str"+ this.shortdateformat.format(new Date(ban.getTimeOfBan() * 1000))+ "String_Node_Str"+ ChatColor.GOLD+ ban.getReason());
    }
    String c2=ChatColor.GREEN.toString();
    if (banned) {
      c2=ChatColor.RED.toString();
    }
    player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.GOLD+ bans.size()+ ChatColor.AQUA+ "String_Node_Str"+ c2+ target);
    for (    String message : messages) {
      player.sendMessage(message);
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 1) {
      String lastIP=mysql.IPGetLast(args[0]);
      if (!lastIP.isEmpty()) {
        player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.WHITE+ args[0]+ ChatColor.AQUA+ "String_Node_Str"+ ChatColor.WHITE+ lastIP);
        HashMap<String,Long> nameDates=mysql.IPGetNamesOnIP(lastIP);
        if (!nameDates.isEmpty()) {
          for (          String key : nameDates.keySet()) {
            if (!key.isEmpty() && key.toLowerCase() != "String_Node_Str") {
              Long time=nameDates.get(key);
              Date date=new Date(time);
              player.sendMessage(ChatColor.AQUA + key + "String_Node_Str"+ ChatColor.BLUE+ date);
            }
          }
        }
      }
 else {
        player.sendMessage(ChatColor.AQUA + "String_Node_Str");
      }
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
    if (args.length == 0) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    List<Player> results=this.minitrue.matchPlayer(args[0],true);
    if (results.size() == 1) {
      Player target=results.get(0);
      boolean weather=target.getWorld().isThundering();
      this.damage.danger(target.getName());
      this.damage.addToTimer(target.getName());
      target.getWorld().strikeLightning(target.getLocation());
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
      target.sendMessage(ChatColor.RED + "String_Node_Str");
      target.getWorld().setStorm(weather);
    }
 else     if (results.size() > 1) {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
 else {
      sender.sendMessage(ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (commandName.equals("String_Node_Str") && (isPlayer) && hasFlag(player,Flag.ADMIN)) {
    if (args.length == 0) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      player.getWorld().setStorm(true);
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
      this.chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str");
    }
    if (args[0].equalsIgnoreCase("String_Node_Str")) {
      player.getWorld().setStorm(false);
      this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str");
      this.chat.msgByFlagless(Flag.ADMIN,ChatColor.RED + "String_Node_Str");
    }
    return true;
  }
  if (isPlayer && commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str")) {
    kickbans.ixrai(playerName,commandName);
    return true;
  }
  if (commandName.equals("String_Node_Str") && !isPlayer) {
    if (args.length < 2) {
      return false;
    }
    irc.getBot().sendMessage(args[0],this.combineSplit(1,args,"String_Node_Str"));
    return true;
  }
  if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF) || playerName.equalsIgnoreCase("String_Node_Str"))) {
    String message="String_Node_Str" + ChatColor.GOLD;
switch (this.random.nextInt(5)) {
case 0:
      message+="String_Node_Str" + playerName + "String_Node_Str";
    break;
case 1:
  message+="String_Node_Str" + playerName + "String_Node_Str";
break;
case 2:
message+="String_Node_Str" + playerName + "String_Node_Str";
break;
case 3:
message+=playerName + "String_Node_Str";
break;
case 4:
message+=playerName + "String_Node_Str";
break;
}
if (playerName.equalsIgnoreCase("String_Node_Str") && random.nextBoolean()) {
if (random.nextBoolean()) message=ChatColor.GOLD + "String_Node_Str";
 else message=ChatColor.GOLD + "String_Node_Str";
}
chat.msgAll(message);
this.log(ChatColor.GOLD + playerName + "String_Node_Str");
return true;
}
if (commandName.equals("String_Node_Str") && isPlayer && hasFlag(player,Flag.ADMIN)) {
if (hasFlag(player,Flag.THOR)) {
player.sendMessage(ChatColor.GOLD + "String_Node_Str");
users.dropFlagLocal(playerName,Flag.THOR);
}
 else {
player.sendMessage(ChatColor.GOLD + "String_Node_Str");
users.addFlagLocal(playerName,Flag.THOR);
}
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
if (args.length == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
List<Player> list=this.minitrue.matchPlayer(args[0],true);
if (list.size() == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
if (list.size() > 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
Player target=list.get(0);
if (target != null) {
target.damage(9001);
target.sendMessage(ChatColor.RED + "String_Node_Str");
this.sendAdminPlusLog(ChatColor.RED + playerName + "String_Node_Str"+ target.getName());
}
return true;
}
if (commandName.equals("String_Node_Str")) {
if (!isPlayer || this.hasFlag(player,Flag.ADMIN)) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
 else {
if (hasFlag(player,Flag.TRUSTED)) {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
}
}
return true;
}
if (isPlayer && commandName.equals("String_Node_Str")) {
if (hasFlag(player,Flag.ADMIN)) minitrue.vanish(player);
return true;
}
if (isPlayer && commandName.equals("String_Node_Str") && hasFlag(player,Flag.ADMIN)) {
if (hasFlag(player,Flag.TOOLS)) {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
users.dropFlagLocal(playerName,Flag.TOOLS);
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str");
users.addFlagLocal(playerName,Flag.TOOLS);
}
return true;
}
if (isPlayer && (commandName.equals("String_Node_Str") || commandName.equals("String_Node_Str"))) {
Location loc=player.getLocation();
String x="String_Node_Str" + ChatColor.GOLD + (int)loc.getX()+ ChatColor.DARK_AQUA;
String y="String_Node_Str" + ChatColor.GOLD + (int)loc.getY()+ ChatColor.DARK_AQUA;
String z="String_Node_Str" + ChatColor.GOLD + (int)loc.getZ();
player.sendMessage(ChatColor.DARK_AQUA + "String_Node_Str" + x+ "String_Node_Str"+ y+ "String_Node_Str"+ z);
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
if (args.length < 3) {
player.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
player.getWorld().setSpawnLocation(Integer.valueOf(args[0]),Integer.valueOf(args[1]),Integer.valueOf(args[2]));
this.sendAdminPlusLog(ChatColor.RED + "String_Node_Str" + args[0]+ "String_Node_Str"+ args[1]+ "String_Node_Str"+ args[2]+ "String_Node_Str"+ playerName);
return true;
}
if (isPlayer && commandName.equals("String_Node_Str")) {
User user=users.getUser(player);
if (user != null && args.length == 1) {
String safeword=user.getSafeWord();
if (!safeword.equalsIgnoreCase("String_Node_Str") && safeword.equals(args[0])) {
this.users.clear(playerName);
this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str");
return true;
}
}
if (users.isCleared(playerName)) {
this.sendAdminPlusLog(ChatColor.LIGHT_PURPLE + "String_Node_Str" + playerName+ "String_Node_Str");
}
this.users.playerReset(playerName);
this.minitrue.vanish.updateInvisible(player);
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
if (args.length != 1) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
return true;
}
List<Player> listy=this.getServer().matchPlayer(args[0]);
if (listy.size() != 1) {
sender.sendMessage(ChatColor.AQUA + "String_Node_Str");
return true;
}
Player target=listy.get(0);
this.panda.harass(target);
this.sendAdminPlusLog(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ target.getName()+ ChatColor.AQUA+ "String_Node_Str"+ playerName+ "String_Node_Str");
this.irc.ircAdminMsg("String_Node_Str" + target.getName() + "String_Node_Str"+ playerName+ "String_Node_Str");
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
String messageBit;
if (this.chat.muteAll) {
messageBit="String_Node_Str";
}
 else {
messageBit="String_Node_Str";
}
this.sendAdminPlusLog(ChatColor.YELLOW + playerName + messageBit);
this.chat.msgByFlagless(Flag.ADMIN,ChatColor.YELLOW + "String_Node_Str" + messageBit);
this.chat.muteAll=!this.chat.muteAll;
return true;
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.ADMIN))) {
String messageBit="String_Node_Str";
if (args.length < 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
String targetString=args[0];
List<Player> matches=this.getServer().matchPlayer(targetString);
if (matches == null || matches.size() == 0) {
sender.sendMessage(ChatColor.RED + "String_Node_Str" + targetString);
return true;
}
if (matches.size() > 1) {
sender.sendMessage(ChatColor.RED + String.valueOf(matches.size()) + "String_Node_Str"+ targetString);
return true;
}
Player target=matches.get(0);
String targetName=target.getName();
boolean muted=this.hasFlag(targetName,Flag.MUTED);
if (muted) {
messageBit="String_Node_Str";
this.users.dropFlagLocal(targetName,Flag.MUTED);
}
 else {
this.users.addFlagLocal(targetName,Flag.MUTED);
}
target.sendMessage(ChatColor.YELLOW + "String_Node_Str" + messageBit.toUpperCase()+ "String_Node_Str");
this.sendAdminPlusLog(ChatColor.YELLOW + playerName + "String_Node_Str"+ messageBit+ "String_Node_Str"+ targetName);
}
if (commandName.equals("String_Node_Str") && (!isPlayer || hasFlag(player,Flag.SRSTAFF))) {
if (args.length < 1) {
sender.sendMessage(ChatColor.RED + "String_Node_Str");
return true;
}
String message=ChatColor.LIGHT_PURPLE + "String_Node_Str" + this.combineSplit(0,args,"String_Node_Str");
this.log(message);
this.chat.msgAll(message);
return true;
}
if (commandName.equals("String_Node_Str") && isPlayer && this.hasFlag(player,Flag.ADMIN)) {
String message;
if (this.hasFlag(player,Flag.NSA)) {
message=ChatColor.DARK_AQUA + playerName + ChatColor.AQUA+ "String_Node_Str";
this.users.dropFlagLocal(playerName,Flag.NSA);
}
 else {
message=ChatColor.DARK_AQUA + playerName + ChatColor.AQUA+ "String_Node_Str";
this.users.addFlagLocal(playerName,Flag.NSA);
}
this.sendAdminPlusLog(message);
return true;
}
if (isPlayer && this.servernumber == 2 && commandName.equals("String_Node_Str")) {
Warp target=this.warps.getClosestWarp(player.getLocation());
String name=target.getName();
if (args.length == 1 && args[0].equalsIgnoreCase("String_Node_Str")) {
player.teleport(target.getLocation());
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
}
 else {
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str"+ name);
player.sendMessage(ChatColor.AQUA + "String_Node_Str" + ChatColor.DARK_AQUA+ "String_Node_Str");
}
}
return true;
}