All versions
4.4-rls
Release
Optimizations7 months ago 63
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.x
Platforms
Bukkit
Folia
Paper
Purpur
Spigot
Changes
Added
- Batch processing for offline player data with configurable
BATCH_SIZE(default: 100) to prevent memory overflow when handling large datasets - Centralized constant declarations (
SAVE_DELAY,MAX_MAPPINGS,BATCH_SIZE,LOCK_TIMEOUT,SHUTDOWN_TIMEOUT) for better maintainability
Fixed
- Potential performance issue where offline player data was processed without pagination, causing high memory usage
- Redundant
BatchResultinner class replaced with local variables for cleaner code structure
Changed
- Optimized
processOfflinePlayersDatamethod to process keys in batches instead of all at once - Simplified
handleBatchPlayersmethod by removing unnecessaryBatchResultwrapper class - Streamlined code formatting: compressed multi-line conditionals into single lines where appropriate
- Improved code readability with consistent constant usage across all methods
Removed
- Redundant
BatchResultinner class (functionality replaced with local variables) - Hardcoded thread pool size value (now using
THREAD_POOL_SIZEconstant)
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:J0B80Y0Q:zvA16dfz"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:J0B80Y0Q:zvA16dfz"
}

