Repository navigation
v2.0.0-beta.6
Pre-release
Pre-release
MCWSLoader 2.0.0-beta.6
⚠️ 测试版 / Beta:升级前请备份config.json、permission.json、mods/和自定义 Mod。Beta: Back up
config.json,permission.json,mods/and custom Mods before upgrading.
完整文本本地化 / Full text localization
- 所有 9 个内置 Mod 都已加入
texts目录。
All nine bundled Mods now shiptextsdirectories. - 所有
tell和tellAll消息都通过this.rawtext读取文本。
EverytellandtellAllmessage now goes throughthis.rawtext. - 命令介绍、参数说明、帮助列表全部本地化。
Command descriptions, parameter help and help listings are localized. - 终端启动、连接、关闭和 Mod 加载输出全部本地化。
Terminal startup, connection, shutdown and Mod loading output is localized. - Mod manifest 的
name和description可以使用文本键。
Mod manifestnameanddescriptioncan use text keys. - WebUI Mod 配置字段支持
config.前缀的本地化键名。
WebUI Mod config fields support localizedconfig.keys. - 支持
zh_CN.lang、zh_TW.lang和en_US.lang。
Supportszh_CN.lang,zh_TW.langanden_US.lang. - 语言设置和主题设置一样,只在保存成功后切换。
Language and theme settings now apply only after a successful save.
示例 / Example:
{
"uuid": "Spam",
"name": "pack.name",
"description": "pack.description"
}pack.name=Spam tool
pack.description=Spam, advertisements and attack helpers审计与修复 / Audit and fixes
- 更新流程不再执行破坏性的
git reset --hard。
Update checkout no longer performs a destructivegit reset --hard. - 更新依赖安装使用
--ignore-scripts。
Update dependency installation uses--ignore-scripts. mods_config.json改为原子写入并限制为0600。
mods_config.jsonis written atomically with0600permissions.- 文本键 manifest 导入时使用
uuid生成目录名。
Text-key manifests useuuidfor the import folder name. - 前端语言按钮不再点击即切换,避免配置与界面不一致。
Frontend language buttons no longer switch immediately, avoiding config/UI mismatches. - 更多网络、文件、HTTP 和内部错误会转换为可读提示。
More network, file, HTTP and internal errors are mapped to readable messages.
升级 / Upgrade
git pull
npm install
npm start从 2.0.0-beta.5 升级无需额外迁移。
No extra migration is required from 2.0.0-beta.5.
完整变更 / Full changelog: v2.0.0-beta.5...v2.0.0-beta.6