AFK Guard is a small FishModLoader/RustedIronCore mod for MITE R196. It protects truly idle players from dying to starvation while AFK.
- After a player has no activity for a configurable delay, starvation protection becomes active.
- Starvation damage is clamped so it cannot reduce the AFK player below a configurable minimum health value.
- Only starvation damage is protected. Combat, fall, fire, drowning, poison, and other damage sources are untouched.
- Player activity resets the AFK timer, including movement, looking around, swinging, using items, digging, attacking, right-click actions, chatting, hotbar switching, and active fishing.
- Optional ManyLib integration. When ManyLib is installed, the config appears in the ManyLib config menu and changes apply immediately.
- Without ManyLib, the same JSON config file can be edited directly and is hot-loaded in game.
- MITE R196 / Minecraft 1.6.4-MITE
- FishModLoader 3.4.2 or newer
- RustedIronCore
- ManyLib is optional
The config file is generated at:
config/afk_guard.json
Default values:
{
"protection_delay_seconds": {
"value": 300
},
"minimum_starvation_health": {
"value": 3.0
}
}protection_delay_seconds controls how many seconds of no player activity are required before protection starts.
minimum_starvation_health controls the lowest health value starvation damage may reduce an AFK player to. 3.0 equals 1.5 hearts.
The generated JSON includes bilingual Chinese and English comment fields. Changes to the file are reloaded during gameplay, usually within about 1 second.
gradlew.bat buildThe runtime jar is created in:
build/libs/afk_guard-1.0.0.jar