Class PluginMessageEvent.ForwardResult
java.lang.Object
me.internalizable.numdrassl.api.event.connection.PluginMessageEvent.ForwardResult
- Enclosing class:
PluginMessageEvent
Represents the result of plugin message handling.
-
Method Details
-
forward
Creates a result indicating the message should be forwarded.- Returns:
- forward result
-
handled
Creates a result indicating the message was handled and should not be forwarded.- Returns:
- handled result
-
shouldForward
public boolean shouldForward()Checks if the message should be forwarded.- Returns:
- true if the message should be forwarded
-