Tags
Creators
Details
2.4.1
Compatibility
Changes
AntiAFKPlus v2.4.1 Changelog
š Critical Bug Fix
Issue Resolved
Problem: Players were being kicked/teleported repeatedly every 5 seconds instead of only once after reaching the AFK timeout threshold.
Root Cause: The AFK check task was calling the kick/teleport action repeatedly during each check interval (every 5 seconds) instead of executing it only once per AFK session.
Solution Implemented
š§ Technical Fix
- Added action state tracking to prevent repeated kick/teleport actions for the same AFK session
- Implemented safety delay to prevent immediate actions upon AFK detection
- Added automatic cleanup of action state when players become active again
- Maintained full compatibility with all existing features and API
ā Result
- Players are now kicked/teleported only once after reaching their AFK timeout
- AFK timeout configurations (like
default-afk-time: 600) now work correctly - All other plugin functionality remains unchanged and fully operational
Version: 2.4.1
Release Date: 2025-09-06
Type: Critical Bug Fix
Compatibility: Minecraft 1.16 - 1.21.8
Java: 17+
Upgrade Notes
- No configuration changes required
- Fully backward compatible
- Simply replace the JAR file and restart your server
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:KzKQNHUi"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:b4AUi0VN:KzKQNHUi"
}

