public boolean setWarp(CommandSender cs, Command label, String string,
			String[] args) {
		Player player = (Player) cs;
		if (player.hasPermission("warpsandports.warp.add") || player.isOp()) {
			if (args.length == 0) {
				player.sendMessage(ChatColor.RED + "Correct use is "
						+ ChatColor.AQUA + "/wnp warp add <WarpName>");
				return false;
			}
			if (args.length == 3) {
				if (MainClass.warps.contains("Warps." + args[2])) {
					player.sendMessage(ChatColor.RED
							+ "That warp already exists!");
					return false;
				} else {

					Location loc = player.getLocation();

					int x = loc.getBlockX();
					int y = loc.getBlockY();
					int z = loc.getBlockZ();
					float yaw = loc.getYaw();
					float pitch = loc.getPitch();

					World world = player.getWorld();

					MainClass.warps.set("Warps." + args[2].toString()
							+ ".world", world.getName());
					MainClass.warps
							.set("Warps." + args[2].toString() + ".x", x);
					MainClass.warps
							.set("Warps." + args[2].toString() + ".y", y);
					MainClass.warps
							.set("Warps." + args[2].toString() + ".z", z);
					MainClass.warps.set("Warps." + args[2].toString() + ".yaw",
							yaw);
					MainClass.warps.set("Warps." + args[2].toString()
							+ ".pitch", pitch);

					MainClass.saveWarps();
					player.sendMessage(ChatColor.GREEN + "The warp point "
							+ ChatColor.AQUA + args[2] + ChatColor.GREEN
							+ " has been created!");

					return true;
				}
			} else {
				player.sendMessage(ChatColor.RED + "Correct use is "
						+ ChatColor.AQUA + "/wnp warp add <WarpName>");
			}
		} else {
			player.sendMessage(ChatColor.RED
					+ "You do not have permission to use this command!");
		}
		return false;

	}