Links
Tags
Creators
Details
1.7.0
Compatibility
Changes
📌 變更摘要 (Summary)
本 PR 涵蓋了從 Commit 747afb1 到最新 Head(共 6 個 Commit)的核心功能新增與重要 Bug 修復。重點包括:
- Discord 商店含冒號商品購買修復(附魔書/藥水短 Key Hash 防護)
- Discord 每日 / 每週 / 每月商店營運報表與自動推播(支援 Bot 互動選單與 Webhook)
- 物品交易趨勢與熱度智慧分析(熱度分數、動態漲跌幅與自動分析評語)
- PlugManX / JDA 熱重載同步安全關閉(修復
zip file closed異常) - 基岩版 (Bedrock) PDC 標籤注入與 GUI 離線帶走防呆攔截
🔥 主要變更亮點 (Key Highlights)
-
🐛 修復 Discord 含冒號商品標籤點擊失敗 Bug (
v1.7.0 Fix)- 針對
catalogKey包含冒號(例如附魔書enchanted_book:ench:minecraft:luck_of_the_sea:3或藥水)的商品,實作短 Key Hash 對照表與倒數索引冒號安全解析演算法。 - 完全解決 Discord 按鈕點擊時解析錯位導致「該商品目前未開放購買」的問題,並向下相容舊版按鈕。
- 針對
-
📊 Discord 每日 / 每週 / 每月商店營運報表系統 (
v1.8.0)- 建立非同步
ReportService與transactions.yml交易紀錄機制。 - 新增
DiscordReportScheduler排程器,支援手動指令(遊戲內/shop report與 Discord/report)以及定期自動推播至 Discord 頻道/Webhook。 - Bot 發送管道具備永久互動按鈕 (
📅 每日/📆 每週/📊 每月/🔄 重新整理) 與下拉選單(包含熱門商品 Top 10、熱門玩家榜、明細等)。 - 新增
discord-report.timezone設定,支援自訂或自動解析主機系統時區。
- 建立非同步
-
📈 物品交易趨勢與熱度智慧分析 (Analytics)
- 自動計算物品熱度指數 (0~100)、買賣比例與動態物價漲跌倍率。
- 自動生成分類標籤(
🔥 搶手爆款物資/📈 需求持續上升/⚖️ 供需穩定平衡/📥 玩家大量拋售)與人性化智慧分析短評。
-
⚡ PlugManX / JDA 熱重載穩定度優化 (Stability)
- 改用
standaloneJda.shutdownNow()搭配 3 秒awaitShutdown,確保 PlugManX 在關閉 ClassLoader 前完整釋放 JDA 背景執行緒,消除IllegalStateException: zip file closed錯誤。
- 改用
-
🛡️ 基岩版 (Bedrock / Geyser / Floodgate) 防呆與 PDC 標籤機制 (
v1.7.1)- 為所有商店 GUI 物品注入
ashop:gui_itemPersistentDataContainer (PDC) 標籤。 - 當介面關閉、玩家離線或重新登入時,自動抹除游標與背包內殘留的 GUI 展示方塊。
- 監聽放置方塊與丟棄物品事件進行防呆攔截;並於
config.yml新增bedrock.block-gui控制開關。
- 為所有商店 GUI 物品注入
747afb1[Discord商店] 修復點擊含冒號商品標籤 (如附魔書/藥水) 導致購買失敗問題8cd1ec7[營運報表] 新增 Discord 每日/每週/每月商店營運報表與自動推播功能4043e2e[營運報表] 調整語意為玩家交易與系統商店服務數據統計14a5e01[營運報表] 新增物品交易趨勢、熱度分數與自動智慧分析短評e4c667e[Discord] 修復 PlugManX 熱重載時 JDA 非同步關閉導致的 zip file closed 異常8851c96[基岩版相容] 新增 PDC 標籤與基岩版 GUI 離線帶走防呆機制
⚙️ 設定檔與多語系異動 (Config & Locale Changes)
config.yml- 新增
discord-report完整設定區塊(包含channel-id,webhook-url,timezone,auto-push)。 - 新增
bedrock.block-gui設定項(預設false)。
- 新增
zh_tw.properties/en_us.properties/_template.properties- 新增
msg.cmd.bedrock-blocked基岩版阻擋提示訊息。
- 新增
CHANGELOG.md&README.AI.md- 已同步更新 v1.7.1 與 v1.8.0 異動日誌與歷史軌跡。
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:6ShNoXxw:KMKF9ESu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:6ShNoXxw:KMKF9ESu"
}
