RegistrableCondition

@Since(version = "2.2")
interface RegistrableCondition : Registrable

This interface is used to create registrable conditions.

Inheritors

Properties

Link copied to clipboard
@Since(version = "2.2")
abstract val aliases: List<String>

The aliases for this registrable.

Functions

Link copied to clipboard
abstract fun evaluateCondition(trigger: RegistrableTrigger, event: Event, target: TargetType, arguments: List<String>): Boolean

Evaluates the condition, given the trigger, event, target and arguments.