private void Message(NetIncomingMessage incmsg) { NetOutgoingMessage outmsg = serverCore.GetServer().CreateMessage(); outmsg.Write((byte)PacketType.Message); outmsg.Write(incmsg.ReadString()); outmsg.Write(incmsg.ReadString()); ServerPacketSender.SendMessageToAll(outmsg); }