AutoLeaver
by A-TEAM
AutoLeaver is a Fabric client mod that disconnects a player from the server when a danger condition appears, such as a Totem of Undying being used up or health dropping to a critical level.
What it does
When the totem in the offhand is popped or removed, the client leaves the game at once, which keeps a player from dying to an unexpected attack in hardcore survival or PvP. A health threshold works the same way: once health falls to a set level, the client disconnects. The default threshold is 4 hearts, or 8 HP, and it can be changed in the settings.
An AFK mode covers the case where a player steps away from the keyboard. Once the character has stood still for a few seconds, the protection turns on, so a mob hit, a push or a broken totem makes the client disconnect. Movement turns AFK protection off again, so ordinary play does not trigger it. The features are grouped in a clean interface built with Cloth Config and Mod Menu, and the settings screen is reachable from the game's mod menu.
AutoLeaver runs on the client only, so only the player installing it needs it and the server does not. It is released under the MIT License and is not open source. Files exist for 12 release versions, 1.21 – 1.21.11, with AutoLeaver-1.0 for 1.21.11 as the latest file, published on 2026-08-01.
Key features
Totem protection
Leaves the game immediately when the offhand totem is popped or removed.
Health threshold
Disconnects the client when health drops to a configurable level, 4 hearts by default.
AFK mode
Activates after a few seconds of standing still, then disconnects the client on a mob hit, a push or a broken totem.
Smart movement detection
Turns AFK protection off as soon as the player starts moving, so normal play does not set it off.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players of hardcore survival worlds and PvP servers who want a fast exit when their character is in danger. Only the client side is needed.
How it compares
AutoLeaver is a client-side only Fabric mod, released under the MIT License and not open source, with files for 1.21.11. AfkDisconnect is also client-side only and built for 1.21.11, but its license is All rights reserved and its code is not open source. Totem Offhand Warning is client-side only and under the MIT License for 1.21.11, but it warns about the totem rather than disconnecting. Leave Me Alone is client-side only, released under the MIT License and built for 1.21.11, and it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| AutoLeaver | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-08-01 |
| AfkDisconnect | Fabric | 1.21.11 | Client-side only | 2026-01-30 |
| Totem Offhand Warning | Fabric | 1.21.11 | Client-side only | 2026-05-27 |
| Leave Me Alone | Fabric | 1.21.11 | Client-side only | 2026-04-06 |
Questions
Does AutoLeaver need to be installed on the server?
Which Fabric versions does AutoLeaver support?
Can the health threshold be changed?
In the catalog
AutoLeaver is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from A-TEAM
Similar mods
What the author says
A lightweight, highly customizable client-side Fabric mod designed for hardcore survival and PvP. Auto Leave automatically disconnects you from the server when you are in danger, preventing unexpected deaths. 🛡️ Totem Protection: Instantly leaves the game if your Totem of Undying in the offhand is popped or removed.
Official listing
- Modrinth page
- modrinth.com/mod/autoleaver
- Owner
- A-TEAM
- Published
- 2026-08-01
- Updated on Modrinth
- 2026-08-01
- Facts verified
- 2026-10-15
