public boolean onCommand(CommandSender cs, Command cmd, String string,
			String[] args) {
		if (string.equalsIgnoreCase("wnp")) {
			if (args.length == 4 && args[0].equalsIgnoreCase("user")
					&& args[1].equalsIgnoreCase("add")) {
				try {
					addwarps(cs, cmd, string, args);
				} catch (Exception e) {
					System.out.println(e);

				}
			} else if (args.length == 4 && args[0].equalsIgnoreCase("user")
					&& args[1].equalsIgnoreCase("remove")) {
				try {
					removeWarpUser(cs, cmd, string, args);
				} catch (Exception e) {
					System.out.println(e);

				}
			} else if (args.length == 3 && args[0].equalsIgnoreCase("warp")
					&& args[1].equalsIgnoreCase("delete")) {
				try {
					delWarp(cs, cmd, string, args);
				} catch (Exception e) {
					System.out.println(e);

				}
			} else if (args.length == 3 && args[0].equalsIgnoreCase("warp")
					&& args[1].equalsIgnoreCase("add")) {
				try {
					setWarp(cs, cmd, string, args);
				} catch (Exception e) {
					System.out.println(e);

				}}
				else if (args.length == 1 && args[0].equalsIgnoreCase("list") && (cs.hasPermission("warpsandports.warp.list") || cs.isOp())) {
					try {
						WarpList wl = new WarpList(MainClass);
						wl.getList((Player) cs);
					} catch (Exception e) {
						System.out.println(e);

					}
			} else {
				cs.sendMessage(ChatColor.GOLD + "----------" + ChatColor.AQUA
						+ ChatColor.BOLD + " RealmWarpsandPorts Help "
						+ ChatColor.GOLD + "----------");
				if (cs.hasPermission("warpsandports.warp.add") || cs.isOp()) {
					cs.sendMessage(ChatColor.AQUA + "/wnp warp add <WarpName>");
					cs.sendMessage(ChatColor.GOLD
							+ "     - Adds a warp to the server.");
				}
				if (cs.hasPermission("warpsandports.warp.delete") || cs.isOp()) {
					cs.sendMessage(ChatColor.AQUA
							+ "/wnp warp delete <Warp Name>");
					cs.sendMessage(ChatColor.GOLD
							+ "     - Deletes a warp from the server.");
				}
				if (cs.hasPermission("warpsandports.user.add") || cs.isOp()) {
					cs.sendMessage(ChatColor.AQUA
							+ "/wnp user add <Player Name> <Warp Name>");
					cs.sendMessage(ChatColor.GOLD
							+ "     - Adds a warp to a user's warp list.");
				}
				if (cs.hasPermission("warpsandports.user.remove") || cs.isOp()) {
					cs.sendMessage(ChatColor.AQUA
							+ "/wnp user remove <Player Name> <Warp Name>");
					cs.sendMessage(ChatColor.GOLD
							+ "     - Remove a warp from a user's warp list.");
				}
				if (cs.hasPermission("warpsandports.warp.list") || cs.isOp()) {
					cs.sendMessage(ChatColor.AQUA + "/wnp list");
					cs.sendMessage(ChatColor.GOLD
							+ "     - Shows you a list of your warps.");
				}

			}
		}
		return false;
	}