EventPriority

public enum EventPriority

Represents an event's priority in execution

Entries

Link copied to clipboard

Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome

Link copied to clipboard

Event call is of low importance

Link copied to clipboard

Event call is neither important nor unimportant, and may be ran normally

Link copied to clipboard

Event call is of high importance

Link copied to clipboard

Event call is critical and must have the final say in what happens to the event

Link copied to clipboard

Event is listened to purely for monitoring the outcome of an event.

Properties

Link copied to clipboard
public final int slot

Functions

Link copied to clipboard
public int getSlot()
Link copied to clipboard
public static EventPriority valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<EventPriority> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.