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