ContactQuests
Immersive Logistics & Questing Integration | 沉浸式物流与任务联动
?? English
ContactQuests is a bridge mod that creates a deep integration between [Contact] (Logistics/Mail) and [FTB Quests].
Unlike traditional quests where items are instantly detected in your inventory, ContactQuests requires players to engage with the physical world of logistics. It transforms the abstract concept of "Quest Submission" into an immersive gameplay loop involving packaging, mailing, and waiting for deliveries.
? Key Features
-
Immersive Questing: Move beyond simple "checkmarks." Submit quest items by physically mailing packages to specific NPCs via Mailboxes.
-
New Task Types:
-
? Parcel Task: Pack required items and send them to the target NPC.
-
? Postcard Task: Write and send postcards with specific content or styles.
-
? Red Packet Task: Send currency or items via Red Packets.
-
Postal Rewards: Rewards aren't just clicked; they arrive at your doorstep! Receive quest rewards as parcels delivered directly to your mailbox.
-
Team Integration: Seamless support for FTB Teams. Use the Team Binding Card to ensure rewards are delivered to your team's shared mailbox.
-
NPC Interaction System: Define custom responses when players send incorrect or extra items. Create NPCs with personality who can reject mail, confiscate items, or send easter egg replies.
? Documentation & Wiki
Detailed guides are available on our GitHub Wiki:
- Getting Started: How to bind mailboxes and complete your first delivery quest.
- Tasks & Rewards Mechanics: Detailed breakdown of new task types and reward configurations.
- Configuration Guide: Global settings and setting up delivery delays.
- NPC Interaction Config: How to configure
npc_config.jsonfor custom reply logic. - Commands & Permissions: Usage of mod commands.
- Advanced Quest Logic: Configuring mutex tasks and tag requirements.
- KubeJS Integration: Scripting support for custom logistics events.
?? 中文介绍
ContactQuests 是一个旨在实现 [Contact] (邮件/物流) 与 [FTB Quests] (任务) 深度联动的模组。
本模组打破了传统任务“点击即完成”的抽象模式,将任务流程与物理物流紧密结合。它让玩家必须通过真实的打包、投递和等待收件来推进任务进度,为整合包带来更具沉浸感的“叙事”体验。
? 核心特性
-
沉浸式任务体验:告别单纯的物品检测。你需要将任务物品打包,并通过邮筒寄送给指定的 NPC 来完成任务。
-
全新的任务类型:
-
? 邮递任务 (Parcel Task):将所需物品打包并寄往指定收件人。
-
? 明信片任务 (Postcard Task):向 NPC 寄送特定内容或样式的明信片。
-
? 红包任务 (Red Packet Task):通过红包寄送指定的物品。
-
物流奖励系统:奖励不再凭空出现!完成任务后,奖励将以包裹的形式由物流系统派送到你的邮箱中。
-
团队无缝协作:完美支持 FTB Teams 队伍系统。使用 团队绑定器 (Team Binding Card) 将邮箱与队伍绑定,确保以队伍为单位收到任务奖励。
-
NPC 交互系统:高度可配置的 NPC 智能反馈。当玩家寄错物品时,NPC 可以根据配置做出拒收、没收甚至触发彩蛋回复等反应。
? 文档与维基
详细的教程文档请查阅 GitHub Wiki:
- 快速入门:如何绑定队伍邮箱以及完成你的第一个物流任务。
- 任务与奖励详解:各种新任务类型(邮递、明信片、红包)的详细说明。
- 配置文件指南:通用设置与物流延迟机制的配置。
- NPC 交互配置:如何编写
npc_config.json来自定义 NPC 的回信逻辑。 - 命令与权限:模组命令的使用说明。
- 进阶任务逻辑:配置互斥任务与 Tag 需求。
- KubeJS 联动:使用脚本自定义物流事件。
? Links / 链接
- Source Code: GitHub
- Issue Tracker: Report Bugs / 反馈问题
ContactQuests
Immersive Logistics & Questing Integration | 沉浸式物流与任务联动
🇺🇸 English
ContactQuests is a bridge mod that creates a deep integration between [Contact] (Logistics/Mail) and [FTB Quests].
Unlike traditional quests where items are instantly detected in your inventory, ContactQuests requires players to engage with the physical world of logistics. It transforms the abstract concept of "Quest Submission" into an immersive gameplay loop involving packaging, mailing, and waiting for deliveries.
🧩 Key Features
-
Immersive Questing: Move beyond simple "checkmarks." Submit quest items by physically mailing packages to specific NPCs via Mailboxes.
-
New Task Types:
-
📦 Parcel Task: Pack required items and send them to the target NPC.
-
📨 Postcard Task: Write and send postcards with specific content or styles.
-
🧧 Red Packet Task: Send currency or items via Red Packets.
-
Postal Rewards: Rewards aren't just clicked; they arrive at your doorstep! Receive quest rewards as parcels delivered directly to your mailbox.
-
Team Integration: Seamless support for FTB Teams. Use the Team Binding Card to ensure rewards are delivered to your team's shared mailbox.
-
NPC Interaction System: Define custom responses when players send incorrect or extra items. Create NPCs with personality who can reject mail, confiscate items, or send easter egg replies.
📚 Documentation & Wiki
Detailed guides are available on our GitHub Wiki:
- Getting Started: How to bind mailboxes and complete your first delivery quest.
- Tasks & Rewards Mechanics: Detailed breakdown of new task types and reward configurations.
- Configuration Guide: Global settings and setting up delivery delays.
- NPC Interaction Config: How to configure
npc_config.jsonfor custom reply logic. - Commands & Permissions: Usage of mod commands.
- Advanced Quest Logic: Configuring mutex tasks and tag requirements.
- KubeJS Integration: Scripting support for custom logistics events.
🇨🇳 中文介绍
ContactQuests 是一个旨在实现 [Contact] (邮件/物流) 与 [FTB Quests] (任务) 深度联动的模组。
本模组打破了传统任务“点击即完成”的抽象模式,将任务流程与物理物流紧密结合。它让玩家必须通过真实的打包、投递和等待收件来推进任务进度,为整合包带来更具沉浸感的“叙事”体验。
🧩 核心特性
-
沉浸式任务体验:告别单纯的物品检测。你需要将任务物品打包,并通过邮筒寄送给指定的 NPC 来完成任务。
-
全新的任务类型:
-
📦 邮递任务 (Parcel Task):将所需物品打包并寄往指定收件人。
-
📨 明信片任务 (Postcard Task):向 NPC 寄送特定内容或样式的明信片。
-
🧧 红包任务 (Red Packet Task):通过红包寄送指定的物品。
-
物流奖励系统:奖励不再凭空出现!完成任务后,奖励将以包裹的形式由物流系统派送到你的邮箱中。
-
团队无缝协作:完美支持 FTB Teams 队伍系统。使用 团队绑定器 (Team Binding Card) 将邮箱与队伍绑定,确保以队伍为单位收到任务奖励。
-
NPC 交互系统:高度可配置的 NPC 智能反馈。当玩家寄错物品时,NPC 可以根据配置做出拒收、没收甚至触发彩蛋回复等反应。
📚 文档与维基
详细的教程文档请查阅 GitHub Wiki:
- 快速入门:如何绑定队伍邮箱以及完成你的第一个物流任务。
- 任务与奖励详解:各种新任务类型(邮递、明信片、红包)的详细说明。
- 配置文件指南:通用设置与物流延迟机制的配置。
- NPC 交互配置:如何编写
npc_config.json来自定义 NPC 的回信逻辑。 - 命令与权限:模组命令的使用说明。
- 进阶任务逻辑:配置互斥任务与 Tag 需求。
- KubeJS 联动:使用脚本自定义物流事件。
🔗 Links / 链接
- Source Code: GitHub
- Issue Tracker: Report Bugs / 反馈问题
下载 ContactQuests
下载 ContactQuests
下载 ContactQuests
下载 ContactQuests
下载 ContactQuests
下载 ContactQuests
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ContactQuests
下载 ContactQuests
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ContactQuests
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ContactQuests
🇨🇳 中文更新日志
✨ 新增功能
- 明信片选择奖励(
contactquests:parcel_choice):新增第六类邮件奖励。玩家点击奖励后可在选择界面挑选关联奖励表中的条目,并进入回信引导界面查看预设信件内容(支持一键复制或一键填充到背包内空白明信片)。通过邮筒向对应 NPC 寄回该明信片后,即可收到所选奖励。- 支持在奖励编辑中设置模板分组(
template_group)与自定义选项名称(option_labels),并默认排除在“一键全部领取”之外。 - 服务端配置文件
config/contactquests/choice_templates.json支持按玩家客户端语言自动选用英文(en_us)或默认中文信件模板,支持{recipient}、``{player}、{quest}、{task_goal}、{reward}占位符,并随/reload` 热重载。
- 支持在奖励编辑中设置模板分组(
- 盲盒 / 神秘包裹隐藏内容(
hide_contents):所有邮件奖励均支持勾选hide_contents(隐藏奖励内容)。开启后,玩家在任务界面将看到密封包裹图标、“神秘包裹”标题与提示文案,领取并寄达后才揭晓具体内容(处于任务编辑权限下仍可直接预览完整奖励)。 - 可选 AI NPC 书信往来与动态发任务(
config/contactquests/npc_llm.json):新增纯服务端 OpenAI 兼容大模型 NPC 交互配置(默认关闭,需管理员显式配置并启用)。- 密钥与传输安全:
providers中仅填写服务端环境变量名apiKeyEnv,凭证永不下发至客户端;支持mock(测试)与openai_compatible(HTTPS 远端或本机回环 HTTP)传输。 - 沉浸式书信体验:支持按玩家(
player)或按 FTB 队伍(team)隔离对话记忆(historyTurns),超长回信按 Contact 明信片渲染区域与 1024 字符上限自动分卡连寄,支持来信附件保留(keep)、退回(return)、随下次领奖一并寄回(withReward)与丢弃(discard)四种处置策略。 - 结构化任务工具与防剧透:可通过工具白名单开放
get_quest与publish_quest(结合chapterId、questPrefix、maxPublishedQuests),由 NPC 在当前对话上下文中发布带专属解锁标签的新任务;未解锁对应任务且无历史对话且autoFill: false时,邮筒地址补全不会提前剧透 NPC 名称;AI NPC 同样严格遵守deliveryTime邮寄延迟规则。
- 密钥与传输安全:
- KubeJS 持久化任务图谱构建 API 与状态变更事件(可选联动):
ContactQuests全局对象新增持久化章节、任务、子任务与奖励增删改查及原子发布接口:createChapter、createQuest、publishQuest、getChapter/Quest/Task/Reward、listChapters/Quests/Tasks/Rewards、updateChapter/Quest/Task/Reward、moveQuest、deleteChapter/Quest/Task/Reward,支持内联奖励表table_data跨存档重载保留与完整任务属性/依赖折线控制点设置。ContactEvents新增tagUnlocked、mutexChanged、scriptBlockChanged三个服务端状态事件(QuestStateEventJS),安全暴露 16 位十六进制对象 ID、teamId、playerId、before/after状态、cause与递增sequence。
🔧 优化与调整
- 同收件人多任务公平分配:向同一 NPC 寄出可同时匹配多个进行中任务的物品时,按单次提交推进完成度百分比最大者优先分配(比值相同时按任务 ID 排序),剩余未消耗物品再交由 NPC 后续处理策略或 AI NPC。
- NPC 错信配置与多堆叠奖品改进:
npc_config.json的styleType: "Same"现会优先沿用玩家来信明信片样式,来信无样式时再回退规则style。- 包裹与红包奖励(包含团队人数倍率计算后)超过单组堆叠上限(64)时自动拆分并分包投递;随机奖励包裹支持单抽项
only_one(玩家背包已有相同物品时不再重复发放)。 - 队伍任务缓存保留动态
<player_name>,改由实际交付或领奖玩家实时解析,防止多人同队互盖名字。
- 邮箱团队归属、UI 与兼容体验提升:
- 单人队伍玩家使用团队邮箱绑定器也会持久化个人队伍 UUID;邮箱顶部 3D 队伍悬浮标记仅对同队成员可见;已绑定坐标在邮箱被破坏、爆炸、脚本移除或区块卸载期间队伍解散时自动清理绑定。
- 新增 Jade 邮箱队伍提示自动换行与未知队伍兼容;新增可选 JEI 任务提交页面配方查看桥接;修复窗口短暂占用系统剪贴板导致复制全文失败的问题,加入退避重试。
/reload同步重载自选信件模板、AI NPC 配置、占位符注册与任务索引;保持无 KubeJS 与无 JEI 环境下的零依赖独立运行。
🐛 问题修复
- 修复 ContactQuests Tag 设置 中
mode = ANY判定反转导致无法正常按“任一标签”解锁的问题,并使 FTB Quests 灵活进度(FLEXIBLE) 章节严格遵守标签锁、互斥锁与脚本锁定规则。 - 修复
/contactquests admin getcount <npc> [player]因错误读取不存在的参数导致无法查询触发次数的问题。 - 修复玩家与队伍同名引起的可重复刷取/翻倍邮箱物品漏洞及历史双归属别名残留,并补充
CollectionSavedData与RewardDeliverySavedData从早期按维度分存到全局主世界的惰性合并迁移。 - 修复
npc_config.json中WithReward在暂存/返还阶段的触发次数与回复时机(改错信时静默托管、领奖时连同回信一并寄回并直接按当前计数匹配阈值)、修复Discard漏传当次物品导致回信占位符读取为空,并持久化记录来信样式供"Same"样式继承。 - 修复明信片样式需精准匹配规范化样式 ID、红包任务禁止空壳红包误推进度并修剪祝福语首尾空白,以及纯客户端 UI / Mixin 类在专用服务端错误加载的问题。
📦 前置与兼容环境
- Minecraft:
1.20.1· Forge:47.4.29 - 必需依赖:Kotlin for Forge
4.13.0(加载器及依赖最低[4.13,))· FTB Quests2001.4.22· Contact1.2.3· OELib0.3.2· FTB Library · FTB Teams · Architectury API - 可选联动:Jade
11.13.3· JEI15.75.0.239· KubeJS2001.6.5-build.26 - Forge 元数据与资源:依赖使用
mandatory = true/false;资源包格式保持pack_format: 15。
🇺🇸 English Changelog
✨ New Features
- Postcard Choice Reward (
contactquests:parcel_choice): Added the sixth mail reward type. Clicking the reward opens a selection screen for the linked Reward Table, then displays a postcard preparation screen where players can copy the letter text or auto-fill a writable Contact postcard. Sending that postcard to the assigned NPC delivers the chosen reward.- Supports custom
template_group,option_labels, and is excluded from "Claim All" by default. - Server-side
config/contactquests/choice_templates.jsonautomatically selects client-locale groups (en_usordefault) with{recipient},{player},{quest},{task_goal}, and{reward}placeholders, and hot-reloads on/reload.
- Supports custom
- Sealed / Mystery Rewards (
hide_contents): All mail reward types can enablehide_contentsto hide the reward icon, title (Sealed parcel), and tooltips behind a mystery parcel appearance until claimed (while quest editors still see the full preview). - Optional AI NPC Correspondence & Dynamic Quests (
config/contactquests/npc_llm.json): Added a server-only OpenAI-compatible LLM integration for NPC mail (disabled by default).- Security & Transport: Stores only the server environment variable name (
apiKeyEnv)—credentials are never sent to clients. Supportsmockandopenai_compatible(HTTPS or loopback HTTP) providers. - Immersive Mail Flow: Supports per-
playeror per-teamconversation history (historyTurns), automatic multi-postcard splitting within Contact's rendering bounds and 1024-character limit, configurable item dispositions (keep,return,withRewardescrow returned on next reward claim from that NPC,discard), delivery delay compliance, and anti-spoiler address autocomplete. - Structured Tools: Optionally grant
get_questandpublish_questper NPC/provider (chapterId,questPrefix,maxPublishedQuests) so an NPC can publish new tag-gated quests within the active conversation.
- Security & Transport: Stores only the server environment variable name (
- Persistent KubeJS Quest Graph CRUD & State Events (Optional):
- Added server-persistent chapter, quest, task, reward, and atomic quest publishing APIs on
ContactQuests(createChapter,createQuest,publishQuest,get*,list*,update*,moveQuest,delete*), preserving inlinetable_dataand full dependency/display/rule options. - Added
ContactEvents.tagUnlocked,ContactEvents.mutexChanged, andContactEvents.scriptBlockChanged(QuestStateEventJSexposing full 64-bit hex IDs,teamId,playerId,before/afterstates,cause, andsequence).
- Added server-persistent chapter, quest, task, reward, and atomic quest publishing APIs on
🔧 改进
- 公平的多任务邮件分配:当传入的邮件匹配同一 NPC 的多个活跃任务时,优先选择单次提交完成百分比增益最大的任务(通过任务 ID 进行确定性平局打破),并将剩余物品干净地路由至 NPC 处理。
- 回复风格继承与奖励发放:
npc_config.json中的styleType: "Same"现在在回退到规则的style之前,会继承传入明信片(postcard)的风格。超过最大堆叠大小(64)的乘数物品奖励会在堆叠包裹之间干净分割;ParcelRandomReward尊重only_one物品检查;动态<player_name>占位符根据交互玩家保持延迟解析。 - 团队邮箱隐私、UI 与兼容性:单人模式下的团队保留绑定邮箱上的个人团队标记;邮箱上方的 3D 团队指示器仅对队友渲染;已加载的邮箱破坏/爆炸/方块更改以及离块(off-chunk)团队解散能干净地清理陈旧绑定。添加了包装后的 Jade 工具提示、可选的 JEI 配方查找回退、复制时的剪贴板争用重试、
/reload支持选择模板和 AI NPC 配置,以及在缺少 KubeJS 或 JEI 时完全解耦。
🐛 错误修复
- 修复了
ContactQuests Tag Settings中DependencyMode.ANY评估反转的问题,并在FLEXIBLE进度章节中强制执行显式标签锁、互斥锁和脚本块。 - 修复了
/contactquests admin getcount <npc> [player]无法读取目标计数的问题。 - 修复了当玩家和团队拥有相同名称时邮箱物品重复生成的 bug,清理了遗留的双所有者别名,并为
CollectionSavedData和RewardDeliverySavedData添加了到主世界存储的惰性跨维度迁移。 - 修复了
WithReward触发次数评估和回复时机(现在在到达时静默托管不匹配的物品,在领取奖励时评估实际触发次数,并通过回复明信片寄回托管物品,包括非物品奖励执行时),并修复了Discard从回复占位符中遗漏当前批次物品的问题。 - 强化了明信片任务上标准化精确样式 ID 的匹配,防止空红包推进进度,修剪了红包祝福比较,并将仅限客户端的 UI/Mixin 类从专用服务器隔离。
📦 依赖项与兼容性
- Minecraft:
1.20.1· Forge:47.4.29 - 必需: Kotlin for Forge
4.13.0(加载器和依赖项最低版本[4.13,))· FTB Quests2001.4.22· Contact1.2.3· OELib0.3.2· FTB Library · FTB Teams · Architectury API - 可选: Jade
11.13.3· JEI15.75.0.239· KubeJS2001.6.5-build.26 - Forge 元数据和资源:依赖项使用
mandatory = true/false;资源包保留pack_format: 15。
🇨🇳 中文更新日志
✨ 新增功能
- 明信片选择奖励(
contactquests:parcel_choice):新增第六类邮件奖励。玩家点击奖励后可在选择界面挑选关联奖励表中的条目,并进入回信引导界面查看预设信件内容(支持一键复制或一键填充到背包内空白明信片)。通过邮筒向对应 NPC 寄回该明信片后,即可收到所选奖励。- 支持在奖励编辑中设置模板分组(
template_group)与自定义选项名称(option_labels),并默认排除在“一键全部领取”之外。 - 服务端配置文件
config/contactquests/choice_templates.json支持按玩家客户端语言自动选用英文(en_us)或默认中文信件模板,支持{recipient}、{player}、{quest}、{task_goal}、{reward}占位符,并随/reload热重载。
- 支持在奖励编辑中设置模板分组(
- 盲盒 / 神秘包裹隐藏内容(
hide_contents):所有邮件奖励均支持勾选hide_contents(隐藏奖励内容)。开启后,玩家在任务界面将看到密封包裹图标、“神秘包裹”标题与提示文案,领取并寄达后才揭晓具体内容(处于任务编辑权限下仍可直接预览完整奖励)。 - 可选 AI NPC 书信往来与动态发任务(
config/contactquests/npc_llm.json):新增纯服务端 OpenAI 兼容大模型 NPC 交互配置(默认关闭,需管理员显式配置并启用)。- 密钥与传输安全:
providers中仅填写服务端环境变量名apiKeyEnv,凭证永不下发至客户端;支持mock(测试)与openai_compatible(HTTPS 远端或本机回环 HTTP)传输。 - 沉浸式书信体验:支持按玩家(
player)或按 FTB 队伍(team)隔离对话记忆(historyTurns),超长回信按 Contact 明信片渲染区域与 1024 字符上限自动分卡连寄,支持来信附件保留(keep)、退回(return)、随下次领奖一并寄回(withReward)与丢弃(discard)四种处置策略。 - 结构化任务工具与防剧透:可通过工具白名单开放
get_quest与publish_quest(结合chapterId、questPrefix、maxPublishedQuests),由 NPC 在当前对话上下文中发布带专属解锁标签的新任务;未解锁对应任务且无历史对话且autoFill: false时,邮筒地址补全不会提前剧透 NPC 名称;AI NPC 同样严格遵守deliveryTime邮寄延迟规则。
- 密钥与传输安全:
- KubeJS 持久化任务图谱构建 API 与状态变更事件(可选联动):
ContactQuests全局对象新增持久化章节、任务、子任务与奖励增删改查及原子发布接口:createChapter、createQuest、publishQuest、getChapter/Quest/Task/Reward、listChapters/Quests/Tasks/Rewards、updateChapter/Quest/Task/Reward、moveQuest、deleteChapter/Quest/Task/Reward,支持内联奖励表table_data跨存档重载保留与完整任务属性/依赖折线控制点设置。ContactEvents新增tagUnlocked、mutexChanged、scriptBlockChanged三个服务端状态事件(QuestStateEventJS),安全暴露 16 位十六进制对象 ID、teamId、playerId、before/after状态、cause与递增sequence。
🔧 优化与调整
- 同收件人多任务公平分配:向同一 NPC 寄出可同时匹配多个进行中任务的物品时,按单次提交推进完成度百分比最大者优先分配(比值相同时按任务 ID 排序),剩余未消耗物品再交由 NPC 后续处理策略或 AI NPC。
- NPC 错信配置与多堆叠奖品改进:
npc_config.json的styleType: "Same"现会优先沿用玩家来信明信片样式,来信无样式时再回退规则style。- 包裹与红包奖励(包含团队人数倍率计算后)超过单组堆叠上限(64)时自动拆分并分包投递;随机奖励包裹支持单抽项
only_one(玩家背包已有相同物品时不再重复发放)。 - 队伍任务缓存保留动态
<player_name>,改由实际交付或领奖玩家实时解析,防止多人同队互盖名字。
- 邮箱团队归属、UI 与兼容体验提升:
- 单人队伍玩家使用团队邮箱绑定器也会持久化个人队伍 UUID;邮箱顶部 3D 队伍悬浮标记仅对同队成员可见;已绑定坐标在邮箱被破坏、爆炸、脚本移除或区块卸载期间队伍解散时自动清理绑定。
- 新增 Jade 邮箱队伍提示自动换行与未知队伍兼容;新增可选 JEI 任务提交页面配方查看桥接;修复窗口短暂占用系统剪贴板导致复制全文失败的问题,加入退避重试。
/reload同步重载自选信件模板、AI NPC 配置、占位符注册与任务索引;保持无 KubeJS 与无 JEI 环境下的零依赖独立运行。
🐛 问题修复
- 修复 ContactQuests Tag 设置 中
mode = ANY判定反转导致无法正常按“任一标签”解锁的问题,并使 FTB Quests 灵活进度(FLEXIBLE) 章节严格遵守标签锁、互斥锁与脚本锁定规则。 - 修复
/contactquests admin getcount <npc> [player]因错误读取不存在的参数导致无法查询触发次数的问题。 - 修复玩家与队伍同名引起的可重复刷取/翻倍邮箱物品漏洞及历史双归属别名残留,并补充
CollectionSavedData与RewardDeliverySavedData从早期按维度分存到全局主世界的惰性合并迁移。 - 修复
npc_config.json中WithReward在暂存/返还阶段的触发次数与回复时机(改错信时静默托管、领奖时连同回信一并寄回并直接按当前计数匹配阈值)、修复Discard漏传当次物品导致回信占位符读取为空,并持久化记录来信样式供"Same"样式继承。 - 修复明信片样式需精准匹配规范化样式 ID、红包任务禁止空壳红包误推进度并修剪祝福语首尾空白,以及纯客户端 UI / Mixin 类在专用服务端错误加载的问题。
📦 前置与兼容环境
- Minecraft:
1.21.1· NeoForge:[21.1.266, 21.2)(基于21.1.267构建) - 必需依赖:Contact
[1.2.3,)· FTB Quests[2101.1.38, 2101.2)· FTB Library[2101.1.39, 2101.2)· FTB Teams2101.1.12+· Kotlin for Forge[5.12.0, 6)· OELib · Architectury API - 可选联动:KubeJS · Jade
[15,)· JEI
🇺🇸 English Changelog
✨ New Features
- Postcard Choice Reward (
contactquests:parcel_choice): Added the sixth mail reward type. Clicking the reward opens a selection screen for the linked Reward Table, then displays a postcard preparation screen where players can copy the letter text or auto-fill a writable Contact postcard. Sending that postcard to the assigned NPC delivers the chosen reward.- Supports custom
template_group,option_labels, and is excluded from "Claim All" by default. - Server-side
config/contactquests/choice_templates.jsonautomatically selects client-locale groups (en_usordefault) with{recipient},{player},{quest},{task_goal}, and{reward}placeholders, and hot-reloads on/reload.
- Supports custom
- Sealed / Mystery Rewards (
hide_contents): All mail reward types can enablehide_contentsto hide the reward icon, title (Sealed parcel), and tooltips behind a mystery parcel appearance until claimed (while quest editors still see the full preview). - Optional AI NPC Correspondence & Dynamic Quests (
config/contactquests/npc_llm.json): Added a server-only OpenAI-compatible LLM integration for NPC mail (disabled by default).- Security & Transport: Stores only the server environment variable name (
apiKeyEnv)—credentials are never sent to clients. Supportsmockandopenai_compatible(HTTPS or loopback HTTP) providers. - Immersive Mail Flow: Supports per-
playeror per-teamconversation history (historyTurns), automatic multi-postcard splitting within Contact's rendering bounds and 1024-character limit, configurable item dispositions (keep,return,withRewardescrow returned on next reward claim from that NPC,discard), delivery delay compliance, and anti-spoiler address autocomplete. - Structured Tools: Optionally grant
get_questandpublish_questper NPC/provider (chapterId,questPrefix,maxPublishedQuests) so an NPC can publish new tag-gated quests within the active conversation.
- Security & Transport: Stores only the server environment variable name (
- Persistent KubeJS Quest Graph CRUD & State Events (Optional):
- Added server-persistent chapter, quest, task, reward, and atomic quest publishing APIs on
ContactQuests(createChapter,createQuest,publishQuest,get*,list*,update*,moveQuest,delete*), preserving inlinetable_dataand full dependency/display/rule options. - Added
ContactEvents.tagUnlocked,ContactEvents.mutexChanged, andContactEvents.scriptBlockChanged(QuestStateEventJSexposing full 64-bit hex IDs,teamId,playerId,before/afterstates,cause, andsequence).
- Added server-persistent chapter, quest, task, reward, and atomic quest publishing APIs on
🔧 改进
- 公平的多任务邮件分配:当同一 NPC 的多个活跃任务同时匹配到传入邮件时,优先选择单次提交完成百分比增益最大的任务(通过任务 ID 确定性地打破平局),并将剩余物品清晰路由至 NPC 处理。
- 回复风格继承与奖励发放:
npc_config.json中的styleType: "Same"现在会先继承传入明信片的风格,若不存在则回退到规则定义的style。超过最大堆叠数量(64)的乘数物品奖励将自动拆分为多个堆叠包裹;ParcelRandomReward尊重only_one物品检查;动态<player_name>占位符会根据交互玩家进行延迟替换。 - 团队邮箱隐私、UI 与兼容性:单人游戏模式下,个人团队标记保留在绑定的邮箱上;邮箱上方的 3D 团队指示器仅对队友可见;加载状态下邮箱的破坏/爆炸/方块变化以及跨区块的团队解散会清理过期的绑定关系。添加了 Jade 工具提示换行支持、可选的 JEI 配方查找回退机制、复制时的剪贴板争用重试、对选择模板和 AI NPC 配置的
/reload支持,以及在 KubeJS 或 JEI 缺失时的完全解耦。
🐛 错误修复
- 修复了
ContactQuests Tag Settings中DependencyMode.ANY评估反转的问题,并在FLEXIBLE进度章节中强制执行显式标签锁、互斥锁和脚本块。 - 修复了
/contactquests admin getcount <npc> [player]命令无法读取目标计数的问题。 - 修复了玩家与团队共享相同名称时导致的邮箱物品重复生成漏洞,清理了遗留的双重所有者别名,并为
CollectionSavedData和RewardDeliverySavedData添加了向主世界存储的惰性跨维度迁移功能。 - 修复了
WithReward触发计数评估和回复时机问题(现在会在物品到达时静默托管不匹配的物品,在领取奖励时评估实际触发计数,并通过回复明信片寄回托管物品,包括非物品奖励执行的情况),并修复了Discard从回复占位符中遗漏当前批次物品的问题。 - 强化了明信片任务的标准化精确风格 ID 匹配,防止空红包推进进度,精简了红包祝福比较逻辑,并将仅客户端的 UI/Mixin 类与专用服务器隔离。
📦 依赖项与兼容性
- Minecraft:
1.21.1· NeoForge:[21.1.266, 21.2)(基于21.1.267构建) - 必需: Contact
[1.2.3,)· FTB Quests[2101.1.38, 2101.2)· FTB Library[2101.1.39, 2101.2)· FTB Teams2101.1.12+· Kotlin for Forge[5.12.0, 6)· OELib · Architectury API - 可选: KubeJS · Jade
[15,)· JEI
修复了队伍成员与玩家重名导致物品刷新的问题
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧