
Advanced AFK management mod for Minecraft Fabric with anti-kick protection, auto-reconnect, safety disconnect, and hunger management
An advanced utility mod for Minecraft Fabric that manages AFK (Away From Keyboard) states with intelligent automation and safety features.
Settings Keybind:
K
Simulates natural player activity to prevent server kicks:
Smart reconnection system for uninterrupted gameplay:
Protect your character while away:
Intelligent hunger management:
Download the mod from Modrinth and place the .jar file into your .minecraft/mods folder.
The mod features a sidebar-based configuration UI with four main categories:
Settings are saved to:
.minecraft/config/afkutility.json
Example configuration:
{
"antiAfk": {
"autoJump": true,
"autoSwing": true,
"autoSneak": false,
"sneakTime": 2.0,
"strafeMode": false,
"spinMode": "OFF",
"chatMessages": false,
"messageInterval": 5.0,
"customMessage": "I am not AFK"
},
"autoReconnect": {
"enabled": true,
"delay": 5
},
"autoLog": {
"enabled": true,
"healthThreshold": 4.0,
"onDamage": false,
"disableReconnect": true
},
"autoEat": {
"enabled": true,
"blacklist": ["minecraft:rotten_flesh", "minecraft:spider_eye"]
}
}
./gradlew build
Output: build/libs/afk-utility-1.0.0.jar
src/client/java/dev/afk/utility/
├── AFKUtilityClient.java # Client entrypoint
├── config/
│ └── ModConfig.java # Configuration management
├── features/
│ ├── AntiAFK.java # Anti-AFK implementations
│ ├── AutoReconnect.java # Reconnection handler
│ ├── AutoLog.java # Safety disconnect
│ └── AutoEat.java # Hunger management
├── mixin/client/
│ ├── DisconnectScreenMixin.java # UI integration
│ └── ClientPlayerMixin.java # Player event hooks
└── screen/
└── ConfigScreen.java # Sidebar configuration UI
MIT