Package com.velocitypowered.api.event
Provides core support for handling events with Velocity. Subpackages include event classes.
-
Interface Summary Interface Description AwaitingEventExecutor<E> An event handler that returns anEventTaskto await on.Continuation Represents a continuation of a paused event handler.EventHandler<E> Represents an interface to perform direct dispatch of an event.EventManager Allows plugins to register and deregister listeners for event handlers.EventTask Represents a task that can be returned by aEventHandlerwhich allows event handling to be suspended and resumed at a later time, and executing event handlers completely or partially asynchronously.ResultedEvent<R extends ResultedEvent.Result> Indicates an event that has a result attached to it.ResultedEvent.Result Represents a result for an event. -
Class Summary Class Description ResultedEvent.ComponentResult Represents an "allowed/denied" result with a reason allowed for denial.ResultedEvent.GenericResult A generic "allowed/denied" result. -
Enum Summary Enum Description PostOrder Represents the order an event will be posted to a listener method, relative to other listeners. -
Annotation Types Summary Annotation Type Description Subscribe An annotation that indicates that this method can be used to listen for an event from the proxy.