如果这个项目帮助到了你,请考虑在 GitHub 上留下星标!
PlayerStats

最初由 Artemis_the_gr8 创建,PlayerStats 是一款用于 Spigot/Paper 的统计插件,可在聊天中查看玩家统计数据。本项目延续了该工作,支持现代版本,并根据 MIT 许可证 分发。
描述
PlayerStats 允许你的玩家在没有计分板、数据库或设置麻烦的情况下查询 Minecraft 统计数据。一个中央命令即可显示前十名单、单个玩家的统计信息或全服总计数据。
你可以查看诸如通过 Happy Ghast 飞行的距离、每位玩家吃掉的烤土豆数量等许多内容!
功能
- 一条命令搞定一切:
/statistic(别名:/stat,/stats)处理帮助、排行榜、个人查询、全服总计以及输入时的标签补全 - 无需数据库: 直接读取现有的 playerdata 文件,因此无论是旧世界还是新世界都能正常工作——放入即用
- 易于阅读的输出: 时间、伤害和距离统计以 Minecraft 友好的单位显示,并在悬停文本中提供额外详情
- 分享到聊天: 玩家可以通过分享按钮(
playerstats.share)将上次查询结果分享给所有人 - 安全且快速: 多线程查询保持主线程顺畅运行,防止命令滥用导致服务器卡顿
- PlaceholderAPI 支持: 占位符位于单独的扩展包中——可从 GitHub、PlaceholderAPI eCloud 或通过
/papi ecloud download PlayerStats获取 - 语言与主题: 自动根据查看者的客户端语言翻译统计名称,在
language.yml中自定义名称,并可切换节日格式或彩虹模式 - 上榜人员由你决定: 仅白名单模式、排除被封禁的玩家、使用
/statexclude隐藏特定玩家,并通过最后加入时间来过滤以获得更整洁的排行榜(并提升性能) - 外观随心定制: 聊天颜色或十六进制颜色,可选样式如斜体,以及灵活的时间/伤害/距离单位范围
- 公开 API: 其他插件可通过 PlayerStats API 请求和格式化统计数据
权限
playerstats.stat— 使用/statistic(默认:所有人)playerstats.share— 在聊天中分享统计数据(默认:所有人)playerstats.reload—/statreload(默认:管理员 op)playerstats.exclude—/statexclude(默认:管理员 op)
设计选择
PlayerStats 不将统计数据镜像到自己的数据库或计分板系统中,而是按需读取 Minecraft 自身的玩家统计数据。这意味着没有同步任务,不需要“必须从第一天起就安装此插件”,也没有额外的存储层,只是利用世界中已有的数字,在后台线程计算后打印到聊天中。
为什么制作这个?
截至 2026 年秋季,开发者 Artemis-the-gr8 变得非常忙碌。由于我非常喜欢这种轻量级且用户友好的统计插件实现方式,我决定在其提供的 MIT 许可证下,为较新版本移植此项目,并解决服务器所有者一直请求解决的积压问题。

❤️ 致谢
- 原作者: Artemis-the-gr8 (Elise)
- 贡献者: DerexXD, CrashHasCrashed
本项目是开源的,并根据 MIT 许可证 获得许可。您可以根据相同许可证的条款自由修改和分发本软件。
If this project helped you, please consider leaving some stars on the Github!
PlayerStats

Originally created by Artemis_the_gr8, PlayerStats is a Spigot/Paper statistics plugin for viewing player stats in chat. This project continues that work with modern version support, and is distributed under the MIT license.
Description
PlayerStats lets your players look up Minecraft statistics without scoreboards, databases, or setup headaches. One central command can show a top 10, an individual player's stats, or a server-wide total
You can see things like distance flown via Happy Ghast, number of baked potatoes eaten per player, and much more!
Features
- One Command Does It All:
/statistic(aliases:/stat,/stats) handles help, top lists, individual lookups, server totals, and tab-complete as you type - No Database Required: Reads directly from existing playerdata files, so it works on old worlds and new ones alike — drop it in and go
- Readable Output: Time, damage, and distance stats are shown in Minecraft-friendly units, with extra detail in hover text
- Share to Chat: Players can share their last lookup with everyone via a share button (
playerstats.share) - Safe & Fast: Multi-threaded lookups keep the main thread happy and stop command spam from locking up the server
- PlaceholderAPI Support: Placeholders live in a separate expansion — grab it from GitHub, the PlaceholderAPI eCloud, or
/papi ecloud download PlayerStats - Language & Theming: Auto-translate stat names to the viewer's client language, customize names in
language.yml, and toggle festive formatting or rainbow mode - Who Shows Up Is Up to You: Whitelist-only mode, exclude banned players, hide specific players with
/statexclude, and filter by last-join age for cleaner top lists (and better performance) - Looks the Way You Want: Chat colors or hex colors, optional styling like italics, and flexible unit ranges for time/damage/distance
- Public API: Other plugins can request and format stats through the PlayerStats API
Permissions
playerstats.stat— use/statistic(default: everyone)playerstats.share— share stats in chat (default: everyone)playerstats.reload—/statreload(default: op)playerstats.exclude—/statexclude(default: op)
Design Choice
Instead of mirroring stats into its own database or scoreboard system, PlayerStats reads Minecraft's own player statistics on demand. That means no sync jobs, no “plugin must have been installed from day one,” and no extra storage layer, just the numbers your world already has, calculated off-thread and printed in chat.
Why was this made?
As of fall 2026, developer Artemis-the-gr8 has gotten busy so because I really like this implementation of a statistics plugin and how lightweight and user friendly it is, I've decided to make a port for newer versions and to address the backlog of issues server owners have been requesting, under the MIT License she put up.

❤️ Credits
- Original Author: Artemis-the-gr8 (Elise)
- Contributors: DerexXD, CrashHasCrashed
This project is open-source and licensed under the MIT License. You are free to modify and distribute this software under the terms of the same license.
下载 PlayerStats Reloaded
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerStats Reloaded
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerStats Reloaded
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerStats Reloaded
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerStats Reloaded
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
通配符统计查询(*): 新增支持使用 * 查询所有方块、物品或实体的聚合总计(例如 /stat mine_block * top)。 在 config.yml 中新增 enable-all-stats-lookup 选项(默认禁用)。
PlaceholderAPI 与全息图修复: 修复了当全息图中的占位符查询缺失、未加载或离线玩家时,控制台持续刷屏警告的问题。 对于缺失玩家的查询现在会优雅地返回 0,而不是抛出未处理的异常。
- 添加了许多别名
更新日志 - PlayerStats 2.7.3
? 可控制的顶部统计对齐宽度
- 记分板宽度控制: 在
config.yml中添加了top-list-align-width: 130,允许配置生成顶部统计行圆点时使用的目标像素宽度。 - PlaceholderAPI 与记分板优化: 允许服务器管理员在使用
%playerstats_top:...%时精简记分板插件(如 TAB)中的排行榜显示,而不影响聊天格式。
? 排行榜分页限制与截断
- 最大页数设置: 在
config.yml中添加了top-list-max-pages(默认为5,或-1表示无限制),以限制在排行榜中可访问的最大页码。 - 排行榜结果截断:
/stat <statistic> top <page>命令中的排行榜结果现在会根据配置的最大页数对查询进行截断。 - Tab 补全截断: 页码的自动补全建议现在已限制为允许的最大页数。
⚡ 统计项与命令别名
为 /stat 查询和 Tab 补全建议添加了直观的简写别名:
place_block➔use_itemeat,drink➔use_itempvp_kills➔player_killsplaytime➔play_one_minuteelytra➔aviate_one_cmtrade,trades➔traded_with_villager
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧