Aller au contenu principal

Time Window Audience

Filter players using the TinyEssentials calendar

Champs

ChampTypePar défautDescription
timeEntryString—Identifier of the minecraft_time entry that provides the calendar data
windowsList<TimeRange>—Time windows (in ticks) that must contain the current time. End values lower than the start wrap to the next day.
TimeRange (2)
ChampTypePar défautDescription
startTicksInt0Start tick (0-23999) inclusive
endTicksInt23999End tick (0-23999) inclusive. Values lower than the start wrap to the next day.
dayConstraintsList<DayConstraint>—Accepted day combinations. Leave empty to allow any day.
DayConstraint (4)
ChampTypePar défautDescription
weekdaysList<String>emptyList of weekday names or indexes (1 = first day) that should be accepted. Leave empty to ignore.
monthsList<String>emptyList of month names or indexes (1 = first month) that should be accepted. Leave empty to ignore.
daysOfMonthList<Int>emptySpecific days of the month that should be accepted. Leave empty to ignore.
daysOfYearList<Int>emptySpecific day-of-year indexes (1-based) that should be accepted. Leave empty to ignore.
eventConstraintEventConstraint—Optional event rule that enables the audience shortly before configured events.
EventConstraint (5)
ChampTypePar défautDescription
eventIdsList<String>emptyIdentifiers or titles of events that should activate the window. Leave empty to accept any event.
daysBeforeInt0Maximum number of in-game days before the event that should activate the window.
ticksBeforeInt23999Maximum number of ticks before the event time (when the event is today).
requireEventBooleanfalseWhether a matching event is required for the filter to pass.
previewLimitInt3Number of matching events displayed in summaries.
invertedBooleanfalseInvert the filter result so the audience becomes the players outside the configured window.
Champs TypeWriter communs (children)
ChampTypePar défautDescription
childrenList<Ref<out AudienceEntry>>empty—