Create time series (streak) (admin)
specter_create_time_seriesCreate time-based recurring tasks (streaks, series) with configurable windows and intervals. Define tasks, rewards, and reset behavior to build progression events like daily login streaks.
Instructions
Create a TIME SERIES: per-window recurring tasks, e.g. a daily login streak (typeId 3). Use for "streaks", "login N days in a row", "weekly recurring that resets on miss". stageLength is the window count (e.g. 7) and interval its unit (e.g. "day"). MUTATES live game config — confirm and prefer staging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tasks | Yes | The per-window tasks (e.g. day-1..day-N) | |
| fields | No | ||
| interval | Yes | Window unit (e.g. "day") | |
| projectId | No | ||
| levelLocks | No | Gate this achievement behind a level system, e.g. [{levelSystem:"player_level", level:5}] | |
| description | No | ||
| rewardClaim | No | on-claim | |
| stageLength | Yes | Number of windows, e.g. 7 for a 7-day streak | |
| taskGroupId | No | ||
| groupRewards | No | Bonus rewards for completing the full streak | |
| seriesResetEnd | No | Reset the streak at the end of the full series | |
| seriesResetMiss | No | Reset the streak if the player misses a window |