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