
该模组可将玩家统计数据异步同步到本地(或外部 *)数据库。借助此功能,这些统计数据可以轻松地进行处理并在网页上显示(模组本身包含一个网站)。
目前,该模组可以将数据同步到本地(SQLite)数据库 或外部(MySQL、MariaDB 或 PostgreSQL)数据库 *。它包含一个配置文件,您可以在其中设置统计数据的更新频率、用于处理的 CPU 线程数、网站设置以及数据库设置。
如果未在配置中禁用,同步将在服务器启动后 1 分钟自动开始,然后每 X 分钟进行一次(具体取决于设置)。您也可以通过 /pstats sync 命令手动启动同步,并使用 /pstats status 命令监控当前状态(或者使用 /pstats help 查看可用命令)。
? 现在支持权限管理!
模组支持权限系统。要执行模组的任何命令,用户必须拥有 pstats 权限或 2 级及以上权限(OP 权限同样有效)。因此对服务器是安全的!
? 现在也支持 Bedrock 版玩家!
模组还支持来自 Geyser/Floodgate 的 Bedrock 版玩家。
网站预览(移动端也适用!)

模组本身包含一个简单的网页以展示统计数据,在使用本地数据库时即可使用。
网站包括:
- 服务器总体统计信息(玩家数量、总游戏时长、总合成物品数、...)。
- 名人堂,您可以在此找到服务器 TOP 15 的玩家及其积分。
- 所有玩家列表,显示他们最后一次上线的时间(+ 支持搜索和排序)。
- 玩家个人页面,包含所有可用的统计数据、玩家排名、游戏时间等(+ 支持搜索和排序)。
- 特定统计数据的排行榜页面。
- 服务器图标、描述和指向服务器页面的链接。(服务器描述会自动从 motd 获取,并支持 Minecraft 格式代码(例如
§2会变为绿色,§4会变为红色,...)。
更多信息 ...
- 兼容性 - 该模组已测试(并与大多数常见服务器模组兼容),例如 Ledger、Bluemap、LuckPerms、Worldedit、Essential commands、Banhammer 等。 如果遇到任何问题,请通过 Discord 或 Github(支持部分)联系我们。
- 积分 ⭐ - 每项统计数据都会为 TOP 5 玩家(第 1-5 名)进行评分。这些积分随后会被累加,积分最高的玩家将显示在名人堂中。
- 首次运行时,模组会自动下载数据库所需的驱动程序。
待办事项 (*)
- MOD:
- WEBSITE:
- 修复一些视觉错误。
- 添加深色模式。
- 添加其他语言(翻译页面)。
- 提高页面加载效率。
- 添加在线演示网站。

如果您希望支持 Player Statistics 的持续开发,可以考虑在我的 ☕ Ko-fi 页面 上做出贡献。 无论金额大小都深表感谢,这将帮助我投入更多时间制作出色的模组。 ⭐ 支持者还会在我的 Discord 服务器上获得特殊的“支持者”角色!
有问题、遇到了 Bug,或者只是想聊聊这个模组? 加入我们的 Discord 社区!
如需提交 Bug 报告或解决技术问题,您也可以前往 GitHub 创建 Issue。

Mod provides asynchronous synchronization of player statistics to the local (or external *) database. Thanks to this, these statistics can be easily processed and displayed, for example, on a web page (mod itself contains a website).
Currently the mod can synchronize stats to a local (SQLite) database or to an external (MySQL, MariaDB or PostreSQL) database *. It contains a config file in which you can set how often the stats will be updated, the number of CPU threads on which the processing will run, the website settings and the database settings.
The synchronization will automatically start (if not disabled in the config) 1 minute after the server starts and then every X-minutes, depending on the settings. It is also possible to start synchronization manually with the /pstats sync command, and the current status can be monitored with the /pstats status command (or /pstats help which will show the available commands).
? Now with permissions too!
Mod supports permissions, in order to execute any command from the mod, the user must have pstats permission or permission level 2 or higher (OP works as well). So it's server-safe!
? Now with Bedrock suport too!
Mod also supports Bedrock players from Geyser/Floodgate.
Preview of the website (on mobile too!)

Mod itself includes a simple web page to display the statistics, when using the local database.
The website includes:
- General server statistics (Number of players, Total play time, Total crafted items, ...).
- Hall of Fame where you can find TOP 15 players from the server and their points.
- All players with the date when they were last online (+ search and sort).
- Player's page with all available stats, player's ranking, time played, ... (+ search and sort).
- The page for the selected stat with the player's ranking.
- Server icon, description and link to the server page. (The server description is automatically taken from motd and handles minecraft formatting (so
§2will be green,§4red, ...).
More info ...
- Compatibility - The mod has been tested (and is compatible) with most common server mods such as Ledger, Bluemap, LuckPerms, Worldedit, Essential commands, Banhammer, ... If you have any problems, just get in touch on Discord or on Github (Support section).
- Points ⭐ - Each statistic is rated for the TOP 5 players (position 1-5). These points are then summed up and the players with the highest number of points are displayed in the Hall of Fame.
- The first time you run it, the mod will automatically download the necessary drivers for the databases.
TODO (*)
- MOD:
- WEBSITE:
- Fix some visual bugs.
- Add dark mode.
- Add other languages (translation page).
- Make page loading more efficient.
- Add live demo website.

If you'd like to support the continued development of Player Statistics, consider contributing on my ☕ Ko-fi page. Any amount is greatly appreciated and helps me dedicate more time to creating awesome mods. ⭐ Supporters also receive a special Supporter role on my Discord server!
Have questions, encountered a bug, or just want to chat about the mod? Join our community on Discord!
For bug reports and technical issues, you can also open an issue on GitHub.
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
下载 Player statistics
更新以支持 1.21.9
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧