public void ReceiveMessage(SubspaceMessage _message)
 {
     if (_message.GetMessageCode() == 1)
     {
         Logger.Log("Received message. Channel " + _message.GetMessageChannel() + " Message Code: " + _message.GetMessageCode()); //Log the message info to console.
     }
 }
 /**
  * All plug-ins using Subspace must implement this function. It gets called when
  * a message is sent along a channel.
  */
 public void ReceiveMessage(SubspaceMessage _message)
 {
     /**
      * Use some data in the message. Here we are getting the message code. Which is simply
      * any number you would like to use so other plugins know what "type" of message this is
      * and do the proper logic. In this case we are using it to see if the message is from the
      * second example plug-in to prevent showing our own message as well.
      */
     if (_message.GetMessageCode() == 2)
     {
         Logger.Log("Received message. Channel " + _message.GetMessageChannel()
                    + " Message Code: " + _message.GetMessageCode()); //Log the message info to console.
     }
 }