Uses of Interface
org.bukkit.plugin.messaging.PluginMessageListener
Package
Description
Classes dedicated to specialized plugin to client protocols.
-
Uses of PluginMessageListener in org.bukkit.plugin.messaging
Modifier and TypeMethodDescriptionPluginMessageListenerRegistration.getListener()
Gets the registered listener described by this registration.Modifier and TypeMethodDescriptionMessenger.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.StandardMessenger.registerIncomingPluginChannel
(@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.void
StandardMessenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) ModifierConstructorDescriptionPluginMessageListenerRegistration
(@NotNull Messenger messenger, @NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener)