promotional bannermobile promotional banner

Anti AFK

Prevents automatic AFK kicks with subtle movement.
Back to Files

Anti AFK - v1.1.0

File nameantiafkmod-1.1.0.jar
Uploader
GiabibiGiabibi
Uploaded
Jul 19, 2025
Downloads
15
Size
1.9 MB
Mod Loaders
Fabric
File ID
6788079
Type
R
Release
Supported game versions
  • 1.20.4

Curse Maven Snippet

Fabric

modImplementation "curse.maven:anti-afk-1307236:6788079"

Learn more about Curse Maven

What's new

🛠️ Changelog – Version 1.1.0

✅ Major New Features

  • 🔄 Random AFK interval support:

    • Replaced the single intervalMinutes value with minIntervalMinutes and maxIntervalMinutes (floats).
    • The mod now picks a random interval between those two values to trigger AFK actions, making behavior less predictable and more human-like.
  • 👁️ Improved head movement:

    • Head rotation is now smooth and split into multiple steps (headMovementSteps and headMovementDelayMs).
    • Yaw and pitch rotations are calculated per step, creating more natural head movement.
  • ⚙️ New config UI enhancements (ModMenu):

    • Increased the limits for maxYawStrength (up to 90°) and maxPitchStrength (up to 60°).

    • Added helpful tooltips for each option.

    • Split config options into categories for better organization:

      • General: core toggles, intervals, activation.
      • Movement: distance and movement intensity.
      • Look: head movement configuration.

🔄 Behavioral Changes

  • ⏱️ AFK timer now restarts when the mod is toggled or when settings are updated.
  • 💬 Toggle messages ("Anti-AFK mode ON/OFF") are now colored (green/red) in the chat.

🐛 Fixes

  • Config changes not applying in-game via ModMenu – fixed (saveConfig() + restartAfkTimer() are now called automatically).
  • Removed outdated intervalMinutes field.

This mod has no additional files