Death Counter
带有客户端 Web UI 的死亡计数器
支持
·
报告 Bug
·
请求功能
目录
-
关于项目
-
用法
- 路线图
- 贡献指南
- 许可证
关于项目
Death Counter 是一款基于 Fabric 的服务端 Minecraft 模组,用于获取玩家死亡次数的信息。它直接从玩家统计数据中读取数据,确保计数准确无误。此外,它还支持客户端 Web UI,对主播非常有用。你也可以通过游戏内命令查看这些数据。
其他模组通常是在安装后才开始从零计数。而本模组还可以统计安装该模组之前发生的死亡次数。
(回到顶部)
技术栈
(回到顶部)
用法
玩法
开箱即用,无需任何特殊设置。即插即用 :)
命令
客户端命令
| Command |
OP |
Permission |
Description |
/dcc |
❌ |
none |
获取你自己的死亡计数 |
/dcc warning <boolean> |
❌ |
none |
启用/禁用当服务端未安装模组时的警告消息 |
/dcc webuinotify <boolean> |
❌ |
none |
启用/禁用登录世界时显示 Web 客户端地址的提示通知 |
/dcc title <boolean> |
❌ |
none |
启用/禁用标题消息 |
/dcc delayInTicks <integer> |
❌ |
none |
更改标题消息显示的延迟时间 |
/dcc chat <boolean> |
❌ |
none |
启用/禁用聊天栏消息 |
服务端命令
| Command |
OP |
Permission |
Description |
/dcs top |
❌ |
none |
获取死亡次数排行榜 :D |
/dcs <page> |
❌ |
none |
获取所有玩家的死亡计数 |
/dcs [<playerName>] |
❌ |
none |
获取特定玩家的死亡计数 |
客户端配置
{
"titleMessage": {
"disable": false,
"delayInTicks": 60
},
"chatMessage": {
"disable": false
},
// Warning message when mod unavailable on server-side
"showWarning": true,
// Web client toast notification
"showToastNotification": {
"disable": false,
"delay": 5000
},
"webSetup": {
// Local WebUI address
"localAddress": "0.0.0.0",
// Local WebUI port (1024-49151)
"servicePort": 1540,
// Local WebUI refresh time in milliseconds (more is better)
"refreshDelayMs": 5000
}
}
(回到顶部)
路线图
请参阅 open issues 以获取完整的功能提议列表(以及已知问题)。
(回到顶部)
贡献指南
正是这些贡献使得开源社区成为学习、灵感和创造的神奇之地。我们非常感激你的任何贡献。
如果你有改进建议,请 Fork 仓库并创建拉取请求。你也可以直接提交带有 "enhancement" 标签的 Issue。
别忘了给项目点个 Star!再次感谢!
- Fork 该项目
- 创建你的功能分支 (
git checkout -b feature/AmazingFeature)
- 提交你的更改 (
git commit -m 'Add some AmazingFeature')
- 推送到分支 (
git push origin feature/AmazingFeature)
- 打开一个 Pull Request
(回到顶部)
许可证
根据 MIT 许可证分发。有关更多信息,请参阅 LICENSE.txt。
(回到顶部)
Table of Contents
-
About The Project
-
Usage
- Roadmap
- Contributing
- License
About The Project
Death Counter is a server-side Minecraft Fabric mod to get info about how many players die, directly from player stats,
so you always get an actual count. Also support for client-side WebUI, useful for streamers. You can also see it in-game
using commands.
Other mods only start counting from zero after it's been installed. This mod, on the other hand, can also report
deaths from before this mod was installed.
(back to top)
Built With
(back to top)
Usage
Gameplay
For start use it u don't need any special setup. Plug and Play :)
Commmands
Client-side commands
| Command |
OP |
Permission |
Description |
/dcc |
❌ |
none |
Get your own death count |
/dcc warning <boolean> |
❌ |
none |
Enable/Disable warning message when mod unavailable on server-side |
/dcc webuinotify <boolean> |
❌ |
none |
Enable/Disable web client address toast notification on login to world |
/dcc title <boolean> |
❌ |
none |
Enable/Disable title message |
/dcc delayInTicks <integer> |
❌ |
none |
Change title message show delay |
/dcc chat <boolean> |
❌ |
none |
Enable/Disable chat message |
Server-side commands
| Command |
OP |
Permission |
Description |
/dcs top |
❌ |
none |
Get top of dead inside :D |
/dcs <page> |
❌ |
none |
Get the death count of all players |
/dcs [<playerName>] |
❌ |
none |
Get a specific player death count |
Client config
{
"titleMessage": {
"disable": false,
"delayInTicks": 60
},
"chatMessage": {
"disable": false
},
// Warning message when mod unavailable on server-side
"showWarning": true,
// Web client toast notification
"showToastNotification": {
"disable": false,
"delay": 5000
},
"webSetup": {
// Local WebUI address
"localAddress": "0.0.0.0",
// Local WebUI port (1024-49151)
"servicePort": 1540,
// Local WebUI refresh time in milliseconds (more is better)
"refreshDelayMs": 5000
}
}
(back to top)
Roadmap
See the open issues for a full list of proposed features (and
known issues).
(back to top)
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any
contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also
simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
(back to top)
License
Distributed under the MIT License. See LICENSE.txt for more information.
(back to top)
评论 0
登录后参与评分
还没有评论,来抢沙发吧