Branded Logs
这是一个简单的模组,允许整合包作者将有关其整合包的额外信息打印到游戏日志中。这包括整合包的名称和版本,以及用户机器的信息、操作系统、Java 版本和内存分配情况。
本模组深受 [Log More Info] 的启发。
为什么需要这个?
作为整合包作者,你可能会经常收到玩家发来的日志,请求帮助解决某个问题或崩溃。有了这个模组,你就不再会混淆某条日志是从哪个版本的整合包生成的了。你也不需要再询问他们系统的硬件或 Java 配置,因为这些信息可以轻松地从日志中推断出来!
如何使用
该模组开箱即用,会自动从支持的启动器中解析整合包信息。但是,如果存在 Better Compatibility Checker(bcc.json)的配置文件,它将始终拥有最高优先级。
支持的启动器:
- ✅ CurseForge App (minecraftinstance.json)
- ✅ Prism Launcher (instance.cfg)
- ✅ ATLauncher (instance.json)
- ✅ GDLauncher (instance.json)
- ❌ Modrinth App (不再使用 profile.json 文件)
为了让模组在不支持的启动器中获取你整合包的版本号与名称,你需要在整合包中包含来自 Better Compatibility Checker 的配置文件。你可以使用 Better Compatibility Checker 模组来生成配置文件,或者使用以下模板手动创建:
./config/bcc.json
{"modpackName": "INSERT_MODPACK_NAME_HERE", "modpackVersion": "INSERT_MODPACK_VERSION_HERE"}
依赖项
可选:Better Compatibility Checker
链接
Branded Logs
This is a simple mod that allows modpack creators to print additional information about their modpack into the game's logs. This includes the name of the modpack and its version, as well as information about the user's machine, operating system, Java version, and RAM allocation.
This mod was greatly inspired by [Log More Info].
Why would anyone need this?
As a modpack author, you may often receive logs from players asking for help with an issue or crash. With this mod, there will no longer be any confusion about which version of your modpack a log was generated from. You will also no longer have to ask them about the hardware or Java configuration of their system, as that can easily be deduced from the logs!
How to use it
The mod will automatically parse modpack information from supported launchers right out of the box. However, if a configuration file from Better Compatibility Checker (bcc.json) is present, it will always take priority.
Supported Launchers:
- ✅ CurseForge App (minecraftinstance.json)
- ✅ Prism Launcher (instance.cfg)
- ✅ ATLauncher (instance.json)
- ✅ GDLauncher (instance.json)
- ❌ Modrinth App (No longer uses profile.json file)
To enable the mod to retrieve the version number and name of your modpack in an unsupported launcher, you need to include a configuration file from Better Compatibility Checker in your pack. You can either use the Better Compatibility Checker mod to generate the config file, or create one manually using the template below:
./config/bcc.json
{"modpackName": "INSERT_MODPACK_NAME_HERE", "modpackVersion": "INSERT_MODPACK_VERSION_HERE"}
Dependencies
Optional: Better Compatibility Checker
Links
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
下载 Branded Logs
更新内容
- 实现了从支持的启动器自动解析整合包信息。
- CurseForge App ✔
- Prism Launcher ✔
- ATLauncher ✔
- GDLauncher ✔
- 修复了因某些构建产物中 refmap 未正确设置而导致的随机启动崩溃问题。
- 由于在我的 IDE 中启动游戏时并未出现此问题,因此我之前未能发现。(这算是一个有点尴尬的错误,因为修复方法只是关闭 Gradle 的并行化功能)
完整更改日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧