Interface ResultedEvent.Result

All Known Subinterfaces:
KickedFromServerEvent.ServerKickResult
All Known Implementing Classes:
CommandExecuteEvent.CommandResult, CookieReceiveEvent.ForwardResult, CookieRequestEvent.ForwardResult, CookieStoreEvent.ForwardResult, KickedFromServerEvent.DisconnectPlayer, KickedFromServerEvent.Notify, KickedFromServerEvent.RedirectPlayer, PlayerChatEvent.ChatResult, PluginMessageEvent.ForwardResult, PreLoginEvent.PreLoginComponentResult, PreTransferEvent.TransferResult, 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 the event is allowed to proceed.
  • Method Details

    • isAllowed

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