Tags
Creators
Details
Licensed ARR
Published last year
Updated 7 months ago
All versions
2.8
Release
API Overhaullast year 37
Compatibility
Minecraft: Java Edition
1.21β1.21.10
1.20.x
1.19.x
1.18.x
1.17.x
1.16.5
Platforms
Bukkit
Folia
Paper
Purpur
Spigot
Changes
AntiAFKPlus v2.8 β API Overhaul
Release type: Feature & API Upgrade Compatibility: Minecraft 1.16 β 1.21.10 | Java 17+
What's New
π Real Data Everywhere
- Activity, history, and statistics endpoints now return live server data.
getActivityInfo,getActivityStatistics,getAFKStatistics,getPlayerStatistics, andgetAFKHistoryconsume the internal tracking system (no more placeholders).
π¦ Reliable Events
- AFK warnings and pattern detections are always delivered to the public API.
- Listeners (
registerWarningListener,registerPatternDetectionListener) can modify messages or cancel actions before the plugin kicks/teleports players.
πΊοΈ Zone Awareness
- New helpers (
isAFKAllowedAt,getAFKZoneAt) resolvezone-managementsettings and WorldGuard regions on the fly. - Worlds can be toggled at runtime with
setAFKDetectionEnabled, persisting the change toconfig.yml.
βοΈ Ease of Use
- README/API docs include updated examples for the new endpoints (activity, zones, stats).
- API version bumped to
2.8, ready for your integrations.
Upgrade Notes
- Replace the old JAR with
AntiAFKPlus v2.8. - Update your dependency to
2.8(Maven/Gradle snippet in the README). - Review the new API examples and adjust your listeners if you want to react to warnings/patterns.
No configuration changes are required. Everything works with your existing
config.yml/messages.yml.
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:b4AUi0VN:DJqCwt0Q"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:b4AUi0VN:DJqCwt0Q"
}

