From 8f66eddde68306d67bf6a8de872ffd3d88ca069b Mon Sep 17 00:00:00 2001 From: Xujiayao Date: Sat, 4 Jan 2025 14:09:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=B02.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug.yml | 1 + CHANGELOG.md | 40 +++++++++------------------------- README.md | 5 +++-- README_CN.md | 5 +++-- gradle.properties | 2 +- update/version.json | 4 ++-- update/versions.json | 4 ++-- 7 files changed, 22 insertions(+), 39 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 43775efd..a2a46852 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -63,6 +63,7 @@ body: multiple: false options: - "Latest Build (GitHub Actions)" + - "2.4.0" - "2.3.5" - "2.3.4" - "2.3.4-compat" diff --git a/CHANGELOG.md b/CHANGELOG.md index bd530a40..028f90f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,46 +1,27 @@ # Changelog 更新日志 -## Discord-MC-Chat 2.3.5 for Minecraft 1.14.4+ - 2024/10/29 +## Discord-MC-Chat 2.4.0 for Minecraft 1.14.4+ - 2025/1/4 DMCC Discord Server is now public! Join now through: https://discord.gg/kbXkV6k2XU -DMCC now supports switching to Brazilian Portuguese. Note that DMCC no longer releases Active and Compat versions separately. - -As this is a minor release, new features that involve modifying the config file are not released in this version. +New features that involve modifying the config file have been released in this version. Please read the docs to reconfigure `generic.avatarApi` and `generic.excludedCommands`! DMCC Discord 服务器现已公开!通过以下链接加入:https://discord.gg/kbXkV6k2XU -DMCC 现在支持切换到巴西葡萄牙语。留意现在 DMCC 不再分开发布 Active 和 Compat 版本。 - -由于这是一个次要版本,涉及到修改配置文件的新功能暂时不会发布。 +本版本发布了涉及修改配置文件的新功能。请阅读文档以重新配置 `generic.avatarApi` 和 `generic.excludedCommands`! ## New Features 新特性 -- Brazilian Portuguese translation (#243) - 巴西葡萄牙语翻译 +- Compatible with all mods and plugins that use the `textures` field in `GameProfile` for real-time skin changes (#222 and #228) + 兼容所有使用 GameProfile 中的 textures 项进行实时皮肤更换的模组和插件 -- Supports broadcasting messages sent using the /tellraw command (#132 and #250) - 支持广播使用 /tellraw 命令发送的消息 - -- Restore /say command broadcast feature in versions 1.18.2 and below (#197) - 恢复在 1.18.2 及更早版本中广播 /say 命令的功能 - -- Throws exception when Webhook fails to send (#249) - 在 Webhook 发送失败时抛出异常 - -- Compatible with Minecraft 1.21.2 and 1.21.3 (#258) - 兼容 Minecraft 1.21.2 和 1.21.3 版本 +- Prompt when the user runs the JAR as an application instead of a Minecraft mod + 当用户将 JAR 作为应用程序运行而不是 Minecraft 模组时进行提示 ## Changes 更改 -- Changed the way DMCC handles the /say command (#197) - 更改 DMCC 处理 /say 命令的方式 - -- Webhook check only displays an error message when Guild permission is insufficient - Webhook 检查在 Guild 权限不足时仅显示错误消息 - -- No longer release Active and Compat versions separately - 不再分开发布 Active 和 Compat 版本 +- The `excludedCommands` list now only supports regular expressions (#247) + `excludedCommands` 列表现在仅支持正则表达式 ## Removed 移除 @@ -49,8 +30,7 @@ N/A ## Contributors 贡献者 - @Xujiayao -- @rodrigoaddor ## Detailed Information 详细信息 -https://github.com/Xujiayao/Discord-MC-Chat/compare/2.3.4...2.3.5 \ No newline at end of file +https://github.com/Xujiayao/Discord-MC-Chat/compare/2.3.5...2.4.0 \ No newline at end of file diff --git a/README.md b/README.md index 2f1eabbd..2a019144 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ For translation contributions, language files are located in the `/wrapper/src/m - Support displaying server player count in bot's Discord activity status - Support Discord Webhook feature - Dynamic-created DMCC Webhook - - Customizable Webhook Avatar API + - Customizable Webhook Avatar API that is compatible with mods and plugins for real-time skin changes - Use the bot itself to send chat messages when Webhook is disabled - Support in-game Markdown parsing - Support highlighting and using default Unicode and server custom emoji in-game @@ -84,7 +84,7 @@ For translation contributions, language files are located in the `/wrapper/src/m - Support limiting the number of newlines for Discord messages - Broadcast player command execution - Players who execute commands can also see the commands themselves - - Exclude broadcasts for execution of specific commands + - Exclude broadcasts for execution of specific commands (support regular expression) - Support broadcasting messages sent using /tellraw and /say command - Send all console log messages to Discord - Discord Commands available @@ -138,6 +138,7 @@ For translation contributions, language files are located in the `/wrapper/src/m - Push DMCC version updates accurately by checking server Minecraft version compatibility - Customizable update notification channel - Check for updates can be disabled +- Prompt when the user runs the JAR as an application instead of a Minecraft mod Languages currently available: diff --git a/README_CN.md b/README_CN.md index 34ecacae..112bddff 100644 --- a/README_CN.md +++ b/README_CN.md @@ -69,7 +69,7 @@ DMCC Discord 服务器现已公开!通过以下链接加入:https://discord. - 支持使用机器人 Discord 活动状态显示服务器玩家数 - 支持 Discord Webhook 功能 - 动态创建 DMCC Webhook - - 可自定义 Webhook 玩家头像 API + - 可自定义 Webhook 玩家头像 API,兼容用于实时皮肤更换的模组和插件 - 可禁用 Webhook,使用机器人自身发送聊天消息 - 支持游戏内 Markdown 解析 - 支持游戏内高亮和使用默认 Unicode 和服务器自定义表情符号 @@ -84,7 +84,7 @@ DMCC Discord 服务器现已公开!通过以下链接加入:https://discord. - 支持限制 Discord 消息的换行次数 - 可广播玩家指令执行 - 执行指令的玩家也可以看到自己执行的指令 - - 可排除执行特定指令的广播 + - 可排除执行特定指令的广播(支持正则表达式) - 支持广播使用 /tellraw 和 /say 命令发送的消息 - 可将所有控制台日志消息发送到 Discord - 可使用 Discord 命令 @@ -138,6 +138,7 @@ DMCC Discord 服务器现已公开!通过以下链接加入:https://discord. - 通过检查服务器 Minecraft 版本兼容性来准确推送 DMCC 版本更新 - 可自定义更新通知频道 - 可禁用检查更新 +- 当用户将 JAR 作为应用程序运行而不是 Minecraft 模组时进行提示 目前可用的语言: diff --git a/gradle.properties b/gradle.properties index e9d88de2..147eb88f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx8G org.gradle.parallel=true # Mod Properties -mod_version=2.3.5 +mod_version=2.4.0 maven_group=com.xujiayao.discord_mc_chat archives_base_name=Discord-MC-Chat diff --git a/update/version.json b/update/version.json index 2004159e..b336facb 100644 --- a/update/version.json +++ b/update/version.json @@ -1,4 +1,4 @@ { - "version": "2.3.5", - "changelog": "\n\n> DMCC Discord Server is now public! Join now through: https://discord.gg/kbXkV6k2XU\n> \n> DMCC now supports switching to Brazilian Portuguese. Note that DMCC no longer releases Active and Compat versions separately.\n> \n> As this is a minor release, new features that involve modifying the config file will not be released in this version." + "version": "2.4.0", + "changelog": "\n\n> DMCC Discord Server is now public! Join now through: https://discord.gg/kbXkV6k2XU\n> \n> New features that involve modifying the config file have been released in this version. Please read the docs to reconfigure `generic.avatarApi` and `generic.excludedCommands`!" } \ No newline at end of file diff --git a/update/versions.json b/update/versions.json index 6ae35f5f..7b4241b9 100644 --- a/update/versions.json +++ b/update/versions.json @@ -1,8 +1,8 @@ { "versions": [ { - "version": "2.3.5", - "changelog": "\n\n> DMCC Discord Server is now public! Join now through: https://discord.gg/kbXkV6k2XU\n> \n> DMCC now supports switching to Brazilian Portuguese. Note that DMCC no longer releases Active and Compat versions separately.\n> \n> As this is a minor release, new features that involve modifying the config file will not be released in this version.", + "version": "2.4.0", + "changelog": "\n\n> DMCC Discord Server is now public! Join now through: https://discord.gg/kbXkV6k2XU\n> \n> New features that involve modifying the config file have been released in this version. Please read the docs to reconfigure `generic.avatarApi` and `generic.excludedCommands`!", "minecraft_dependency": [ "~1.14.4", "~1.15.2",