AFK-Preventer

AFK-Preventer

Prevents AFK kicks by randomly pressing movement keys (W/A/S/D/Space) every 20-40 seconds while you are in-game.

by
251 Downloads
fabricgame-mechanicsmanagementtechnology
Rent Server with this Mod

About this Mod

⌨️ AFK Preventer, Stay online, stay safe.

Enabled

Disabled

🎲 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

Available Versions

AFK-Preventer X2 (ON-OFF)release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1fabric
March 28, 2026

How to Install AFK-Preventer on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1).

3

Install Mod

Open the mod browser in the dashboard and search for "AFK-Preventer". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1, 1.21.11, 1.21.10 (+10 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

AFK-Preventer server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1). You can switch loaders with one click in the panel.

Is AFK-Preventer compatible with fabric?

AFK-Preventer officially supports fabric for Minecraft 26.1, 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with AFK-Preventer – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AFK-Preventer consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install AFK-Preventer with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

26.11.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.3+3 more