Create a quest - SkytAsul/BeautyQuests GitHub Wiki
Opening the GUI
First, use the command /quest create
and then the quest creation GUI will appear.
The first thing we are going to do is add a step.
You might want to see an article called "Step types".
Creating a step/stage (1st example)
For this example, we'll chose Kill Mobs
A new GUI will pop up. Here we can chose which mobs do we want the player to kill.
Click on the first square. After that, you will see a new gui to select a mob type.
You can choose if you u want to select entity type (spawn egg) or select a NPC (stick).
We are going to choose "Select entity type".
Now we can select the mob that we want. Let's choose a cow.
After that, we'll see the old GUI. Here, if we hover with the mouse over the cow spawn egg, we can change the mob count (left click), the mob name (shift+left click) and delete it (right click).
Let's left click and change the amount to 5. Left click on the cow spawn egg, then type in chat the amount (5).
Now let's validate (left click on the diamond)!
Modifying
Now we came back to the first GUI. Here we've created a step. We can:
- Remove the step (barrier)
- Edit the end rewards for the specific step/stage (baked potato)
- Edit the description of the step/stage (oak sign)
- Edit the starting message of the step/stage (feather)
- Edit the validation req. for the step/stage (nether star)
The things that I mentioned above are universal (you will find them no matter the step/stage type. The ones that are below this message are only for this step type:
- Needs to be killed with projectile
- Edit mobs to kill (stone sword)
Creating a step/stage (2nd example)
Now, let's create another step/stage. This time a "break blocks" step.
So click on the slime ball, then choose "break blocks" (wooden pickaxe).
Now you see the "select blocks GUI".
Left click on the first red stained glass block. You will see a new GUI.
Left click on the stone block, then type in chat what block you would like to use for this step. Let's say obsidian.
Change the amount by left clicking the redstone dust. Type in chat how many blocks do you want them to break. Let's say 2.
Now left click on the diamond to validate. Then click validate again. You will see this:
We'll just click on the diamond at the bottom "validate".
Last quest details
Almost done! First, we have to name the quest. Left click on the name tag, then type in chat the name of the quest.
You can add a description by clicking the sign. Type in chat add
, then the name of your quest. (add
is adding a new line to the description) After you finished, type close
.
Then, edit the quest material. Inside of the /quests menu, what kind of item do you want players to see. Left click on the book, then type in chat the item.
FLAGS
Flags are a really important part of your quest. Flags are those gray things. Here's a list of flags:
- Don't count quest limit
If enabled, the quest will be startable even if the player has reached its maximum amount of started quests.
- Hide when requirements not met
If enabled, the quest will not be displayed in the Quests Menu when the requirements are not met.
- Startable from GUI
Allows the player to start the quest from the Quests Menu.
- Fail on death
Will the quest be cancelled when the player dies?
- Cancellable by player
Allows the player to cancel the quest through its Quests Menu
- Enable scoreboard
If disabled, the quest will not be tracked through the scoreboard.
- Hide menu and dynmap
If enabled, the quest will not be displayed on the dynmap nor in the Quests Menu.
- Start automatically on first join
If enabled, the quest will be started automatically when the player joins the server for the first time.
- Toggle repeatable
Can the quest be done several times?
- Restart timer (clock) Time before the player can start the quest again.
Now, you can add requirements. (going to be explained soon)
Start rewards are the actions that are performed when the quest starts.
Next, we have "Edit start message". You can edit this, but it might be better to just leave it as default.
Next, we have "NPC Starter". There you can select to create or choose an existing NPC who players can click on to start the quest. You need a NPC plugin for this step. I personally use ZNPCS as it's free, but for a better experience, you might want to choose Citizens.
You can also edit the start message, but you can check that out for yourself.
To the bottom-right corner, you will have 4 options. We'll focus on the "END REWARDS" one. That is the option to add rewards after the full quest is completed.
Now let's click on "Validate".
CONGRATS
You've reached the end of the article. I really hope this helped you. I am wishing you good luck on your quest-creation journey. To try out the quest, click on the NPC that you selected (if you did) or just use the /quests menu to start the quest.