-
Notifications
You must be signed in to change notification settings - Fork 9
Guide: Editing quests
QuestWorld is a GUI driven questing plugin. In that spirit, the editor is also GUI driven.
/questeditor gui (or /qe gui for short) opens the editor. You will be greeted with a block of 45 red glass panes, and a single piece of paper in the second slot for navigation. We'll ignore this for now.
Note: While in the editor, you can safely move items in your inventory.
Clicking on one of the glass panes will close the menu and prompt a category name, which can be any length and supports color codes. When displayed, the name will wrap according to the text-wrap config setting. Once you've given a name, the editor opens back up.
Once you have a category, left click on it to open its quests. This will look almost identical to the category list, with the addition of a back button (map) in the very first slot. Clicking it will take you back to the category list.
Like with the category, click on a glass pane and supply a name to create a quest.
Left click to open your quest. The quest editor has many options (some more clear than others), but for now we're only going to touch missions.
The paper at the bottom of the menu are empty mission slots. Without missions, a quest is inert. Click on the paper to create a mission. By default, this will be a Submit mission which accepts 1 stone.
Exit the editor and open your quest book (/quests works too, if you have no book). Click on your category and quest, and you will see a single task asking for 1 stone.
Congrats, you've created a quest!
Navigate the editor back into your quest. Before anything else, take a look at the "Delete database" button (red wool). It resets all player progress for this quest. If you already completed your quest, click this button so you can complete it again later.
The clock lets you change the quest cooldown, or how long you need to wait before starting the quest again. The default is "Single Use", meaning it can only be completed once. Left click once sets the cool down to "Repeating", meaning there is zero delay between completing the quest and starting it again. Left clicking more increases the delay by one minute.
For the sake of testing, set the cooldown to "Repeating" so that you can complete it as many times as is necessary to test your quest. Note that right-clicking will decrease the delay, and holding shift will change the jump from one minute to one hour.
The first chest button sets item rewards. Clicking it will copy your entire hotbar into the item rewards section. Any empty slots are also copied, so an empty hotbar will clear the rewards.
Let's test the quest again. After submitting the stone, clicking "Claim rewards" will give you the item rewards. Because we set the quest to refresh instantly, it is ready to be completed again.
For some quests, it makes more sense to hand out rewards immediately, rather than waiting for the player to click "Claim rewards". For this, we have the "Auto-claim rewards" button (the second chest.) Clicking this button toggles between on and off, indicated by a green check or a red X respectively.