
mcstats
Server-side stat tracker for Fabric — pushes vanilla and custom player stats to MySQL, SQLite, or any HTTP webhook. Built for quests, leaderboards, and external dashboards.
About this Mod
MC Stats Mod
A server-side Fabric mod that tracks player statistics and pushes them to an external database. Works with vanilla clients — players don't install anything.
What it tracks
- All vanilla stats: blocks broken/placed, items used/crafted, kills, deaths, damage, movement, time played, etc.
- Natural-mined blocks: distinguishes blocks broken from world generation vs. blocks placed by players. Quest systems can't be cheesed by placing and re-mining cobblestone.
- Custom stats: deaths by cause, enchantments performed, unique biomes visited, totem uses, sleep count, highest single hit.
Where it sends data
Pick one in the config:
| Backend | Use for |
|---|---|
logging |
Testing — prints to server console |
sqlite |
Single-server setup, zero config |
mysql |
Sharing data across multiple services |
webhook |
Custom dashboards, Discord bots, analytics — POSTs JSON to any URL |
Setup
- Drop the jar in your server's
mods/folder (alongside Fabric API). - Start the server once — it generates
config/mcstats.json. - Edit the config, restart.
That's it. Default config logs to console so you can verify it's working before wiring up a database.
Why use this instead of a Discord-stats mod?
Most stat mods are coupled to one output (a specific Discord bot, a specific overlay). This one is a neutral push — your endpoint receives JSON, you decide what to do with it. Build a leaderboard site, a Grafana dashboard, a quest plugin, an MMO economy tracker — the mod
doesn't care.
Links
- Full documentation, config reference, troubleshooting: GitHub
- Issues / feature requests: GitHub Issues
- License: CC0 1.0 — public domain.
Available Versions
How to Install mcstats on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "mcstats". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
mcstats server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is mcstats compatible with fabric?
mcstats officially supports fabric for Minecraft 26.1.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with mcstats – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if mcstats consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install mcstats with just one click on your server.