Package com.velocitypowered.api.event
package com.velocitypowered.api.event
Provides core support for handling events with Velocity. Subpackages include event classes.
-
ClassDescriptionAn event handler that returns an
EventTask
to await on.Represents a continuation of a paused event handler.EventHandler<E>Represents an interface to perform direct dispatch of an event.Allows plugins to register and deregister listeners for event handlers.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.Represents the order an event will be posted to a listener method, relative to other listeners.ResultedEvent<R extends ResultedEvent.Result>Indicates an event that has a result attached to it.Represents an "allowed/denied" result with a reason allowed for denial.A generic "allowed/denied" result.Represents a result for an event.An annotation that indicates that this method can be used to listen for an event from the proxy.