promotional bannermobile promotional banner

Anti AFK

Prevents automatic AFK kicks with subtle movement.

File Details

Anti AFK - v1.3.0

  • R
  • Aug 1, 2025
  • 1.89 MB
  • 147
  • 1.20.4
  • Fabric

File Name

antiafkmod-1.3.0.jar

Supported Versions

  • 1.20.4

Curse Maven Snippet

Fabric

modImplementation "curse.maven:anti-afk-1307236:6836521"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

🛠️ Changelog – Version 1.3.0

✅ Major New Features

  • Teleportation detection:

    • The mod now tracks your player's position to detect teleport events.

    • Two new options allow you to choose what happens when a teleport is detected:

      • disconnectOnTeleport: instantly disconnects from the server.

      • disableAntiAfkOnTeleport: disables anti-AFK mode (but stays connected).

    • Useful for avoiding suspicious behavior when a moderator force-teleports players (e.g. to spawn).

🔧 Improvements

  • Anti-AFK reset after toggle:

    • When enabling the anti-AFK again, the last known position is updated to avoid false teleport detection.

🐛 Fixes

  • Fixed an issue where reactivating anti-AFK after moving caused false teleport triggers.

💡 Reminder: You can configure all options via ModMenu or directly edit config/antiafkmod.json.