@Override
	public void Write(IOClient p, Server server) {
		PacketPrepareEvent event = new PacketPrepareEvent(p, this, server);
		server.getEventSystem().callEvent(event);
		if (event.isCancelled())
			return;
		Player player;
		if (p instanceof Player) {
			player = (Player)p;
		}
		else
			return;
		try {
			while (player.message.length() < 64) {
				player.message += " ";
			}
			byte[] temp = player.message.getBytes("US-ASCII");
			byte[] finals = new byte[2 + temp.length];
			finals[0] = ID; finals[1] = player.getID();
			System.arraycopy(temp, 0, finals, 2, temp.length);
			player.WriteData(finals);
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}