CurseForge · Minecraft mod
AFK Logout
Auto-disconnects you if you take damage while AFK. Customizable AFK delay, heart threshold and hotkey.
Quick answer
Which AFK Logout release should I use?
AFK Logout afk-logout-1.0.0.jar targets 26.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is AFK Logout required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does AFK Logout afk-logout-1.0.0.jar need?
afk-logout-1.0.0.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add AFK Logout without breaking your instance.
Built for AFK Logout afk-logout-1.0.0.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use afk-logout-1.0.0.jar. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside afk-logout-1.0.0.jar. It opens that exact file at the source.
About this project
What does AFK Logout add?
AFK Logout
This mod automatically disconnects you if you take damage while you're AFK, so you don't die while away from the game.
How it works
AFK detection: the timer starts when you stop doing anything. It resets when you move, press a key, attack, use an item, move the camera or open a screen (inventory, chat, etc.).
Disconnect: while AFK mode is active, any damage that leaves you at or below your chosen number of hearts disconnects you immediately.
Moving cancels it: as soon as you do anything, AFK mode turns off.
Works with any damage: fire, lava, drowning, falling, mobs, players, poison, starvation and more. Damage absorbed by golden hearts doesn't count.
Settings
AFK delay: 1-3600 seconds (default is 30)
Disconnect at hearts: 1-20 (default is 20, which means any damage).
Example: with 3, you're disconnected only if damage leaves you at 3 hearts or fewer.
On/Off hotkey: default K, rebindable
Open the settings through Mod Menu → AFK Logout.
Settings save automatically.
Notes
Client-side only, works in singleplayer and on servers. It reacts after the damage happens, so it can't stop a single hit that kills you from full health.
Project description from CurseForge.
Pick your setup
AFK Logout by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AFK Logout versions and loaders
afk-logout-1.0.0.jar
2 Oct 2026
Looking for an older file? The official CurseForge project page is in Resources.