Description
Gallery
Changelog
Versions
AntiAfk Mod
The AntiAFK mod is a very lightweight fabric mod that prevents players from going AFK.
How to set up
- Open Minecraft and navigate to Settings > Controls > Key Bindings or open the gui and toggle it from there.
- Search for AntiAfk and set a keybind to toggle the mod on and off.
- Use the assigned keybind to toggle the mod on. The commands and features will only work when the mod is toggled on.
Features
Player Actions
- Auto Jump — Automatically jumps at configurable intervals
- Sneak Mode — Automatically toggles sneaking (note: you wont be able sneak while active)
- Swing Hand — Swings the player's hand.
- Random Pause — Randomly pauses actions.
Movement & Behavior
- Player Movement — Moves the player in a repeating WASD cycle
- Mouse Movement — Randomly moves the camera with configurable range
- Auto Spin — Rotates the player 360° with configurable speed
- Random Interval — Randomizes the delay between timed actions (min/max configurable)
Inventory & Eating
- Auto Eat — Automatically eats food from the hotbar when hunger drops below a configurable threshold
- Random Hotbar — Randomly switches between hotbar slots at configurable intervals
- Offhand Swap — Swaps items between main hand and offhand, holds briefly, then swaps back
- Open Inventory — Randomly opens and closes the inventory for a configurable duration
Advanced Timing
- Action Delay — Global delay between timed actions (seconds)
- Min / Max Secs — When Random Interval is on, sets the range of random delays
Chat Messages
- Auto Chat Messages — Sends a random message at set intervals
- Messages are semicolon-separated (e.g.
Hey!;Still here!;Just farming!) - Chat Min / Max Secs — Controls how often a message is sent
Reconnect & Disconnect
- Auto Reconnect — Automatically reconnects to the last server after being disconnected
- Reconnect Delay — How many seconds to wait before reconnecting
- Auto Disconnect — Disconnects from the server if any player enters a configurable radius around you
- Disconnect Radius — The block radius to disconnect at
- Ignored Players — Semicolon-separated list of player names to ignore for the disconnect check (e.g.
Steve;Alex;Notch)Feature Timing
- Eat Below HungerLevel — Hunger level (out of 20) at which auto-eat triggers
- Hotbar Min / Max Secs — How often the hotbar slot switches
- Offhand Min / Max Secs — How often the offhand swap triggers
- Offhand Hold Secs — How long the item stays in offhand before swapping back
- Inv Min / Max Secs — How often the inventory opens
- Inv Hold Secs — How long the inventory stays open
- Reconnect Delay — How long to wait before auto-reconnecting after a disconnect
Gui for versions above 1.2.1
- First u will need to set a keybind in the settings for the gui then open it
- You will also need a bind to toggle the mod if the mod is not enabled by the bind it won't work
Commands for versions under 1.2.0
/antiafk interval set <seconds>: Set the jump interval in seconds you can also use Decimals (like 1.2 , 1.3 etc)./antiafk interval random <minSeconds> <maxSeconds>: to set a random interval between set seconds like 1 and 7 seconds./antiafk swing: Toggle swinging action./antiafk jump: Toggle auto-jump./antiafk spin: Toggle auto-spin./antiafk spin <seconds>: To set the speed which the character will spin/antiafk sneak: Toggle auto-sneak./antiafk mousemovement <horizontalMultiplier> <verticalMultiplier>: Toggle mousemovement that will move the player camera randomly.use this to disable/enable :"/antiafk mousemovement"/antiafk movement: to move player character left and right.Contributing
Feel free to contribute to AntiAfk by opening issues for bug fixes or suggestions, or by submitting pull requests with improvements.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 1mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 4mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
[1.2.9,26.3] AntiAfk 1.2.9,26.3
by CIOCOLATA47 on Sep 16, 2026
Download
- Update 26.3
[1.2.9,26.2] AntiAfk 1.2.9,26.2
by CIOCOLATA47 on Sep 03, 2026
Download
- Added hud
- Auto logout
[1.2.8,26.2] AntiAfk 1.2.8,26.2
by CIOCOLATA47 on Jun 19, 2026
Download
- Update to 26.2
[1.2.7,26.1-26.1.2] AntiAfk 1.2.7,26.1-26.1.2
by CIOCOLATA47 on May 07, 2026
Download
- Fixed autoeat
- Fixed enable button inside of gui
[1.2.6,26.1-26.1.2] AntiAfk 1.2.6,26.1-26.1.2
by CIOCOLATA47 on Mar 24, 2026
Download
- Update to 26.1
[1.2.5,1.21.11] AntiAfk 1.2.5,1.21.11
by CIOCOLATA47 on Mar 23, 2026
Download
- Added box to allow custom values
- Allow use of decimals
[1.2.4,1.21.11] AntiAfk 1.2.4,1.21.11
by CIOCOLATA47 on Mar 22, 2026
Download
- added auto reconnect
- added mouse jitter
- added auto chat messages
- auto disconnect when players are near
[1.2.3,1.21.11] AntiAfk 1.2.3,1.21.11
by CIOCOLATA47 on Mar 05, 2026
Download
- Added Auto Eat
- Added Random Hotbar
- Added Offhand Swap
- Added Open Inventory
[1.2.2,1.21.11] AntiAfk 1.2.2,1.21.11
by CIOCOLATA47 on Feb 14, 2026
Download
- Added scroll to the gui if the minecraft window or resolution is too small.
- Added toggle in the gui.
[1.2.1,1.21.11] AntiAfk 1.2.1,1.21.11
by CIOCOLATA47 on Jan 13, 2026
Download
- Removed commands
- Added gui ( it is not binded by default)
- Improved code
[1.2.0,1.21.11] AntiAfk 1.2.0,1.21.11
by CIOCOLATA47 on Dec 19, 2025
Download
- Added category back in settings
- Fixed mousemovement issue
[1.1.9,1.21.9-1.21.10] AntiAfk 1.1.9,1.21.9-1.21.10
by CIOCOLATA47 on Oct 01, 2025
Download
- Update to 1.21.9
- Moved keybind category to misc.
[1.1.8-1.19,1.21.8] AntiAfk 1.1.8-1.19,1.21.8
by CIOCOLATA47 on Sep 27, 2025
Download
- Fixed issue where player couldn't walk.
[1.1.8-1.19,1.21.8] AntiAfk 1.1.8-1.19,1.21.8
by CIOCOLATA47 on Sep 27, 2025
Download
- Optimized code
- Improved movement,spin and mousemovement
[1.1.7-1.19,1.21.8] AntiAfk 1.1.7-1.19,1.21.8
by CIOCOLATA47 on Feb 20, 2025
Download
- Added
/antiafk interval random <minSeconds> <maxSeconds>and changed interval seconds command to/antiafk interval set <seconds>. - Added
/antiafk movementto move the character left and right.
[1.1.6-1.19,1.21.4] AntiAfk 1.1.6-1.19,1.21.4
by CIOCOLATA47 on Nov 27, 2024
Download
Better camera movement.(@EvertBt)
[1.1.5-1.19,1.21.3] AntiAfk 1.1.5-1.19,1.21.3
by CIOCOLATA47 on Sep 20, 2024
Download
- Added horizontalMultiplier and verticalMultiplier to mousemovement
- Code cleanup
[1.1.4-1.19,1.21.1] AntiAfk 1.1.4-1.19,1.21
by CIOCOLATA47 on Jun 15, 2024
Download
- Added config so the settings will save.
- You can now use decimals as interval.
[1.1.3-1.20.6] AntiAfk 1.1.3-1.20.6
by CIOCOLATA47 on May 14, 2024
Download
Update to 1.20.6.
[1.1.2-1.20.5] AntiAfk 1.1.2-1.20.5
by CIOCOLATA47 on Apr 26, 2024
Download
Update to 1.20.5
[1.1.1-1.20.4] AntiAfk 1.1.1-1.20.4
by CIOCOLATA47 on Apr 16, 2024
Download
- Added spin speed
- Code clean up and optimization.
- New icon
[1.1.0-1.20.4] AntiAfk 1.1.0-1.20.4
by CIOCOLATA47 on Mar 24, 2024
Download
Fixed not allowing you to sneak.
[1.0.9-1.20.4] AntiAfk 1.0.9-1.20.4
by CIOCOLATA47 on Mar 23, 2024
Download
Added sneak.
Added mousemovement it will move the player camera random between -5 and 5.
Added mousemovement it will move the player camera random between -5 and 5.
[1.0.8-1.20.4] AntiAfk 1.0.8-1.20.4
by CIOCOLATA47 on Jan 14, 2024
Download
Commands will now work on servers.
[1.0.7-1.20.4] AntiAfk 1.0.7-1.20.4
by CIOCOLATA47 on Dec 11, 2023
Download
Update to 1.20.4
[1.0.7-1.20.2] AntiAfk 1.0.7-1.20.2
by CIOCOLATA47 on Dec 02, 2023
Download
Added commands,spin mode,swing mode,jump and now you can either turn them off or on with the commands
[1.0.6-1.20.2] AntiAfk 1.0.6-1.20.2
by CIOCOLATA47 on Oct 30, 2023
Download
Fixed issue where it would allow you to jump mid air.
[1.0.5-1.20.2] AntiAfk 1.0.5-1.20.2
by CIOCOLATA47 on Sep 23, 2023
Download
Update to 1.20.2
[1.0.4] AntiAfk 1.0.4
by CIOCOLATA47 on Jul 29, 2023
Download
First release.