@Deprecated
	public static String parseStaffMessage(CommandSender sender, String message)
	{
		
		String format = StaffChat.getStaffChat().getConfiguration().getFormat();
		format = StringUtilities.replaceCodes(format);
		
		if(sender.hasPermission(Permissions.COLOR))
		{
			
			message = StringUtilities.replaceCodes(message);
			
		}
		
		format = format.replace("#MESSAGE#", message);
		
		if(sender instanceof ConsoleCommandSender)
		{

			
			format = format.replaceAll("#PLAYER#", "Console");
			format = format.replaceAll("#UUID#", "");
			format = format.replaceAll("#DISPLAY#", "");
			format = format.replaceAll("#GROUP#", "");
			format = format.replaceAll("#CUSTOM#", "");
			
			return format;
			
		}
		
		Player player = (Player) sender;
		
		if(StaffChat.getStaffChat().isPermissionsPresent())
		{
			
			if(StaffChat.getStaffChat().getPermission().hasGroupSupport())
			{
				
				format = format.replaceAll("#GROUP#", upperCaseFirstCharacter(StaffChat.getStaffChat().getPermission().getPrimaryGroup(player)));
				
			}
			else
			{

				format = format.replaceAll("#GROUP#", "");
				
			}
			
		}
		else
		{
			
			format = format.replaceAll("#GROUP#", "");
			
		}
		
		format = format.replaceAll("#PLAYER#", player.getName());
		format = format.replaceAll("#UUID#", player.getUniqueId().toString());
		format = format.replaceAll("#DISPLAY#", player.getDisplayName());
		
		try
		{
			
			format = format.replaceAll("#CUSTOM#", player.getCustomName());
			
		}
		catch(NullPointerException e)
		{
			
		}
		
		return format;
		
	}