Temporary Quest Definition
Activates a rotating subset of quests each day
Fields
| Field | Type | Default | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
quests | List<Ref<QuestEntry>> | empty | Quests to choose from | ||||||||
questsPerDay | Int | 1 | How many quests are active per day | ||||||||
resetTime | String | 00:00 | Daily reset time in HH:mm | ||||||||
daysOfWeek | List<DayOfWeek> | — | Allowed days of the week | ||||||||
startTime | Optional<String> | — | Optional start time for availability (HH:mm) | ||||||||
endTime | Optional<String> | — | Optional end time for availability (HH:mm) | ||||||||
cronExpression | Optional<CronExpression> | — | Optional cron expression to further restrict availability | ||||||||
artifact | Ref<TemporaryQuestArtifact> | — | Artifact storing today's selected quests and reset time
|
| Field | Type | Default | Description |
|---|---|---|---|
artifactId | String | — | — |
maxCompletedInt0Common TypeWriter fields (children)
| Field | Type | Default | Description |
|---|---|---|---|
children | List<Ref<out AudienceEntry>> | empty | — |
How to use it
The entry is an audience filter: its children are visible to players only while the definition is active.
daysOfWeek,startTime,endTime(HH:mm) andcronExpressiondecide when it is active. All the conditions you set must hold.questsis the pool,questsPerDayhow many are picked for the day, andresetTime(HH:mm) when the day changes. The pick is saved in the Temporary Quest Artifact set inartifact.maxCompleted(above 0) hides the children from players who completed that many of the day's quests. The count is kept in the artifact and resets with the day.
The pick is exposed by the <tempquest_...:id> placeholders (see the QuestPlus page, id is the id of this entry). It does not hide the other quests by itself. An invalid resetTime is read as midnight.