Safe AFK
by ozozorz
Safe AFK is a client-side Fabric utility that keeps a player's session safer while idle on servers such as DonutSMP and 2B2T.
What it does
The mod targets AFK farming on servers where other players may approach an idle character. When a player who is not on the whitelist approaches within range, the mod sends a warning to the local player, and it can optionally disconnect them automatically. It can also open the pause menu automatically when the game window loses focus, so the screen stops showing the game.
Two whitelists are kept independently, and both accept player names, dashed UUIDs and UUIDs without dashes. Features are configured through Mod Menu, whose configuration screen is available in English and Simplified Chinese. Mod Menu is optional, but without it the settings are not reachable from the game.
Safe AFK runs on Fabric for 26.1.2 and 26.2, with the latest file 3.1.1+26.2 for 26.2, first published and last updated on 2026-07-15. Only the client needs it, and the mod is released under the MIT License as open source.
Key features
Nearby player warnings
The client alerts the player when a non-whitelisted player enters the surrounding area.
Automatic disconnection
An optional setting logs the player out once a non-whitelisted player comes too close.
Pause on focus loss
The pause menu opens automatically when the game window loses focus, so the idle screen is hidden.
Independent whitelists
Two player whitelists are kept separately, and both accept names, dashed UUIDs or UUIDs without dashes.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
Use cases
Idle farming on public servers
Players who leave a character running on a farming server can receive a warning or be disconnected when someone nearby is not on their list.
Who it’s for: Players who run AFK farms on public survival servers, such as DonutSMP and 2B2T, and want an early warning when other players approach.
How it compares
DonutQOL is client-side only, runs on Fabric for 26.1 – 26.2, and is released under All rights reserved, so its source is not open. Auto AFK is client and server, targets 1.19.2 – 1.21.1 under a Creative Commons Attribution No Derivatives 4.0 license, and is not open source. AFK-Analyzer is client-side only on 1.20.1 – 1.21.4 under the MIT License, which is not the same version range as Safe AFK.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Safe AFK | Fabric | 26.1.2 – 26.2 | Client-side only | 2026-07-15 |
| DonutQOL | Fabric | 26.1 – 26.2 | Client-side only | 2026-07-09 |
| Auto AFK | Fabric | 1.19.2 – 1.21.1 | Client and server | 2025-02-08 |
| AFK-Analyzer | Fabric | 1.20.1 – 1.21.4 | Client-side only | 2026-06-04 |
Questions
Does Safe AFK need Mod Menu?
Does Safe AFK have to be installed on the server?
Which Minecraft versions does Safe AFK support?
In the catalog
Safe AFK is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
safe-afk is a client-only Fabric mod for Minecraft Java Edition 26.2. It provides nearby-player warnings, optional automatic disconnection when a non-whitelisted player comes too close, and prevents the pause menu from opening automatically when the game window loses focus. All features can be configured through…
Official listing
- Modrinth page
- modrinth.com/mod/safe-afk
- Owner
- ozozorz
- Published
- 2026-07-15
- Updated on Modrinth
- 2026-07-15
- Facts verified
- 2026-10-15
