Auto AFK has been archived. Auto AFK will not receive any further updates unless the author decides to unarchive the project.
Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20–1.20.1
1.19.2–1.19.4
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed CC-BY-ND-4.0
Published 3 years ago
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



