Class PluginMessageListenerRegistration
java.lang.Object
org.bukkit.plugin.messaging.PluginMessageListenerRegistration
-
Constructor Summary
ConstructorsConstructorDescriptionPluginMessageListenerRegistration(@NotNull Messenger messenger, @NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) -
Method Summary
-
Constructor Details
-
PluginMessageListenerRegistration
-
-
Method Details
-
getChannel
-
getListener
Gets the registered listener described by this registration.- Returns:
- Registered listener.
- Since:
- 1.1.0
-
getPlugin
-
isValid
public boolean isValid()Checks if this registration is still valid.- Returns:
- True if this registration is still valid, otherwise false.
- Since:
- 1.1.0
-
equals
-
hashCode
-