PlayerStats
PlayerStats 是一款轻量级的 Paper/Spigot 插件,适用于 Minecraft 1.21.11+,能够自动追踪有用的玩家活动数据,并通过游戏内命令和内置的 Web 仪表板展示这些数据。
追踪内容
- 累计在线时长(小时)
- 累计击杀生物数量
- 累计放置方块数量
- 累计破坏方块数量
- 每位玩家破坏最多的方块类型详情
- 每位玩家击杀最多的生物类型详情
- 服务器整体的方块与生物排行榜
- 网站实时显示服务器 TPS 和 MSPT
游戏内命令
/playerstats <nick>
查看任何已被服务器记录过的玩家的简短统计摘要。
内置 Web 仪表板
PlayerStats 直接从插件启动自己的网站,无需额外安装任何东西。
仪表板包含以下功能:
- 所有玩家概览
- 按昵称搜索
- 单个玩家的统计卡片
- 方块与生物统计图表
- 使用原版风格的 Minecraft 图标展示被追踪的方块和生物
- 服务器 TPS/MSPT 显示
- 适配移动端的布局
配置
插件会在 plugins/PlayerStats/config.yml 生成配置文件。
你可以修改以下内容:
- 网站 IP/主机地址
- 网站端口
- 网站标题
- 数据库文件名
存储
统计数据保存在本地 SQLite 数据库中,因此设置简单,无需外部数据库支持。
为什么使用它
PlayerStats 专为那些希望快速获取直观、实用统计数据,而不愿安装重型分析堆栈或依赖外部 Web 服务的服务器所有者设计。
外部 API
你可以在你的产品中使用该 API。
使用方法?请参阅 此处 的说明
PlayerStats
PlayerStats is a lightweight Paper/Spigot plugin for Minecraft 1.21.11+ that automatically tracks useful player activity and exposes it both in-game and on a built-in web dashboard.
What it tracks
- total online time in hours
- total mob kills
- total placed blocks
- total broken blocks
- detailed top broken block types per player
- detailed top killed mob types per player
- overall server tops for blocks and mobs
- live server TPS and MSPT on the website
In-game command
/playerstats <nick>
Shows a short summary for any player already seen by the server.
Built-in web dashboard
PlayerStats starts its own website directly from the plugin, so you do not need to install anything extra.
The dashboard includes:
- all players overview
- search by nickname
- individual player summary cards
- charts with block and mob statistics
- vanilla-style Minecraft icons for tracked blocks and mobs
- server TPS/MSPT display
- mobile-friendly layout
Configuration
The plugin generates a config file in plugins/PlayerStats/config.yml.
You can change:
- website IP/host
- website port
- website title
- database file name
Storage
Statistics are saved in a local SQLite database, so setup is simple and no external database is required.
Why use it
PlayerStats is made for server owners who want quick, visual, and useful statistics without installing heavy analytics stacks or external web services.
External API
You can use it in your products.
How to use it? We have instructions here
评论 0
登录后参与评分
还没有评论,来抢沙发吧