Aller au contenu principal

Temporary Quest Definition

Activates a rotating subset of quests each day

Champs

ChampTypePar défautDescription
questsList<Ref<QuestEntry>>emptyQuests to choose from
questsPerDayInt1How many quests are active per day
resetTimeString00:00Daily reset time in HH:mm
daysOfWeekList<DayOfWeek>—Allowed days of the week
startTimeOptional<String>—Optional start time for availability (HH:mm)
endTimeOptional<String>—Optional end time for availability (HH:mm)
cronExpressionOptional<CronExpression>—Optional cron expression to further restrict availability
artifactRef<TemporaryQuestArtifact>—Artifact storing today's selected quests and reset time
TemporaryQuestArtifact (1)
ChampTypePar défautDescription
artifactIdString——
maxCompletedInt0Maximum number of quests a player can complete per reset period. 0 or -1 for unlimited.
Champs TypeWriter communs (children)
ChampTypePar défautDescription
childrenList<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) and cronExpression decide when it is active. All the conditions you set must hold.
  • quests is the pool, questsPerDay how many are picked for the day, and resetTime (HH:mm) when the day changes. The pick is saved in the Temporary Quest Artifact set in artifact.
  • 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.