@Override
	public void execute(CommandSender sender, String[] arg1) {
		if (!CommandUtil.hasPermission(sender, PERMISSION_NODES)) {
			sender.sendMessage(plugin.NO_PERMISSION);
			return;
		}
		
		if (arg1.length < 1) {
			sender.sendMessage(ChatColor.RED + "/" + plugin.setWarp + " (name) [private]");
			return;
		}
		
		String name = arg1[0];
		// sends plugin message to BungeeSuiteBukkit to get player pos
		ProxiedPlayer player = (ProxiedPlayer) sender;
		ByteArrayOutputStream b = new ByteArrayOutputStream();
		DataOutputStream out = new DataOutputStream(b);
		
		try {
			out.writeUTF("SetWarp");
			out.writeUTF(sender.getName());
			out.writeUTF(name);
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		if (arg1.length > 1 && arg1[1].equalsIgnoreCase("private")) {
			try {
				out.writeBoolean(false);
			} catch (IOException e) {
				e.printStackTrace();
			}
		} else {
			try {
				out.writeBoolean(true);
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		
		player.getServer().sendData("BungeeSuiteMC", b.toByteArray());
	}