Interface ResultedEvent.Result

All Known Subinterfaces:
KickedFromServerEvent.ServerKickResult
All Known Implementing Classes:
CommandExecuteEvent.CommandResult, KickedFromServerEvent.DisconnectPlayer, KickedFromServerEvent.Notify, KickedFromServerEvent.RedirectPlayer, PlayerChatEvent.ChatResult, PluginMessageEvent.ForwardResult, PreLoginEvent.PreLoginComponentResult, ResultedEvent.ComponentResult, ResultedEvent.GenericResult, ServerLoginPluginMessageEvent.ResponseResult, ServerPreConnectEvent.ServerResult
Enclosing interface:
ResultedEvent<R extends ResultedEvent.Result>

public static interface ResultedEvent.Result
Represents a result for an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether or not the event is allowed to proceed.
  • Method Details

    • isAllowed

      boolean isAllowed()
      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.
      Returns:
      whether or not the event is allowed to proceed