public MessageReceivedEventArgs(ChatMessage msg, SenderType sender, Player player)
 {
     Message = msg;
     Sender = sender;
     Player = player;
 }
 internal void OnMessageReceived(ChatMessage msg, MessageReceivedEventArgs.SenderType sender)
 {
     if (msg.PlayerId == CurrentPlayer.PlayerId) return;
     if (msg.PlayerId == byte.MaxValue) msg.Text = msg.Text.Replace("<Server>", "");
     MessageReceived(this, new MessageReceivedEventArgs(msg, sender, GetPlayer(msg.PlayerId)));
 }