
AFK-Preventer
Prevents AFK kicks by randomly pressing movement keys (W/A/S/D/Space) every 20-40 seconds while you are in-game.
⬇ Download on Modrinth⌨️ AFK Preventer, Stay online, stay safe.

🎲 How does it work?
First you press your key to activate it (default key is G but you can change it in Options →Controls) Every 20–40 seconds, it randomly presses one of your movement keys (W / A / S / D / Space) for a split second — just enough to reset the AFK timer without disturbing you.
🔧 What does it do?
Tired of getting kicked for being AFK? AFK Preventer silently runs in the background and keeps you in the game — no babysitting required.
✅ Features
🔇 Completely silent — no chat messages, no notifications ⚡ Lightweight — zero performance impact 🎮 Client-side only — works on any server 🔀 Fully random — timing and key selection are randomized every time
📦 Requirements for versions
AFK Preventer AUTO-X2:
Minecraft 1.21+ Fabric Loader Fabric API
AFK Preventer AUTO-X1:
Minecraft 1.21+ Fabric Loader Fabric API
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as afkpreventer-1.0.0.jar — drop this file into the mods folder
- Download size: 37 KB
- Download link checked 7 Sept 2026 — working
These come from our own check of the pack file, not from the source page.