Package | Description |
---|---|
org.bukkit.plugin.messaging |
Classes dedicated to specialized plugin to client protocols.
|
Modifier and Type | Method and Description |
---|---|
@NotNull PluginMessageListener |
PluginMessageListenerRegistration.getListener()
Gets the registered listener described by this registration.
|
Modifier and Type | Method and Description |
---|---|
@NotNull PluginMessageListenerRegistration |
StandardMessenger.registerIncomingPluginChannel(@NotNull Plugin plugin,
@NotNull String channel,
@NotNull PluginMessageListener listener) |
@NotNull PluginMessageListenerRegistration |
Messenger.registerIncomingPluginChannel(@NotNull Plugin plugin,
@NotNull String channel,
@NotNull 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(@NotNull Plugin plugin,
@NotNull String channel,
@NotNull PluginMessageListener listener) |
void |
Messenger.unregisterIncomingPluginChannel(@NotNull Plugin plugin,
@NotNull String channel,
@NotNull 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(@NotNull Messenger messenger,
@NotNull Plugin plugin,
@NotNull String channel,
@NotNull PluginMessageListener listener) |
Copyright © 2021. All rights reserved.