Class PluginMessageEvent.ForwardResult

java.lang.Object
me.internalizable.numdrassl.api.event.connection.PluginMessageEvent.ForwardResult
Enclosing class:
PluginMessageEvent

public static final class PluginMessageEvent.ForwardResult extends Object
Represents the result of plugin message handling.
  • Method Details

    • forward

      @Nonnull public static PluginMessageEvent.ForwardResult forward()
      Creates a result indicating the message should be forwarded.
      Returns:
      forward result
    • handled

      @Nonnull public static PluginMessageEvent.ForwardResult 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