Bot releases are hidden (Show)
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Examples for the most major changes are below. Changes:
One HIGHLY requested feature is finally there: a complete revamp of the item/block/material selector.
This allows you to do specify multiple materials, like this:
/qa edit questname objectives add BreakBlocks diamond_ore,deepslate_diamond_ore 20
Yes! Finally, you can make it so both kinds of diamond ore count towards the progress.
Or:
/qa edit questname objectives add PlaceBlocks hand,acacia_log,spruce_log,birch_log,dark_oak_log 15
You can see why that's super useful, right?
This even works in GiveItem actions, so you can give players multiple items at once!
It works pretty much everywhere you can enter materials - so in all objective types!
This allows you to use variables in objectives relatively!
Example:
/qa edit questname objectives add NumberVariable PlaytimeMinutes moreOrEqualThan PlaytimeMinutes+2
This objective makes it, so the player needs to play 2 MORE minutes.
Previously, you were only able to add a condition to a quest objective which determines if it's unlocked or not (= HIDDEN).
Now, you can ALSO add objective conditions which check if you can progress, or complete the objective. Should be super useful!
Examples:
/qa edit questname objectives edit 1 conditions unlock add Flying equals false
"Default" condition. That's what you are used to. If you are flying, the objective remains locked / "Hidden".
/qa edit questname objectives edit 1 conditions progress add Flying equals false
Objective is always shown, but if you are flying, you won't get any positive progress towards it
/qa edit questname objectives edit 1 conditions progress add Flying equals false
Objective is always shown, and you always get progress, but it won't complete if you don't fulfil the condition
Say objective 1 is a BreakBlocks objective.
/qa edit questname objectives edit 1 conditions progress add ItemInInventoryEnchantments HAND containsIgnoreCase minecraft:silk_touch --allowProgressDecreaseIfNotFulfilled --negate
/qa edit questname objectives edit 1 conditions progress add ItemInInventoryEnchantments OFF_HAND containsIgnoreCase minecraft:silk_touch --allowProgressDecreaseIfNotFulfilled --negate
It stops progress from being added to the breakblocks objective if the item in the player's main or offhand is enchanted with silk touch
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
/qa edit questname objectives add BreakBlocks dirt RandomNumberBetweenRange(min:1,max:50)
This makes it so, when you start the quest, you have to break between 1 and 50 dirt blocks. It basically randomizes the number of blocks you have to break for this objective (it gets randomized only once when you take the quest).
/qa edit questname objectives add BreakBlocks grass_block TagInteger(TagName:housestarkreputation)+1
This makes it so the amount of grass blocks you have to break is equal to what's currently saved in the player's housestarkreputation tag (more on that in the tutorials section of the docs) + 1. Yes, you can even do maths in these expressions 😄
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
/qa variables check
commandPublished by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
For this version, please re-generate your language files by deleting the plugins/NotQuests/languages
folder.
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
/qa debug showErrorsAndWarnings
and /qa debug showErrorsAndWarnings --printToConsole
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago
Published by AlessioGr over 2 years ago