CobblemonQuests
Drop-in daily & weekly quest system with configurable rewards, streaks, milestones and hidden quests.
Оцените первым
511
1
511
1
Список изменений
[1.6.4] — 2026-04-20 — "Stars via Economy"
Star rewards now dispatch through a configurable economy command
(default: eco deposit {amount} stars {player}) so a proper Impactor
currency account is what updates — not a parallel JSON ledger. The
chat banner on claim is fully configurable from config.conf.
Fixed — Stars never reached the economy plugin
- Previously, star rewards only updated
PlayerQuestData.starsBalancein the mod's own JSON. Servers that had configuredimpactor:starsas a proper Impactor currency ineconomy.confsaw the mod report "★ +N Stars" in chat while/eco balance starsnever moved. - The new
rewards.stars-deposit-commandruns a real economy command on every grant. The command's return value is checked — if the template is misconfigured (wrong currency id, missing plugin, typo), the dispatch fails loudly inlatest.logwith the exact resolved invocation, and the JSON mirror is not incremented. No more silent "stars awarded" with nothing actually delivered.
Added — rewards.stars-* config block
rewards {
stars-deposit-command = "eco deposit {amount} {currency} {player}"
stars-withdraw-command = "eco withdraw {amount} {currency} {player}"
stars-currency-id = "stars"
stars-mirror-balance = true
}
- Placeholders:
{amount}(plain number, no trailing zeros),{player}(unquoted name),{currency}(substitutesstars-currency-id). - Blank
stars-deposit-command= legacy in-JSON-only behaviour (upgrade-safe; servers with no economy plugin still work). stars-mirror-balancekeeps the local JSON in sync for the in-mod leaderboard, the StatsGui, and the reroll-cost guard. Turn off if you're replacing those UIs with economy-plugin equivalents.
Added — Fully customizable chat banner
rewards {
notify-stars = "<yellow>★ +{amount} Stars</yellow>"
notify-pokedollars = "<green>$ +{amount} PokeDollars</green>"
notify-claimed = "<green>✓ Claimed: <white>{quest}</white></green>"
notify-bonus-claimed = ""
notify-quest-ready = ""
notify-quest-complete = ""
}
notify-stars/notify-pokedollarsreplace the previously hardcoded chat toasts inRewardDispenser. Blank = suppress.notify-claimed(and the three companion keys) override the correspondingnotification.*entries in the language JSON when non-blank. Blank = fall through to the language file so translations still work.- The reference image from the bug report maps to:
- line 1 =
notify-stars - line 2 =
notify-pokedollars - line 3 =
notify-claimed
- line 1 =
Added — Startup banner for active star backend
onServerStartednow logs one INFO line identifying which backend is live: eitherlegacy in-JSONordispatching '<template>' (currency='<id>', mirror=<bool>). Greplatest.logto confirm the mode without opening the config.
Technical notes
- Command dispatch uses the same
executeWithPrefixpath thatRewardDispenser.runCommanduses —withSilent().withLevel(4), with a leading/stripped. The new contract is thatresult < 1(no nodes matched) is a hard failure. - Re-entry guard: a misconfigured command that calls back into the
mod's own star-grant path (e.g.
questsadmin give ...) is caught by aThreadLocalguard and logs a WARN instead of stack- overflowing. - Offline players: if the command can't resolve a name (no online
player, no cached
PlayerQuestData.playerName), the grant is queued into the existingpendingRewardslist and delivered on next join. If Impactor itself accepts offline-name/eco deposit(it does, via the server user cache), grants to offline-but- cached players go through immediately. refundStarsdispatches the same deposit command but does not incrementlifetimeStarsEarned(preserves the v1.6.2 leaderboard contract). Side-effect: Impactor's transaction log can't distinguish refund from earn. Accepted.- Mirror drift: if an operator runs
/eco take stars <player> …directly, the JSON mirror over-reports. Next star grant is still correctly dispatched, so the mirror only drifts until then — no persistent corruption. Admins who care should switchstars-mirror-balance = falseand rebuild the leaderboard from their economy plugin.
Файлы
cobblemonquests-1.6.4.jar(1.01 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6.4
Загрузчики
Fabric
Версии игры
1.21.1
Загрузок
26
Дата публикации
20.04.2026