Create Quests
In this guide, we will explain how quests work and how you can create your own quests.
Registered Questsβ
The registeredQuests
table allows you to register all quests available for the Battle Pass. Each quest must have the following properties:
-
name
: A unique identifier for the quest. -
label
: A name for the quest to display in the UI. -
description
: A description of the quest. -
xp
: The amount of experience points (XP) awarded to the player upon completing the quest. -
premium
: A boolean value that indicates whether the quest is only available to premium players. -
untilAvailable
: A Unix timestamp that indicates the time until the quest is available. Use 0 for always available quests. You can use the command /gettime to get the current Unix timestamp. -
showProgress
: A boolean value that indicates whether the player's progress towards completing the quest should be displayed.