Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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
§2
will be green,§4
red, ...).
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.