if(messageType == 0) message = new ServerBad(data, off + 1);
else if(messageType == 1) message = new ServerPlayerMuzzleFlash(data, off + 1);
else if(messageType == 2) message = new ServerMonsterMuzzleFlash(data, off + 1);
else if(messageType == 3) message = new ServerTemporaryEntity(data, off + 1);
else if(messageType == 4) message = new ServerLayout(data, off + 1);
else if(messageType == 5) message = new ServerInventory(data, off + 1);
else if(messageType == 6) message = new ServerNop();
else if(messageType == 7) message = new ServerDisconnect();
else if(messageType == 8) message = new ServerReconnect();
else if(messageType == 9) message = new ServerSound(data, off + 1);