All versions
1.1.0
Release
Protectcord 1.1.07 months ago 29
Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.8–1.8.9
Platform
Velocity
Changes
Version: 1.1.0 Release Type: Critical Bug Fix
Critical Fixes - bStats Metrics Collection
This release fixes critical issues with bStats metrics collection that prevented accurate installation tracking.
Fixed:
- bStats Data Collection - Metrics initialization now occurs BEFORE API key validation
- Previously, bStats was initialized after API key validation
- When servers had invalid/missing API keys, the plugin would disable itself before bStats initialized
- Result: Missing installation data on bStats dashboard
- Fix: Moved bStats initialization to occur before API validation
- Impact: All installations now tracked, regardless of configuration status
Code Quality Improvements:
- Error Handling - Added try-catch around bStats initialization to prevent crashes
- Metrics Storage - Changed from local variable to class field for better lifecycle management
- Logging - Added informative logging for bStats initialization success/failure
Technical Details:
- bStats initialization moved from line 67-69 to line 39-46
- Added
private Metrics metrics;field for proper instance management - All metrics operations now wrapped in error handling
Compatibility:
- Fully backward compatible with v1.0.8
- No configuration changes required
- No breaking changes
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:y05wfnBZ:JyuDx7rN"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:y05wfnBZ:JyuDx7rN"
}

