Interface ChannelMessageSink
- All Known Subinterfaces:
Player
,RegisteredServer
,ServerConnection
public interface ChannelMessageSink
Represents something that can be sent plugin messages.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
sendPluginMessage
(ChannelIdentifier identifier, byte[] data) Sends a plugin message to this target.
-
Method Details
-
sendPluginMessage
Sends a plugin message to this target.- Parameters:
identifier
- the channel identifier to send the message ondata
- the data to send- Returns:
- whether or not the message could be sent
-