Player statistics

Quick rating

Player statistics

No reviews yet

Mod to asynchronous synchronize and display player stats from the server on website.

QoL & Tweaks
API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Creative Commons Zero v1.0 Universal
Latest Version
player-statistics-1.21.4-2.1.1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

Header image Player Statistics text

The latest version can be found at: Modrinth - Player statistics

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!)

Show website image

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 (+ search and sort).
  • 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:
    • Synchronization with external databases. (*)
    • Reload command.
    • Single player functionality. (not a priority)
    • Add the ability to view stats (and leaderboard) directly in the game.
    • Add support for multiple versions of minecraft (not yet a priority).
  • WEBSITE:
    • Fix some visual bugs.
    • Add dark mode.
    • Add other languages (translation page).
    • Make page loading more efficient.
    • Add live demo website.

Support text If you want to support the development of this mod, you can contribute any amount on my Ko-fi page or you can share your suggestions and ideas on Discord.

And if you're looking for help or want to report a bug, you can use Discord or Github.

Header image Player Statistics title image

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!)

Show website image

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.

Support section image

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.

Screenshots

Gallery

  • Main page
    Main page Main page
  • Hall of Fame
    Hall of Fame Hall of Fame
  • Player list
    Player list Player list
  • Player page
    Player page Player page
  • Main page - mobile
    Main page - mobile Main page - mobile
  • Hall of Fame - mobile
    Hall of Fame - mobile Hall of Fame - mobile
  • Main page
    Main page
  • Hall of Fame
    Hall of Fame
  • Player list
    Player list
  • Player page
    Player page
  • Main page - mobile
    Main page - mobile
  • Hall of Fame - mobile
    Hall of Fame - mobile

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
<1,000
Modrinth
~1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works