Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Auto AFK

Auto AFK

Mod to turn off damage during afk

1,527
11
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20–1.20.1
1.19.2–1.19.4

Platforms

Fabric

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues Join Discord server

Creators

MatterMoulder
MatterMoulder Owner

Details

Licensed CC-BY-ND-4.0
Published last year
Updated 4 months ago
DescriptionGalleryChangelogVersions

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.

Modrinth is open source.

main@016c3d7

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.