Package | Description |
---|---|
org.bukkit.plugin.messaging |
Classes dedicated to specialized plugin to client protocols.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Set<PluginMessageListenerRegistration> |
StandardMessenger.getIncomingChannelRegistrations(Plugin plugin) |
Set<PluginMessageListenerRegistration> |
Messenger.getIncomingChannelRegistrations(Plugin plugin)
Gets a set containing all the incoming plugin channel registrations
that the specified plugin has.
|
Set<PluginMessageListenerRegistration> |
StandardMessenger.getIncomingChannelRegistrations(Plugin plugin,
String channel) |
Set<PluginMessageListenerRegistration> |
Messenger.getIncomingChannelRegistrations(Plugin plugin,
String channel)
Gets a set containing all the incoming plugin channel registrations
that the specified plugin has on the requested channel.
|
Set<PluginMessageListenerRegistration> |
StandardMessenger.getIncomingChannelRegistrations(String channel) |
Set<PluginMessageListenerRegistration> |
Messenger.getIncomingChannelRegistrations(String channel)
Gets a set containing all the incoming plugin channel registrations
that are on the requested channel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StandardMessenger.isRegistrationValid(PluginMessageListenerRegistration registration) |
boolean |
Messenger.isRegistrationValid(PluginMessageListenerRegistration registration)
Checks if the specified plugin message listener registration is valid.
|
Copyright © 2014. All rights reserved.