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