Interface MessageReceiver

All Known Implementing Classes:
FabricServerState, VeinMinerPlayer

public interface MessageReceiver
A target capable of being sent a PluginMessage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendMessage(@NotNull NamespacedKey channel, byte[] message)
    Send a message represented by the given bytes on the specified channel.
  • Method Details

    • sendMessage

      void sendMessage(@NotNull @NotNull NamespacedKey channel, byte[] message)
      Send a message represented by the given bytes on the specified channel.
      Parameters:
      channel - the channel on which the message should be sent
      message - the message bytes to be sent