This repository has been archived on 2025-12-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RMC/README.md

37 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-08-16 16:59:33 +08:00
<div align="center">
2023-08-16 17:00:16 +08:00
2023-08-16 17:00:34 +08:00
<h1>RMineCounter</h1>
2023-08-16 17:00:16 +08:00
2023-08-16 16:58:58 +08:00
<p>在游戏中添加统计信息来统计玩家挖掘数据, 可以借助计分板显示出数据</p>
<img src="https://static-flax.vercel.app/static/kotlin/made-with-kotlin.svg">
<br>
<img alt="GitHub" src="https://img.shields.io/github/license/DangoTown/RMC?logo=apache">
2023-08-16 17:10:15 +08:00
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/DangoTown/RMC/ci.yaml">
2023-08-16 16:58:58 +08:00
<img alt="Kotlin Version" src="https://img.shields.io/badge/Kotlin-1.8.22-pink?logo=kotlin">
2023-08-16 17:07:47 +08:00
</div>
2023-08-20 15:28:27 +08:00
# 依赖
* 由于使用了`Kotlin`语言所以你需要放置`fabric-language-kotlin`在你的mods文件夹内. 点击[这里](https://github.com/FabricMC/fabric-language-kotlin/releases/latest)快速下载最新版本的`fabric-language-kotlin`
2023-08-16 17:07:47 +08:00
# 使用
* 默认是不会记录玩家挖掘数据的, 你需要添加一个计分板, 准则为`minecraft.custom:minecraft.rmc`的一个计分板, 以下为实例命令, 如有需要可以自行修改
* `/scoreboard objectives add rmc minecraft.custom:minecraft.rmc {"text":"挖掘榜", "color":"yellow"}`
* 上面的命令执行完成后所有玩家破坏任何方块都会使其加1(常规情况下破坏方块), 使用以下命令来显示出计分板
* `/scoreboard objectives setdisplay sidebar rmc`
* 你可以修改计分板的id和显示名称, 但是计分板的准则不能修改
# 开源
- 本项目以[Apache-2.0](./LICENSE)许可开源, 即:
- 你可以直接使用该项目提供的功能, 无需任何授权
- 你可以在**注明来源版权信息**的情况下对源代码进行任意分发和修改以及衍生