AutoAFK

AutoAFK

Server-side mod that automatically sets players to AFK mode after 3 minutes of inactivity, switching to spectator mode to prevent damage and hunger. Includes /afk command for manual toggling.

by
232 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

Screenshots

In survival mode.
In AFK mode.
Type /afk to exit AFK mode
Damage cooldown
AFK mode cooldown
/afk [target]

About this Mod

🌙 AutoAFK – Smart AFK Management for Servers

AutoAFK is a server-side mod that automatically switches players to AFK mode after 3 minutes of inactivity. While AFK, players are put into Spectator mode, protecting them from hunger, damage, and death. Any player action immediately brings them back. A handy /afk command is also available for manual toggling.


✨ Features

  • ⏱️ Automatic AFK Detection
    Players are marked as AFK after 3 minutes of inactivity.

  • 👁️ Spectator Mode While AFK
    Prevents hunger, damage, and death during AFK.

  • 📝 /afk Command
    Simple command for toggling AFK status.

  • 🛡️ Perfect for Servers
    Great for managing inactive players and keeping them safe while away.


📦 Compatibility

  • 🧩 Client&Server-side — client installation required.
  • ✅ Compatible with other server-side mods and plugins.
  • 🔧 Works great for Survival, RP, minigames, and more.

📌 Why AutoAFK?

If you want to keep your server organized and protect players who step away, AutoAFK is the perfect lightweight solution. Set it and forget it — the mod handles everything for you.

Available Versions

AutoAFK 0.2.0-Betabeta
MC 1.20.1fabric
May 31, 2025
AutoAFK 0.1.0-Betabeta
MC 1.20.1fabric
May 30, 2025
AutoAFK 0.0.3-Alphaalpha
MC 1.20.1fabric
May 30, 2025
AutoAFK 0.0.2-Alphaalpha
MC 1.20.1fabric
May 30, 2025
AutoAFK 0.0.1-Alphaalpha
MC 1.20.1fabric
May 30, 2025

How to Install AutoAFK 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 (1.20.1).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

AutoAFK 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 (1.20.1). You can switch loaders with one click in the panel.

Is AutoAFK compatible with fabric?

AutoAFK officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with AutoAFK – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AutoAFK 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 AutoAFK 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
Required

Supported Versions

1.20.1