How to setup automatic reset
Reset services are fundamental in the plugin. Their primary role is identifying a specific group of quests and determining when those quests need to be reset.
reset-services.yml
reset-services.yml
options:
time-zone: default
services:
DAILY: "0 0 * * *"
WEEKLY: "0 0 * * 1"
MONTHLY: "0 0 1 * *"
time-zone: default
: This allows you to set the time zone for your reset services. You can modify it to suit your geographical location, for instance, to "Europe/Paris".services
: This allows you to add / remove as many services as you want. By default, the plugin come pre-loaded with three basics: DAILY, WEEKLY, AND MONTHLY, designed for daily, weekly and monthly resets respectively.
How to setup a service ?
All you need is a name to identify the service, and a cron syntax linked to it, indicating the exact timing for the resets. Here are some example:
TUESDAY: "0 0 * * TUE"
will trigger a reset every TUESDAY at 12AM.15_OF_MONTH: "0 0 15 * *"
will trigger a reset at the 15th day of the month.
To easily create cron syntax, i can recommend you this website: https://crontab.cronhub.io/
Support
If you still have issue or you don't understand things, feel free to add me on discord Robotv2#2434
Last updated