Package | Description |
---|---|
org.bukkit.plugin.messaging |
Classes dedicated to specialized plugin to client protocols.
|
Modifier and Type | Method and Description |
---|---|
PluginMessageListener |
PluginMessageListenerRegistration.getListener()
Gets the registered listener described by this registration.
|
Modifier and Type | Method and Description |
---|---|
PluginMessageListenerRegistration |
StandardMessenger.registerIncomingPluginChannel(Plugin plugin,
String channel,
PluginMessageListener listener) |
PluginMessageListenerRegistration |
Messenger.registerIncomingPluginChannel(Plugin plugin,
String channel,
PluginMessageListener listener)
Registers the specific plugin for listening on the requested incoming
plugin channel, allowing it to act upon any plugin messages.
|
void |
StandardMessenger.unregisterIncomingPluginChannel(Plugin plugin,
String channel,
PluginMessageListener listener) |
void |
Messenger.unregisterIncomingPluginChannel(Plugin plugin,
String channel,
PluginMessageListener listener)
Unregisters the specific plugin's listener from listening on the
requested incoming plugin channel, no longer allowing it to act upon
any plugin messages.
|
Constructor and Description |
---|
PluginMessageListenerRegistration(Messenger messenger,
Plugin plugin,
String channel,
PluginMessageListener listener) |
Copyright © 2014. All rights reserved.