public void LobbyMsg(String msg, int color)
    {

        Packet packet = new Packet();
        packet.addHeader((byte) 0x1A, (byte) 0x27);

        packet.addByte4((byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00);
        packet.addInt(color, 2, false);
        packet.addString("[Server] " + msg);
        packet.addByte((byte) 0x00);

        String[] packandhead = new String[2];

        packandhead[0] = packet.getHeader();
        packandhead[1] = packet.getPacket();

        for (int i = 0; i < this.users; i++)
        {
            if (usersocks[i] == null)
            {
                debug("client nr:" + i + " is empty");
            }
            else
            {
                usersocks[i].write(packandhead[0]);
                usersocks[i].flush();
                usersocks[i].write(packandhead[1]);
                usersocks[i].flush();
            }

        }
    }