Repository navigation
Rewards placeholders, dialog click, number, daily and integration quests - #12
Open
kazotaruumc72 wants to merge 2 commits into
Open
kazotaruumc72 wants to merge 2 commits into
kazotaruumc72 wants to merge 2 commits into
Conversation
…quests - Rewards placeholders: %zquests_rewards_<quest>%, %zquests_rewards_count_<quest>%, %zquests_current_rewards[_<slot>]% and %zquests_current_rewards_count[_<slot>]%, generated from give / eco give commands, configurable separator and line format (one reward per lore line with separator "\n") - DIALOG_CLICK quests using zMenu PlayerDialogClickEvent (detected at runtime) - NUMBER quests, sequential and daily quests with daily reset - Integrations: Economie, Guilde, OneBlock, Peche, Runes, Shops - Docs and examples Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New premium-rewards / premium-rewards-lore quest sections, given on completion in addition to rewards when the player has the premium permission - premium-rewards config section: permission (zquests.premium), separator, format and locked-format (greyed out for players without the permission) - Placeholders: premium_rewards_<quest>, premium_rewards_count_<quest>, current_premium_rewards[_<slot>], current_premium_rewards_count[_<slot>], is_premium - Quest#getPremiumRewards / getPremiumRewardsLore API, docs and example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
%zquests_rewards_<quest>%,%zquests_rewards_count_<quest>%,%zquests_current_rewards[_<slot>]%,%zquests_current_rewards_count[_<slot>]%. Uses the quest'srewards-loresection, or generates the lines fromgive/eco givecommands.rewards-placeholdersection inconfig.yml:separator,format(%reward%),empty,item,money,default-currency.separator: "\n"each reward gets its own lore line, because zMenu splits lore on new lines (e.g.format: "&8•%reward%"). Missing keys keep the old single-line output (", "/%reward%).premium-rewards/premium-rewards-lorequest sections. They are given in addition torewardswhen the player haspremium-rewards.permission(defaultzquests.premium, declared withdefault: false).%zquests_premium_rewards_<quest>%,%zquests_premium_rewards_count_<quest>%,%zquests_current_premium_rewards[_<slot>]%,%zquests_current_premium_rewards_count[_<slot>]%,%zquests_is_premium%.locked-format(greyed out by default).PlayerDialogClickEventfrom Add PlayerDialogClickEvent zMenu#277, found at runtime. If the event is missing, the quest type is turned off with a log message.libs/as compile-only jars.placeholders.md,quests.md, integrations) and example quest files (example_daily.yml,example_tutorial.yml).Test plan
./gradlew buildcompiles🤖 Generated with Claude Code