Links
Tags
Creators
Details
1.0.0
Compatibility
Changes
AFKGuard ā Initial Release (v1.0.0) š Core Features
Accurate AFK detection
Distinguishes between ACTIVE, IDLE, and AFK states
Configurable idle and AFK thresholds
Activity resets on movement, rotation, interaction, chat, commands, and inventory use
Safe AFK movement handling
Players are no longer penalized if pushed by mobs or other players while AFK
Small external movement is tolerated
AFK breaks only on intentional movement or rotation
Prevents AFK farming being ruined by mobs or collisions
š Reward System
Configurable AFK rewards via console commands
Supports global, world, and region-based rewards
Rewards are time-based only (no reward on AFK entry)
Reward timers reset correctly on AFK exit or activity
Hot-reload support via /afkguard reload
š§ World & Region Rules
World-based AFK allow/deny rules
WorldGuard region support (via reflection, no hard dependency)
Whitelist or blacklist rule modes
Region rules correctly override world rules
š„ļø UI Options
BossBar countdown UI
Fully configurable text and color
Smooth, accurate countdown synced to reward timing
Subtitle countdown UI
Bedrock-friendly
Non-flickering, once-per-second updates
Clears instantly when leaving AFK
UI system designed for easy expansion
š Stability & Performance
Per-player cleanup on quit (no task or UI leaks)
Safe reload handling for all systems
Thread-safe data structures
No forced teleports or player control
No intrusive anti-cheat behavior
š§ Design Philosophy
No diminishing rewards
No macro detection (intentionally avoided)
Trust-based AFK detection with strong safeguards
Lightweight, predictable, and server-friendly
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:e3gRQZpq:5hLhr3K4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:e3gRQZpq:5hLhr3K4"
}

