Back to mods
Auto AFK project artwork

Modrinth · Minecraft mod

Auto AFK

Mod to turn off damage during afk

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto AFK release should I use?

Updated 1 year ago
Latest stable file 2.3.1-skeleton
Game version 1.21, 1.21.1
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Auto AFK 2.3.1-skeleton
required
Matching file found Matched file: 0.116.17+1.21.1

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.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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
Shows an illustrated sun in light mode and a moon with stars in dark mode.

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.

7 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto AFK versions and loaders

15 of 15 releases match

Looking for an older file? The official Modrinth project page is in Resources.