Interface ChannelMessageSink

All Known Subinterfaces:
Player, RegisteredServer, ServerConnection

public interface ChannelMessageSink
Represents something that can be sent plugin messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    sendPluginMessage(ChannelIdentifier identifier, byte[] data)
    Sends a plugin message to this target.
  • Method Details

    • sendPluginMessage

      boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data)
      Sends a plugin message to this target.
      Parameters:
      identifier - the channel identifier to send the message on
      data - the data to send
      Returns:
      whether or not the message could be sent