ModsFinder

AFK Guard

by HLVM

When a player steps away from the keyboard, AFK Guard can disconnect them automatically once they take damage, so an idle character is not hurt while the game runs unattended.

FabricClient-side onlyCreative Commons Attribution Non Commercial 4.01.21.11 – 26.3

What it does

After a configurable period of inactivity, which defaults to 30 seconds, the guard switches on by itself. While it is active, taking damage triggers an automatic disconnect from the server. The delay and the status messages shown before and after a disconnect can be customized, and damage sources can be chosen as triggers.

AFK Guard is a Fabric mod for version 26.3 and the 1.21.11 – 26.3 range, where it has five release versions. Only the client needs it, so servers run without it and players install it alone. The code is shared under the Creative Commons Attribution Non Commercial 4.0 license, which means the project is not open source. Source code and an issue tracker are publicly linked.

Key features

  1. Automatic guard after inactivity

    The guard enables itself after a configurable period without input, defaulting to 30 seconds.

  2. Disconnect on damage

    While the guard is active, taking damage from a source causes the client to disconnect automatically.

  3. Ignore player damage

    An option exempts damage dealt by other players, which keeps the guard from triggering during combat.

  4. Toggle the AFK timer

    The automatic AFK timer can be enabled or disabled, so the guard only runs when the player wants it.

Compatibility

Latest build for each game version and loader.

26.31.1.0-beta.1
26.21.1.0-beta.1
26.1.11.1.0-beta.1
26.11.1.0-beta.1
1.21.111.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does AFK Guard need to be installed on the server?

No. Only the player's game needs it, and servers run without it.

Which loader does AFK Guard use?

AFK Guard is published for Fabric only, with files for 1.21.11, 26.1, 26.1.1, 26.2 and 26.3.

Can the guard be turned off or tuned?

Yes. The AFK timer can be enabled or disabled, and the inactivity delay and status messages can be customized.

In the catalog

AFK Guard is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.

More from HLVM

All projects

Similar mods

What the author says

A client-side Fabric mod that protects you while you're AFK by automatically disconnecting if you take damage. AFK in peace.
HLVM, on the Modrinth page

Official listing

Owner
HLVM
Published
2026-02-05
Updated on Modrinth
2026-09-22
Facts verified
2026-10-15

Tags