public boolean containsIP(String message, Player p)
	{
		if(message.startsWith("http://") || message.startsWith("www") || p.hasPermission("pb.bypass.advertise") || p.hasPermission("pb.*"))
		{
			return false;
		}
		Pattern pattern = Pattern.compile("\\d{1,4}\\D{1,3}\\d{1,4}\\D{1,3}\\d{1,4}\\D{1,3}\\d{1,4}");
		Pattern pattern2 = Pattern.compile("[a-zA-Z]\\w*\\.[a-zA-Z]{4}\\w*\\.[a-zA-Z]\\w*");
		Pattern localc = Pattern.compile("192\\.168\\.[0-9]\\w*\\.[0-9]\\w*");
		Pattern locala = Pattern.compile("10\\.[0-9]\\w*\\.[0-9]\\w*\\.[0-9]\\w*");
		Pattern localb = Pattern.compile("172\\.[1-3][0-9]\\.[0-9]\\w*\\.[0-9]\\w*");
		if((pattern.matcher(message).find() || pattern2.matcher(message).find()) && !(locala.matcher(message).find() || localb.matcher(message).find() || localc.matcher(message).find()))
		{
			return true;
		}
		return false;
	}