Class PluginMessageEvent.ForwardResult
java.lang.Object
com.velocitypowered.api.event.connection.PluginMessageEvent.ForwardResult
- All Implemented Interfaces:
ResultedEvent.Result
- Enclosing class:
- PluginMessageEvent
public static final class PluginMessageEvent.ForwardResult
extends Object
implements ResultedEvent.Result
A result determining whether or not to forward this message on.
-
Method Details
-
isAllowed
public boolean isAllowed()Description copied from interface:ResultedEvent.Result
Returns whether or not the event is allowed to proceed. Plugins may choose to skip denied events, and the proxy will respect the result of this method.- Specified by:
isAllowed
in interfaceResultedEvent.Result
- Returns:
- whether or not the event is allowed to proceed
-
toString
-
forward
-
handled
-