Interface CustomMessageReceiveEvent

All Superinterfaces:
LuckPermsEvent

public interface CustomMessageReceiveEvent extends LuckPermsEvent
Called when a custom payload message is received via the MessagingService.

This event is effectively the 'other end' of MessagingService.sendCustomMessage(String, String).

Since:
5.5
  • Method Details

    • getChannelId

      @NonNull String getChannelId()
      Gets the channel id.
      Returns:
      the channel id
    • getPayload

      @NonNull String getPayload()
      Gets the custom payload that was sent.
      Returns:
      the custom payload