客户端导出助手
一款客户端工具模组,添加了用于导出客户端数据(如进度和统计数据)的客户端命令。
这是一个客户端模组,不应安装在服务端上。该模组与大多数第三方服务器兼容。
用法
使用命令 /clientexport(或简写为 /clex)及其三个参数之一:
advancements <namespace>:导出你的客户端可以访问的所有命名空间下的进度,包括在进度标签页中显示的进度,以及你已经获得的不可见进度。
progress <namespace>:导出指定命名空间下的进度完成情况,包括已完成或未完成的判定标准名称,以及完成它们的确切时间。
statistics:导出你在统计数据屏幕上可见的统计数据。
<namespace> 参数是可选的。如果未指定,将导出所有命名空间的进度数据。
所有生成的数据将存储在 Minecraft 目录下的 export 文件夹中的 JSON 文件里,文件名格式为 <namespace>-<type>-<year>-<month>-<day>-<time>.json(用于进度/成就)或 statistics-<year>-<month>-<day>-<time>.json(用于统计数据)。例如,命名空间为 "minecraft" 的进度可能会存储在文件 minecraft-advancements-2025-09-24-110000.json 中。
说明
- 进度文件的格式与原版数据包相同。详细信息请参阅 Minecraft Wiki。
- 统计数据的格式与原版 Minecraft 相同。详细信息请参阅 Minecraft Wiki。
- 进度进度的格式如下:
{
“<进度资源位置>”:{
“标准”:{
“<已完成的标准>”:“<时间格式为 yyyy-MM-dd HH:mm:ss Z>”,
```json
...
},
"done": <true or false>,
"remaining": [
"<remaining criteria>",
...
],
"progress": <precentage>
},
...
}
外部链接
Client Export Helper
A client-side utility mod that adds a client command to export client-side data like advancements and statistics.
This is a client-side mod, and should not be installed on the server side. The mod is compatible with most of the third-party servers.
Usage
Use the command /clientexport (or /clex for short) and one of its three parameters:
advancements <namespace>: Export all the advancements under the namespace which can be accessed by your client, including the advancements displayed in the advancement tab, and the invisible advancements you have already obtained.
progress <namespace>: Export the advancement progress under the namespace, including the names of criteria you have completed or not completed, and the exact time you completed them.
statistics: Export the statistics that you can see on the statistics screen.
- The
<namespace> argument is optional. If not specified, the advancement data of all the namespaces will be exported.
All data generated will be stored in JSON files inside the Minecraft directory in the folder export, with the name <namespace>-<type>-<year>-<month>-<day>-<time>.json for advancements/progress or statistics-<year>-<month>-<day>-<time>.json for statistics. For example, advancements under the namespace "minecraft" may be stored in the file minecraft-advancements-2025-09-24-110000.json.
Notes
- The format of advancements is the same as that of vanilla data packs. Refer to Minecraft Wiki for detailed information.
- The format of statistics is the same as that of vanilla Minecraft. Refer to Minecraft Wiki for detailed information.
- The format of advancement progress is as follows:
{
"<resource location of the advancement>": {
"criteria": {
"<completed criteria>": "<time formatted as yyyy-MM-dd HH:mm:ss Z>",
...
},
"done": <true or false>,
"remaining": [
"<remaining criteria>",
...
],
"progress": <precentage>
},
...
}
External Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧