public interface PluginMessageListener
| Modifier and Type | Method and Description | 
|---|---|
void | 
onPluginMessageReceived(@NotNull String channel,
                       @NotNull Player player,
                       @NotNull byte[] message)
A method that will be thrown when a PluginMessageSource sends a plugin
 message on a registered channel. 
 | 
void onPluginMessageReceived(@NotNull
                             @NotNull String channel,
                             @NotNull
                             @NotNull Player player,
                             @NotNull
                             @NotNull byte[] message)
channel - Channel that the message was sent through.player - Source of the message.message - The raw message that was sent.Copyright © 2021. All rights reserved.