public static String withTarget(Player sender, Player target, String format, String type) {
		if (type.equalsIgnoreCase("private")) {
			format = main(sender, format, "private");
		} else if (type.equalsIgnoreCase("socialspy")) {
			format = main(sender, format, "socialspy");
		}

		format = format
				.replace("%TARGETDISPLAYNAME%", target.getDisplayName() + ChatColor.RESET)
				.replace("%TARGETNAME%", target.getName());
		return format;
	}