public ServerIcon(File file) throws IOException
	{
		BufferedImage image = ImageIO.read(file);
		if(image.getWidth() != 64 || image.getHeight() != 64)
			throw new IllegalArgumentException("Server icon must be 64 x 64");
		
		ByteBuf buffer = Unpooled.buffer();
		ImageIO.write(image, "PNG", new ByteBufOutputStream(buffer));
		buffer = Base64.encode(buffer);
		
		mIconString = "data:image/png;base64," + buffer.toString(CharsetUtil.UTF_8);
	}