Tags
Creators
Details
Licensed MIT
Published 11 months ago
Updated 2 months ago
All versions
2.3.2
Release
PerfomanceAnalyzer 2.3.26 months ago 24
Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Paper
Purpur
Spigot
Changes
[2.3.2] - 2026-04-11
Fixed
- Race Condition in AlertManager: Cooldown check now uses atomic
compareAndSet()instead of separateget()/set(), preventing duplicate alerts under concurrent access - Race Condition in TickSampler: Tick sampling now uses
idx.getAndUpdate()for atomic index read-modify-write, preventing data corruption in the nanos array - Connection Pool Leak in DatabaseManager:
shutdown()now uses try-finally to ensureHikariDataSource.close()is always called, even ifflushBatchSafe()throws an exception - NullPointerException in GUIs: Added null-checks for
getItemMeta()in all GUI classes (PerformanceGUI, AntiCheatGUI, LagAnalysisGUI, PerformanceDropsGUI) — follows the safe pattern already used in ConfigGUI - Thread-Safety in ViolationTracker:
resetViolations(UUID, ViolationType)now usescomputeIfPresent()to prevent race condition where the PlayerViolations object could be removed betweenget()andcounts.remove() - MovementChecker Violation Reset Too Aggressive: Consecutive violation counters now only reset when speed is significantly below threshold (70%), preventing a single valid move from immediately washing out violations
- XRay Y-Level Thresholds Too Aggressive: Default thresholds raised from 75%/65%/55% to 85%/75%/65% to reduce false positives from legitimate caving
- UpdateChecker Missing Field Validation: Now checks for
version_numberfield existence in Modrinth API response before accessing it - Inconsistent Activity Weights:
PlayerActivityTracker.getTotalActivity()now uses centralizedConstants.ACTIVITY_WEIGHT_*values instead of hardcoded numbers
Added
- Configurable XRay Y-Level Thresholds (
config.yml)anticheat.xray_ylevel_high(default: 0.85) — percentage for maximum suspicionanticheat.xray_ylevel_medium(default: 0.75) — percentage for moderate suspicionanticheat.xray_ylevel_low(default: 0.65) — percentage for low suspicion- Config validation ensures values are 0.0-1.0 and properly ordered (low < medium < high)
- Auto-migration adds defaults for existing configs
Changed
XRayDetector.analyzeYLevelPattern()reads thresholds from config instead of using hardcoded values
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:xcpph8Xo:1fclMVbr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xcpph8Xo:1fclMVbr"
}

