@Override public List<String> tabComplete(CommandSender sender, String alias, String[] args) { if (exe != null) { return exe.onTabComplete(sender, this, alias, args); } return null; }
@Override public boolean execute(CommandSender sender, String commandLabel, String[] args) { if (exe != null) { if (!ICM_Rank.isRankOrHigher(sender, rank)) { sender.sendMessage( ChatColor.RED + "You must be " + ICM_Utils.aOrAn(rank.name) + " " + rank.name + " to use this command."); return true; } if (!exe.onCommand(sender, this, commandLabel, args)) { sender.sendMessage(this.usageMessage.replaceAll("<command>", command)); return false; } return true; } return false; }