Set Up Anti-AFK to Keep Your Character Active While Away
Enable the Mod
Open your Minecraft settings and locate the keybind menu. Find the AntiAfk Mod keybind (check your controls settings if unsure of the default key) and assign it to a key you'll remember. Once bound, press this key in-game to toggle the mod on or off.
Configure Active Behaviors
When enabled, the mod will automatically perform actions to simulate player activity. The default configuration includes periodic jumping, hand swinging, and camera movement—all designed to prevent the server from detecting you as AFK.
Customize Intervals
Access the mod's configuration file or in-game settings menu to adjust how often each action triggers. You can set the interval between automatic jumps, hand swings, and camera movements separately. Shorter intervals mean more frequent activity; longer intervals use less resources but may be less effective on strict servers.
Test Before Leaving
Enable the mod, then step away briefly to confirm your character is moving and acting. Watch for jumping, arm swinging, and subtle head movements. Once satisfied, you can safely leave your character unattended.