Readable Fact Check Event
An event that triggers when a readable fact matches a value
Fields
| Field | Type | Default | Description |
|---|---|---|---|
fact | Ref<ReadableFactEntry> | — | The readable fact to check. |
amount | Var<Int> | 0 | The amount that represents the required value to trigger the event. |
operator | ComparisonOperator | EQUAL | The comparison operator to use (EQUAL, GREATER_THAN, LESS_THAN, GREATER_OR_EQUAL, LESS_OR_EQUAL).Values:EQUALGREATER_THANLESS_THANGREATER_OR_EQUALLESS_OR_EQUAL |
checkOnJoin | Boolean | false | If true, the event will check the fact for players when they join. |
checkIntervalSeconds | Long | 10 | Interval in seconds for periodic fact checks when enabled. |
Common TypeWriter fields (criteria, children, triggers, modifiers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
modifiers | List<Modifier> | empty | — |
How to use it
Same behaviour as the cachable fact check event, but on a read-only fact (for example player health or time of day). Read its notes for the interval and the repeated triggers.