Result

public enum Result

Entries

Link copied to clipboard

Deny the event. Depending on the event, the action indicated by the event will either not take place or will be reverted. Some actions may not be denied.

Link copied to clipboard

Neither deny nor allow the event. The server will proceed with its normal handling.

Link copied to clipboard

Allow / Force the event. The action indicated by the event will take place if possible, even if the server would not normally allow the action. Some actions may not be allowed.

Functions

Link copied to clipboard
public static Event.Result 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<Event.Result> 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.