
Modrinth · Minecraft mod
Auto AFK
Mod to turn off damage during afk
Quick answer
Which Auto AFK release should I use?
Auto AFK 2.3.1-skeleton targets 1.21, 1.21.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is Auto AFK required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Auto AFK 2.3.1-skeleton need?
2.3.1-skeleton. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Auto AFK without breaking your instance.
Built for Auto AFK 2.3.1-skeleton. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.3.1-skeleton. It targets 1.21, 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.3.1-skeleton. It opens that exact file at the source.
About this project
What does Auto AFK add?
Mod to turn off damage during afk.
The Fabric version requires the Fabric API.
To change the config, you need to follow the path .minecraft/config/autoafk/config.json(default is 60 sec)
OR
If the mod version is 2.2.0 and higher, then you can configure it through the commands:
Commands
/afk (Switch to afk mode)
/afk setdelay {time} (Set delay to switch to afk mode)
/afk setsuffocating {true/false} (Set up choke protection) (Deprecated)
/afk setcollide {true/false} (Set up collision with mobs) (In versions higher than 1.2.4)
/afk setmobsaggression {true/false} (Set up protection against mob aggression) (In versions higher than 1.2.4)
- TRUE - Enable protection
- FALSE - Disable protection

Project description from Modrinth.
Pick your setup
Auto AFK by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader build1.21
1 loader build1.20.1
1 loader build1.20
1 loader build1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Auto AFK versions and loaders
2.3.1-skeleton
autoafk-2.3.1-skeleton+1.21.1.jar
8 Feb 2025
2.2.1-cake
autoafk-2.2.1-cake.jar
16 Jan 2025
2.2.0
autoafk-2.2.0.jar
16 Jan 2025
1.2.5
autoafk-1.2.5+1.20.1.jar
23 Sept 2023
1.2.5
autoafk-1.2.5+1.20.jar
23 Sept 2023
1.2.5
autoafk-1.2.5+1.19.2.jar
23 Sept 2023
1.2.4
autoafk-1.2.4+1.19.3.jar
1 Aug 2023
1.2.4
autoafk-1.2.4+1.19.4.jar
1 Aug 2023
1.2.4
autoafk-1.2.4+1.20.1.jar
1 Aug 2023
1.2.4
autoafk-1.2.4-1.20.jar
1 Aug 2023
1.2.4
autoafk-1.2.4.jar
1 Aug 2023
1.1.0
autoafk-1.1.0.jar
31 Jul 2023
Looking for an older file? The official Modrinth project page is in Resources.