AFK Guardian
by FedShved
AFK Guardian lets a player leave the PC mid-game without losing the character to a mob, lava or starvation while away from the keyboard.
What it does
When keyboard and mouse input stops for a set time, monitoring starts. If the character is hurt, starving or in danger, the mod can take a screenshot and send it to Telegram, then disconnect the player from the server before the death screen appears. Status updates on health, hunger and coordinates can be scheduled after AFK begins, and a hunger alert warns the player when food runs low and the server is about to drop them.
Telegram is an optional layer on top of the safety net. A bot token can be left empty, in which case the auto-disconnect on damage still works without any remote control. With a token set, a player can check status, pull a live screenshot or disconnect from a phone anywhere. The mod is client-side only and runs in NeoForge for Minecraft 1.21.1, under the MIT License, and the code is open source.
Key features
AFK detection
Monitoring begins once keyboard and mouse input has stopped for a configurable delay.
Auto-disconnect on damage
The player is disconnected when health falls below a threshold or a danger is detected, before the character dies.
Telegram screenshots
A screenshot of the game is sent to a Telegram chat when a danger event happens, if the bot is configured.
Scheduled status updates
Health, hunger and coordinates are reported on a set interval, which can be turned off.
In-game configuration
A config screen and config file hold the AFK delay, health threshold, alert level and update interval.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who run survival worlds on a client and want to leave the game unattended. The mod does not need to be installed on the server.
How it compares
Unplugged AFK - NeoForge is open source under the GNU Lesser General Public License v3.0 or later, runs client and server for 1.21.1 – 26.3, and needs both sides installed. CraftoGram is open source under the MIT License, client and server, for 1.21.1 only. AFK Guardian is client-side only, so servers need nothing installed.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| AFK Guardian | NeoForge | 1.21.1 | Client-side only | 2026-06-27 |
| Unplugged AFK - NeoForge | NeoForge | 1.21.1 – 26.3 | Client and server | 2026-09-28 |
| CraftoGram | NeoForge | 1.21.1 | Client and server | 2026-05-01 |
Questions
Does AFK Guardian have to be installed on the server?
Can it work without Telegram?
Which loader and game version does it target?
Is AFK Guardian open source?
In the catalog
AFK Guardian is one of 8,016 Management mods on ModsFinder, and one of 2,689 Management mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
Similar mods
What the author says
AFK Guardian lets you walk away from your PC mid-game without coming back to a death screen. The moment something starts hurting your character while you're AFK, it grabs a screenshot, disconnects you from the server, and sends the screenshot straight to your phone over Telegram — so a creeper, another player, lava…
Official listing
- Modrinth page
- modrinth.com/mod/afk_guardian
- Owner
- FedShved
- Published
- 2026-06-22
- Updated on Modrinth
- 2026-06-27
- Facts verified
- 2026-10-15
