统计信息
本模组添加了一个简单的 /stats 命令,玩家可以使用它来查看自己的统计数据、与其他玩家分享数据,以及查看某项统计数据的排行榜。
许可证
本模组采用 MIT 许可证授权。
捐赠
如果你喜欢这个模组,请考虑 捐赠。
Discord
如需支持或有任何问题,欢迎加入 我的 Discord 服务器。
版本支持
| Minecraft Version |
Status |
| 26.2.x |
✅ Current |
| 26.1.x |
✔️ Available |
我尽力保持对最新版本 Minecraft 的支持。由于我不总有时间立即更新我的模组,因此对新版本的更新可能会偶尔延迟。
不受支持的版本仍可下载,但不会获得新功能或错误修复。
用法
本模组适用于 Fabric 和 NeoForge,在 Fabric 上需要安装 Fabric API。
在多人游戏中,客户端不需要安装此模组。
该模组添加了一个新命令 /stats,使用方法如下:
/stats get <type> <key>
- 需要
statistics_info.get 权限或操作者等级 2。
- 显示你的统计数据。如果你拥有
statistics_info.share 权限(或操作者等级 2),还会显示一个 [share] 按钮。
- 点击
[share] 按钮会将你的统计数据分享给所有在线玩家。
- 示例:
/stats get minecraft:used minecraft:torch
You have used Torch 5043 times [share]
/stats get mined stone
You have mined Stone 30213 times [share]
/stats get <type> <key> <target>
- 需要
statistics_info.get 和 statistics_info.get.other 权限,或操作者等级 2。
- 显示
<target> 的统计数据。
- 示例:
/stats get minecraft:killed minecraft:villager Player123
Player123 has killed Villager 67 times
/stats get crafted beacon Player987
Player987 has crafted Beacon 42 times
/stats top <type> <key>
- 需要
statistics_info.leaderboard 权限或操作者等级 2。
- 显示给定统计数据的排行榜。
- 示例:
/stats top minecraft:picked_up minecraft:elytra
Leaderboard for picked up Elytra:
1. Player271 (198)
2. Player709 (79)
3. Player818 (36)
4. Player734 (34)
5. Player753 (23)
/stats top custom play_time
Leaderboard for Time Played:
1. Player271 (11.01 h)
2. Player709 (5.05 h)
3. Player818 (2.1 h)
4. Player734 (11.05 min)
5. Player753 (5.49 min)
Statistics Info
This mod adds a simple /stats command, which players can use to see their statistics, share them with other players,
and see a leaderboard of a statistic.
License
This mod is licensed under the MIT license.
Donating
If you like this mod, consider donating.
Discord
For support and/or any questions you may have, feel free to join my discord.
Version support
| Minecraft Version |
Status |
| 26.2.x |
✅ Current |
| 26.1.x |
✔️ Available |
I try to keep support up for the latest drop of Minecraft. Updates to newer Minecraft
versions may be delayed from time to time, as I do not always have the time to immediately update my mods.
Unsupported versions are still available to download, but they won't receive new features or bugfixes.
Usage
The mod is available for both Fabric and NeoForge, the Fabric API is required on Fabric.
This mod is not required on clients when playing on multiplayer.
The mod adds a single new command, /stats, which can be used as follows:
/stats get <type> <key>
- Requires the
statistics_info.get permission or operator level 2.
- Displays a statistic for you. If you have the
statistics_info.share permission (or operator level 2), a [share] button is displayed as well.
- Pressing the
[share] button shares your statistic with everyone online.
- Examples:
/stats get minecraft:used minecraft:torch
You have used Torch 5043 times [share]
/stats get mined stone
You have mined Stone 30213 times [share]
/stats get <type> <key> <target
- Requires the
statistics_info.get and statistics_info.get.other permissions, or operator level 2.
- Displays a statistic of
<target>.
- Examples:
/stats get minecraft:killed minecraft:villager Player123
Player123 has killed Villager 67 times
/stats get crafted beacon Player987
Player987 has crafted Beacon 42 times
/stats top <type> <key>
- Requires the
statistics_info.leaderboard permission or operator level 2.
- Displays a leaderboard for the given statistic.
- Examples:
/stats top minecraft:picked_up minecraft:elytra
Leaderboard for picked up Elytra:
1. Player271 (198)
2. Player709 (79)
3. Player818 (36)
4. Player734 (34)
5. Player753 (23)
/stats top custom play_time
Leaderboard for Time Played:
1. Player271 (11.01 h)
2. Player709 (5.05 h)
3. Player818 (2.1 h)
4. Player734 (11.05 min)
5. Player753 (5.49 min)
评论 0
登录后参与评分
还没有评论,来抢沙发吧