Planificador
Last updated
Last updated
Once you've familiarized yourself with the Quest Editor, you may be wondering about the 'Edit Planner' selection. This sub-menu contains controls for when your quest should be available, based on real time:
To better understand these selections, examples are provided below.
Daily Quest
In the real world, most businesses are only open during peak shopping hours. Similarly, you may wish to only have your quest available at certain times each day. The following is how such a quest might appear in quests.yml:
The start date is set to January 11, 2020 at 9:00 AM EST. The end date is set to January 11, 2020 at 5:00 PM EST. This means that the quest will only be available for eight hours.
Since we want players to be able to take the quest every day, the repeat cycle is set to 86400 seconds (24 hours). This wait time is based on the start date, so the quest will next become available on January 12, 2020, then again on the 13th, and so on. Just like the original duration, it will still only be available between 9:00 AM and 5:00 PM daily.
Lastly, we set a player cooldown of 32400 seconds (9 hours) because we do not want the player to take our quest a second time if they complete it before 5:00 PM. This ensures even the fastest players won't be able to take the quest again until the next day. If you want players to be able to take the quest at 9:00 AM the next day regardless of whether their cooldown has expired, you may set the ignore cooldown after repeat override to true.
New Years' Celebration
Let's create a quest for a New Years' party. Please observe the following example as it would appear in quests.yml:
The start date is set to December 31, 2020 at 11:00 PM EST. The end date is set to January 1, 2021 at midnight. This means that the quest will only be available for one hour.
Since we want to celebrate every year, the repeat cycle is set to 31536000 seconds (one calendar year). This wait time is based on the start date, so the quest will next become available on December 31, 2021, then again on the 31st of 2022, and so on. It will only be available for one hour, just like the original duration.
Lastly, we set a player cooldown of 3600 seconds (one hour) because we do not want the player to take our quest a second time if they complete it within one hour. This ensures even the quickest players won't be able to take the quest again until next year.