CobblemonQuests
你的 Cobblemon 服务器所需的互动循环。每日、每周、精英、隐藏和可重复任务,全服社区目标,排行榜,可配置音效,以及一套完整的游戏内创作与自定义工具包——所有功能均构建在一个简洁的单屏幕 GUI 之上,管理员无需触碰 Java 代码即可通过配置文件逐槽位重新排列界面。
功能亮点
玩家端
- 6 种任务类型 — 每日、每周、精英每周、隐藏、可重复和普通(连锁步骤)。
- 可重复任务永不轮换。你可以随意多次运行它们;每次任务的累计运行次数会被单独记录并显示在任务卡片上。
- 精英每周 — 额外高难度的每周任务,提供显著更好的奖励,并在专用槽位中以发光效果展示。
- 隐藏任务 — 当触发条件匹配时(如捕获数量、宝可梦种类、维度等),这些任务会无形解锁,并在专用的“隐藏”查看器 GUI 中与已完成任务的奖杯卡片一同展示。
- 15 种目标类型 — 捕获、击败 NPC、击败野生宝可梦(与 PvE 胜利分开追踪)、升级、获得等级、进化、孵化蛋、投掷 Poké Ball、使用经验糖果、访问生物群系/维度(具备防往返去重机制)、捕获异色、捕获传说宝可梦、完成 PokeHunts、完成团体战。
- 单一 6 行任务 GUI — 一览无余:第 0 行为排行榜卡片 + 重置计时器,第 1–2 行为每日任务,第 3–4 行为每周任务,第 5 行为连胜/里程碑/隐藏/可重复/关闭按钮。再也不用在子页面中翻找了。
- 服务器任务 — 全服共享的集体目标,配有实时 Boss 血条。每位玩家均可贡献力量。持续时间从 1 小时到 1 周不等。贡献前三名的玩家将获得额外奖励;离线玩家的贡献将在下次登录时通过排队奖励系统发放。附带玩家头像与奖牌的贡献排行榜。
- 排行榜 — 前 16 名玩家头像金字塔,当前排名者带有发光效果。平局现在按达成该数值的时间戳先后判定,因此超越朋友后你将保持领先。
- 音效与视觉特效 — 任务完成、领取、里程碑达成、连胜推进、发现隐藏任务、连锁推进和社区目标完成时均可配置音效。重大事件发生时会有标题/副标题闪烁提示。
- 领取系统 — 已完成的任务会显示
★ READY ★ 发光状态;可单独领取或点击“全部领取”。支持自动模式。
- 每日连胜 + 终身里程碑 — 奖励坚持到底的玩家。里程碑 GUI 支持分页且完全可配置。
- 重随系统 带有严格的每次轮换上限 ——
daily-per-day(每日)和 weekly-per-week(每周)(默认为各 1 次)。不提供付费保底选项。计数器会在重随前消耗,如果奖池无法生成替换奖励则予以退款,从而防止并发点击导致双重消费。
- 聊天奖励横幅 — 每次奖励发放都会显示一行确认信息:
★ +250 Stars / $ +5000 PokeDollars。格式完全可按服务器自定义。
管理员端
- 对玩家可见的所有字符串、槽位、物品、颜色和按钮进行游戏内自定义。无需编辑 jar 包,无需 Java。每个 GUI 都是
config/cobblemonquests/gui/ 下的独立 HOCON 文件:
main_menu.conf、detail_menu.conf、stats_menu.conf、
milestone_menu.conf、leaderboard_menu.conf、
repeatable_menu.conf
- 设置每个按钮的
slot(0–53)。设置每个菜单的 rows(1–6)。切换任何按钮的 visible 标志。用任意物品 ID 替换玻璃板填充物。自定义进度条字符、颜色、长度和括号。通过 name-format 重新排序任务名称部分。按进度 / 稀有度 / 字母顺序 / 状态 / ID 对任务进行排序。
- 自定义命令按钮 — 向任何 GUI 中添加无限数量的额外按钮:存储链接、Discord、投票、原版快捷指令。每个条目包含
slot、item、name、lore、glow 以及带有 {player} 替换功能的 command 模板。
- 事件命令钩子 — 当发生以下任何事件时触发控制台命令:
quest-complete、milestone-reached、streak-milestone、claim。连接 Discord Webhook、广播消息、授予外部物品——全部无需重新编译。
- 管理员右键快速操作 — 拥有管理员权限时,右键点击任何任务方块即可内联打开“完成”、“重置进度”或“查看详情”。
- 任务浏览器 — 按类型选项卡分类(全部 / 每日 / 每周 / 普通 / 精英 / 隐藏 / 可重复),按稀有度和类别筛选,支持排序和分页。可扩展至数百个任务。
- 任务编辑器 + 任务创建向导 — 完整的游戏内 CRUD 功能。循环选择类型 / 类别 / 稀有度,设置目标,通过 4 步向导构建奖励,保存到磁盘,复制,删除(两次点击确认),实时预览。
- 4 步奖励向导 — 选择类别(货币 / 物品 / 宝箱钥匙 / 指令)→ 浏览并选择(物品浏览器,带有全部 / Cobblemon / 球 / 糖果 / 原版选项卡及完整的注册表分页)→ 设置数量 → 回顾并确认。
- 单个奖励的
display 覆盖 — 用自定义 MiniMessage 替换任何奖励的描述文本。非常适合品牌化奖励或在干净的 <aqua>特殊奖励</aqua> 行后面隐藏原始的 padmin givekey 命令。
- 奖励显示重命名映射 —
rewards.display-names 将任何物品 ID 或钥匙 ID 全局映射为自定义名称。服务器可以附带一套完全品牌化的工具提示集,而无需逐个奖励进行编辑。
- 链式浏览器 + 编辑器 + 向导(管理员端)— 完整的游戏内链式创作,包含步骤选择器、内联任务创建、重排序箭头、难度标签、可循环切换和链式完成奖励。
- 服务器任务浏览器 + 编辑器 + 向导 — 创建全服目标,包括目标类型、目标值、持续时间(1 小时至 1 周)、基础奖励和前 3 名贡献者的额外奖励。活动目标管理面板:停止、重置、提升进度、实时查看贡献者。
- 玩家管理 GUI — 检查任何在线玩家:活跃任务、连胜、星星余额、总完成数、可重复运行次数。管理员操作:授予星星、重置每日 / 每周任务、清除玩家数据(两次点击确认)。每次点击都会重新检查管理员权限——会话中途降级会立即生效。
- 配置编辑器 — 多页面中心:重掷上限 / 池权重 / 开关 / GUI 布局。每个都是一个带有保存功能的干净子页面。
- GUI 布局编辑器 — 可视化的 54 槽网格。点击任意槽位以循环其角色。保存写入
gui/player_main.conf 并自动重载。
- 诊断与测试命令:
/quests admin debug events — 每个追踪器的触发计数 + 上次触发时间戳 + 最后详情。几秒钟内即可排查“我的任务没有进展”的报告。
/quests admin debug stars <player> — 打印权威的星星余额 + 终身收益。
/quests admin testkey <player> <key> [amount] — 实时调用宝箱钥匙桥接以验证您的模板,无需等待任务。
/quests admin testcommand <player> <command...> — 通过奖励使用的相同 SafeDispatch 管道对任何指令奖励模板进行试运行。
奖励
- PokéDollars(Impactor 主要货币)
- Stars — 现在通过可配置的经济指令分发(默认:
eco deposit {amount} {currency} {player}),因此更新的是真实的 Impactor 货币账户。本地 JSON 账本仅作为排行榜缓存镜像。
- Items — 任何 Minecraft / Cobblemon 物品 ID,支持溢出处理。
- Crate keys — 全局指令模板加上每个钥匙的覆盖映射 (
integrations.crate-key-commands),这样 lunar 可以路由到 Pebble's Crates,而 vote 可以路由到 ExcellentCrates,在同一服务器上无需在其他地方进行分支。默认模板开箱即用针对 Pebble's Crates(padmin givekey {player} {amount} {key})。
- Custom commands — 使用
{player} 占位符执行控制台命令,通过统一的 SafeDispatch 管道运行,该管道会捕获拼写错误、缺失节点和重入问题,而不是默默地吞掉它们。
- 所有发放都是原子的,带有 8 位事务 ID 的审计日志,并且对离线玩家具有弹性——社区目标支付和星星奖励会排队进入
pendingRewards,并在下次登录时交付,附带 ★ You have rewards waiting! ★ 聊天横幅。
集成
- Impactor — PokéDollar + Stars 货币,软依赖。
- PokeHunts — 如果加载则自动挂钩;任务类型
COMPLETE_POKEHUNT。
- Raids — 如果加载则自动挂钩;任务类型
COMPLETE_RAID。
- LuckPerms — 可选,用于权限节点查找;如果提供程序失败,会干净地回退到 op 级别,并仅发出一次 WARN。
- Pebble's Crates / ExcellentCrates / CMI — 任何宝箱插件都可通过每个钥匙的覆盖映射工作。
- Public API — 任何模组都可以调用
ExternalEventApi 来提供任务进度,而无需类路径依赖。
安全性与可靠性
- 每次操作重新检查权限 —— 会话期间的降级立即生效。每个管理员 GUI 在所有
open() 和点击事件中都有内部的 requiresAdmin() 守卫。
- 绕过权限仅限显式设置且现在受配置文件限制。
cobblemonquests.bypass.reroll-cost 和 cobblemonquests.bypass.rate-limit 仅在 config.conf 中对应的 permissions.bypass.* 标志设置为 true 时生效。仅授予 LP 节点已不再足够——因此,遗忘的通配符继承无法静默禁用新的重掷上限。
- 按玩家的重掷和管理员命令速率限制。
- 审计日志位于
logs/cobblemonquests-audit.log,记录每次任务分配、完成、奖励发放、重掷、管理员操作、隐藏发现、里程碑跨越、社区目标变更、配置重载和管理员测试命令,并附带一个 8 位 base36 事务 ID。
- 分配时快照 —— 任务定义在分配时进行快照,因此配置编辑绝不会追溯性地改变 payouts。
- “访问 N 个生物群系/维度”目标的反漏洞去重 —— 仅计算不同的生物群系/维度 ID。刷怪乒乓(Ping-pong farming)已成历史。
SafeDispatch —— 模组运行的每个控制台命令(奖励、星星、宝箱钥匙)拥有单一规范路径。将结果 < 1 视为硬性失败,并带有包含解析后命令字符串的 WARN 警告。重入守卫防止如果奖励模板意外回调到模组内导致无限循环。
一句话电梯演讲
让你的 Cobblemon 服务器成为玩家为了明天而登录的地方,而不仅仅是为了今天。
安装设置
- 将
cobblemonquests-1.8.0.jar 放入 mods/ 目录,与 Cobblemon 并列(可选地也包括 Impactor)。
- 启动服务器。首次启动时会写入默认配置、示例任务(9 个每日任务、7 个每周任务、1 个精英任务、1 个隐藏任务、3 个可重复任务)、新手链以及 2 个服务器任务模板。
- OP 可以运行
/quests 查看玩家中心,运行 /quests admin 查看管理员面板。
- 使用游戏内的向导创建任务、链条和服务器任务——或者手动编辑
config/cobblemonquests/ 下的文件。
- 使用游戏内的配置编辑器调整重掷上限、池权重和开关——或者编辑
config.conf 并运行 /quests admin reload。
命令
/quests 打开任务中心
/quests stats 打开统计页面
/quests leaderboard 打开排行榜
/quests reroll <slot> 重掷一个任务(应用每轮次上限)
/quests admin 打开管理员面板
/quests admin reload 重载配置 + 任务
/quests admin give <p> <q> 给玩家一个任务
/quests admin complete <p> <q> 强制完成任务
/quests admin reset <p> 重置玩家的每日任务
/quests admin resetweek <p> 重置玩家的每周任务
/quests admin goal set <id> 激活服务器任务
/quests admin goal stop 停止当前活动的服务器任务
/quests admin goal reset 重置服务器任务进度
/quests admin goal progress <n> 手动设置进度
/quests admin debug events 追踪器活动仪表板
/quests admin debug stars <p> 打印星星余额 + 终身累计
/quests admin testkey <p> <key> [n] 实时测试宝箱钥匙模板
/quests admin testcommand <p> <cmd...> 测试任何命令模板
/cq 是 /quests 的短别名。
兼容性
- Minecraft 1.21.1 / Fabric
- 硬依赖:Cobblemon 1.7.3+、Fabric API、Java 21
- 软依赖:Impactor(PokéDollar + 星星货币)、LuckPerms(权限节点 + 前缀)、PokeHunts(自动挂钩)、Raids(自动挂钩)、任何箱子插件(Pebble's、ExcellentCrates、CMI 等——可按钥匙配置)
- 与 PokeBuilder 和 StaffChat 和平共存(两者均由 souljagger 制作)。
路线图
- 队伍/多人任务 —— 随队伍系统更新到来
- NPC 交互 —— 右键点击 Cobblemon NPC 以打开
/quests
- 任务商店 —— 消耗星星购买专属物品
- 季节性/事件任务 —— 限时任务池
- 面向玩家的链条 UI —— 链条后端 + 管理员编写功能今日已发布;玩家查看器将随队伍更新一同返回
CobblemonQuests
The engagement loop your Cobblemon server needs. Daily, weekly,
elite, hidden, and repeatable quests, server-wide community
goals, leaderboards, configurable sound effects, and a complete
in-game authoring + customization toolkit — all built on a clean
single-screen GUI that admins can rearrange slot-by-slot from
config without touching Java.
Feature highlights
For players
- 6 quest types — Daily, Weekly, Elite Weekly, Hidden,
Repeatable, and Normal (chain steps).
- Repeatable quests never rotate. Run them as many times as
you like; lifetime run counts are tracked per quest and shown
on the tile.
- Elite weekly — one extra-difficult weekly with significantly
better rewards, displayed in a dedicated slot with glow.
- Hidden quests unlock invisibly when triggers match (catch
count, species, dimension, etc.) and live in a dedicated Hidden
viewer GUI alongside trophy tiles for ones you've already
completed.
- 15 objective types — catch, battle NPC, defeat wild
(separately tracked from PvE wins), level up, gain levels, evolve,
hatch eggs, throw Poké Balls, use experience candies, visit
biomes / dimensions (with anti-ping-pong dedup), catch shiny,
catch legendary, complete PokeHunts, complete raids.
- Single 6-row quest GUI — everything visible at once: leaderboard
tile + reset timers on row 0, dailies on rows 1–2, weeklies on
rows 3–4, streak / milestones / hidden / repeatable / close on
row 5. No more digging through sub-pages.
- Server Quests — shared server-wide objectives with a live boss
bar. Every player contributes. Duration from 1 hour to 1 week.
Top-3 contributors get bonus rewards; offline contributors are
paid out on next login via a queued-rewards system.
Contribution leaderboard with player heads + medals.
- Leaderboards — top-16 player-head pyramid with own-rank glow.
Ties are now broken by who reached the value first (timestamp-
based), so racing past a friend keeps you on top.
- Sound + visual effects — configurable sounds on quest complete,
claim, milestone, streak advance, hidden discovered, chain
advance, and community-goal complete. Title / subtitle flashes on
major events.
- Claim system — completed quests glow
★ READY ★; claim
individually or hit Claim All. Auto-mode available.
- Daily streak + lifetime milestones — reward consistency.
Milestone GUI is paginated and fully configurable.
- Reroll system with hard per-rotation caps —
daily-per-day
and weekly-per-week (default 1 each). No paid fallback. Counters
are consumed before the roll and refunded if the pool can't
produce a replacement, so concurrent clicks can't double-spend.
- Chat reward banners — every reward payout shows a one-line
confirmation:
★ +250 Stars / $ +5000 PokeDollars. Format
fully customizable per-server.
For admins
- In-game customization of literally every player-facing string,
slot, item, color, and button. No jar editing, no Java. Every
GUI is its own HOCON file under
config/cobblemonquests/gui/:
main_menu.conf, detail_menu.conf, stats_menu.conf,
milestone_menu.conf, leaderboard_menu.conf,
repeatable_menu.conf
- Set the
slot (0–53) of every button. Set the rows (1–6) of
every menu. Toggle any button's visible flag. Replace the
glass-pane filler with any item id. Customize progress-bar
characters, colors, length, brackets. Reorder quest name parts
via name-format. Sort quests by progress / rarity /
alphabetical / status / id.
- Custom Command Buttons — drop unlimited extra buttons into
any GUI: store links, Discord, voting, vanilla command shortcuts.
Each entry takes
slot, item, name, lore, glow, and a
command template with {player} substitution.
- Event Command Hooks — fire console commands when any of
these events happen:
quest-complete, milestone-reached,
streak-milestone, claim. Wire up Discord webhooks, broadcast
messages, grant external items — all without recompiling.
- Admin right-click quick actions — right-click any quest tile
with admin perms to open Complete / Reset Progress / View
Details inline.
- Quest Browser — tabbed by type (All / Daily / Weekly /
Normal / Elite / Hidden / Repeat), filtered by rarity + category,
sortable, paginated. Scales to hundreds of quests.
- Quest Editor + Quest Creation Wizard — full in-game CRUD.
Cycle type / category / rarity, set targets, build rewards via
the 4-step wizard, save to disk, duplicate, delete (two-click
confirm), live preview.
- 4-Step Reward Wizard — pick category (Currency / Items /
Crate Keys / Commands) → browse + select (item browser with
All / Cobblemon / Balls / Candies / Vanilla tabs and full
registry pagination) → set quantity → recap + confirm.
- Per-reward
display override — replace any reward's lore
text with custom MiniMessage. Perfect for branded rewards or
hiding raw padmin givekey commands behind a clean
<aqua>Special Reward</aqua> line.
- Reward display rename map —
rewards.display-names maps any
item id or key id to a custom name globally. Servers can ship a
fully branded tooltip set without per-reward edits.
- Chain Browser + Editor + Wizard (admin-side) — full in-game
chain authoring with step picker, inline quest creation, reorder
arrows, difficulty tags, loopable toggle, chain-completion
rewards.
- Server Quest Browser + Editor + Wizard — create server-wide
goals with objective type, target, duration (1h to 1 week), base
rewards, and top-3 contributor bonus rewards. Active Goal
Management dashboard: stop, reset, boost progress, view
contributors live.
- Player Management GUI — inspect any online player: active
quests, streak, Stars balance, total completed, repeatable run
counts. Admin actions: grant Stars, reset dailies / weeklies,
wipe player data (two-click confirm). Admin perms re-checked
on every click — a mid-session demotion takes effect immediately.
- Config Editor — multi-page hub: Reroll Caps / Pool Weights /
Toggles / GUI Layout. Each is a clean sub-page with Save.
- GUI Layout Editor — visual 54-slot grid. Click any slot to
cycle its role. Save writes to
gui/player_main.conf and
auto-reloads.
- Diagnostics & test commands:
/quests admin debug events — per-tracker fire counts +
last-fired timestamps + last detail. Triage "my quests aren't
progressing" reports in seconds.
/quests admin debug stars <player> — print the authoritative
Stars balance + lifetime earnings.
/quests admin testkey <player> <key> [amount] — invoke the
crate-key bridge live to verify your template without waiting
for a quest.
/quests admin testcommand <player> <command...> — dry-run any
command-reward template through the same SafeDispatch pipeline
rewards use.
Rewards
- PokéDollars (Impactor primary currency)
- Stars — now dispatched through a configurable economy command
(default:
eco deposit {amount} {currency} {player}) so a real
Impactor currency account is what updates. The local JSON ledger
is mirrored only as a leaderboard cache.
- Items — any Minecraft / Cobblemon item id, with overflow
handling.
- Crate keys — global command template plus a per-key override
map (
integrations.crate-key-commands) so lunar can route to
Pebble's Crates and vote to ExcellentCrates on the same server
with no branching elsewhere. Default template targets Pebble's
Crates (padmin givekey {player} {amount} {key}) out of the box.
- Custom commands — console execution with
{player}
placeholder, run through a unified SafeDispatch pipeline that
catches typos, missing nodes, and re-entry instead of silently
swallowing them.
- All grants are atomic, audit-logged with 8-char transaction IDs,
and resilient to offline players — community-goal payouts and
star rewards queue into
pendingRewards and deliver on next
login with a ★ You have rewards waiting! ★ chat banner.
Integrations
- Impactor — PokéDollar + Stars currency, soft dependency.
- PokeHunts — auto-hooks if loaded; quest type
COMPLETE_POKEHUNT.
- Raids — auto-hooks if loaded; quest type
COMPLETE_RAID.
- LuckPerms — optional, used for permission node lookups; falls
back to op-level cleanly with a one-time WARN if the provider
fails.
- Pebble's Crates / ExcellentCrates / CMI — any crate plugin
works via the per-key override map.
- Public API — any mod can call
ExternalEventApi to feed
quest progress without a classpath dependency.
Security & reliability
- Permission re-checked on every action — mid-session demotions
work. Every admin GUI has an internal
requiresAdmin() guard on
every open() and click.
- Bypass permissions are explicit-only AND now config-gated.
cobblemonquests.bypass.reroll-cost and
cobblemonquests.bypass.rate-limit only take effect when the
matching permissions.bypass.* flag in config.conf is set to
true. Granting the LP node alone is no longer sufficient — so a
forgotten wildcard inheritance can't silently disable the new
reroll caps.
- Per-player rate limits on rerolls and admin commands.
- Audit log at
logs/cobblemonquests-audit.log records every
quest assignment, completion, reward grant, reroll, admin action,
hidden discovery, milestone crossing, community-goal mutation,
config reload, and admin test command with an 8-char base36
transaction id.
- Snapshot at assignment — quest definitions snapshot at
assignment time so config edits never retroactively change a
payout.
- Anti-exploit dedup on "visit N biomes / dimensions" objectives
— only distinct biome / dimension ids count. Ping-pong farming
is dead.
SafeDispatch — single canonical path for every console
command the mod runs (rewards, stars, crate keys). Treats result
< 1 as a hard failure with a WARN carrying the resolved
command string. Re-entry guards prevent infinite loops if a
reward template accidentally calls back into the mod.
One-line elevator pitch
Turn your Cobblemon server into a place players log in for tomorrow,
not just today.
Setup
- Drop
cobblemonquests-1.8.0.jar into mods/ next to Cobblemon
and (optionally) Impactor.
- Start the server. A default config, sample quests (9 dailies,
7 weeklies, 1 elite, 1 hidden, 3 repeatables), a starter chain,
and 2 server-quest templates are written on first boot.
- OPs can run
/quests to see the player hub and /quests admin
for the admin panel.
- Use the in-game wizards to create quests, chains, and server
quests — or edit
config/cobblemonquests/ files by hand.
- Use the in-game Config Editor to tune reroll caps, pool weights,
and toggles — or edit
config.conf and run
/quests admin reload.
Commands
/quests Open the quest hub
/quests stats Open the stats page
/quests leaderboard Open the leaderboard
/quests reroll <slot> Reroll a quest (per-rotation cap applies)
/quests admin Open admin panel
/quests admin reload Reload config + quests
/quests admin give <p> <q> Give a quest to a player
/quests admin complete <p> <q> Force-complete a quest
/quests admin reset <p> Reset a player's dailies
/quests admin resetweek <p> Reset a player's weeklies
/quests admin goal set <id> Activate a server quest
/quests admin goal stop Stop the active server quest
/quests admin goal reset Reset server quest progress
/quests admin goal progress <n> Set progress manually
/quests admin debug events Tracker activity dashboard
/quests admin debug stars <p> Print Stars balance + lifetime
/quests admin testkey <p> <key> [n] Test crate-key template live
/quests admin testcommand <p> <cmd...> Test any command template
/cq is a shorter alias for /quests.
Compatibility
- Minecraft 1.21.1 / Fabric
- Hard dependencies: Cobblemon 1.7.3+, Fabric API, Java 21
- Soft dependencies: Impactor (PokéDollar + Stars currency),
LuckPerms (perm nodes + prefix), PokeHunts (auto-hook),
Raids (auto-hook), any crate plugin (Pebble's, ExcellentCrates,
CMI, etc. — configurable per key)
- Coexists peacefully with PokeBuilder and StaffChat (both also
from souljagger).
Roadmap
- Party / multiplayer quests — coming with the party-system update
- NPC interaction — right-click a Cobblemon NPC to open
/quests
- Quest shop — spend Stars on exclusive items
- Seasonal / event quests — time-limited quest pools
- Player-facing chains UI — chain backend + admin authoring is
shipped today; player viewer returns alongside the party update
License
MIT — fork, modify, redistribute.
评论 0
登录后参与评分
还没有评论,来抢沙发吧