A simple Fabric mod that provides player statistics and leaderboards in one command.
This mod allows players to view statistics view leaderboards for any tracked metric in the game. It is engineered for scalability, utilizing memory-mapped files and incremental indexing to ensure zero impact on server performance, even with potentially tens of thousands of unique player files. It uses the built-in vanilla stat system and can show stats for any player that have, at any time, been playing on the server.
/stats top.Lookup a player:
/stats <player> <category> <stat>
/stats Steve mined diamond_ore
View leaderboard:
/stats top <category> <stat> [page]
/stats top killed creeper
Requires Fabric Loader and Fabric API. Place the mod .jar file in your server's mods folder.
Have been tested on 1.21.11
Conversation