Calendar Event Fact
The Calendar Event Fact checks the status of scheduled events defined in a minecraft_time entry (standard TypeWriter time entry). Useful for holiday events or daily schedules.
Configuration
timeEntry — String
ID of the minecraft_time entry to query.
eventId — String
ID or name of the event (or next / today).
mode — Enum
The condition logic to check.
EXISTS: Event is defined.UPCOMING: Event starts withinmaxDaysUntil.TODAY: Event is active today/tomorrow (0 days left).ACTIVE: Event is currently running.
maxDaysUntil — Int
Lookahead window in days for UPCOMING mode.
condition:
type: fact_condition
fact: calendar_event_fact
timeEntry: "server_calendar"
eventId: "christmas_event"
mode: ACTIVE
operator: EQUALS
match: 1