Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.plugin.messaging.PluginMessageListener Interface Reference
Inheritance diagram for org.bukkit.plugin.messaging.PluginMessageListener:

Public Member Functions

void onPluginMessageReceived (String channel, Player player, byte[] message)

Detailed Description

A listener for a specific Plugin Channel, which will receive notifications of messages sent from a client.

Definition at line 9 of file PluginMessageListener.java.

Member Function Documentation

void org.bukkit.plugin.messaging.PluginMessageListener.onPluginMessageReceived ( String  channel,
Player  player,
byte[]  message 

A method that will be thrown when a PluginMessageSource sends a plugin message on a registered channel.

channelChannel that the message was sent through.
playerSource of the message.
messageThe raw message that was sent.

Implemented in org.bukkit.plugin.messaging.TestMessageListener.

Referenced by org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage().

The documentation for this interface was generated from the following file: