Tags
Creators
Details
Licensed ARR
Published last year
Updated 10 months ago
All versions
2.0
Release
StatsMod11 months ago 112
Compatibility
Minecraft: Java Edition
1.21.6–1.21.8
Platform
Fabric
Supported environments
Client-side
Server-side
Required content
Any compatible version
Changes
StatsMod Update - Performance, Scalability & Vanilla Sync
This major update addresses critical performance bottlenecks, improves stat tracking accuracy, and introduces seamless integration with existing vanilla statistics.
✨ New Features
- Vanilla Stats Import: Added a seamless "run-once" synchronizer. When players join, the mod now automatically pulls their existing vanilla statistics (playtime, blocks mined, mobs killed, etc.) and integrates them into StatsMod. This is perfect for adding the mod to existing servers!
- Dynamic Configuration: Removed hardcoded logic for genres. You can now define custom genres with their own stat prefixes in
genres.ymlwithout code modifications.
🚀 Performance & Scalability
- Optimized Database Leaderboards: The
/topcommand now uses efficient SQL queries for sorting instead of loading every player's data into memory. This fixes scalability issues on large servers. - Distance Tracking Optimization: Movement stat calculations are now throttled to run every 10 ticks (0.5s) and use optimized math, significantly reducing CPU usage during tick events.
🐛 Bug Fixes & Improvements
- Accurate Item Pickup: Fixed unreliable item pickup tracking. The mod now correctly calculates the exact amount of items picked up by intercepting the inventory insertion logic.
- Damage Tracking: Fixed an issue where small damage sources (like poison or starvation) were rounded down to 0. Damage is now rounded up to ensure all hits are registered.
- Mod Compatibility: Improved furnace tracking to check for slot types rather than hardcoded slot IDs, improving compatibility with modded furnaces.
Optional dependencies
Any compatible version
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:HQ1xOOPI:D4A3M75Z"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HQ1xOOPI:D4A3M75Z"
}

