Package com.velocitypowered.api.event
Provides core support for handling events with Velocity. Subpackages include event classes.
-
Interface Summary Interface Description Continuation Represents a continuation of a paused event handler.Event Base class for all events in the Velocity API.EventHandler<E extends Event> Allows a listener to receive direct dispatches of events.EventManager Allows plugins to register and deregister listeners for event handlers.EventTask Represents a task that can be returned by aEventHandler
which 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 Provides convenient shorthands for represents the order an event will be posted to a listener. -
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.