ModsFinder

AutoAFK

by Drakobine

AutoAFK switches a player into spectator mode after three minutes without input, so an idle player on a server is shielded from hunger and damage while away.

FabricClient and serverAll rights reserved1.20.1

What it does

Idle detection runs on the server. After three minutes with no activity, the player is moved into spectator mode, and any action on the player's side brings them back to normal play right away. A manual afk command lets a player toggle the same state at will, for example before stepping away from a minigame or roleplay scene.

While a player sits in spectator mode under AutoAFK, hunger and damage do not apply, which keeps an absent character from dying or losing food. The mod is aimed at server owners who want to keep a multiplayer world tidy and protect players who step away. Clients need the mod installed as well, since the environment is client and server and both sides have to run it.

AutoAFK targets Fabric only, with one build, 0.2.0, for 1.20.1. It is not open source; the code is under All rights reserved, and the latest file is dated 2025-05-31 on the beta channel.

Key features

  1. Automatic idle detection

    The server tracks inactivity and switches a player to AFK mode once three minutes pass with no input.

  2. Spectator mode while away

    Players in AFK mode are put into spectator mode, where hunger and damage do not affect them.

  3. Instant return

    Any player action brings the character back from AFK mode immediately, without a command.

  4. Manual afk command

    A command lets a player toggle AFK mode by hand, for times when the automatic timer does not fit.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.20.10.2.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Survival roleplay servers

Characters that stay idle for a while during a scene are not left exposed to hunger or damage.

Minigame servers

Players who step out of a round can wait in spectator mode without being attacked or starved.

Who it’s for: Server owners running survival, roleplay or minigame worlds on Fabric 1.20.1 who want idle players to stay safe and the server to stay organized. Players on those servers install it too.

How it compares

Full comparison

Leave Me Alone is a Fabric mod for 1.21.11 that runs on the client only, under the MIT License, and is not open source. AfkDisconnect is also Fabric-only for 1.21.11 and client-side only, under All rights reserved. AutoAFK covers 1.20.1 and needs both the client and the server, so the two differ in version and environment.

ModLoadersGame versionsEnvironmentUpdated
AutoAFKFabric1.20.1Client and server2025-05-31
Leave Me AloneFabric1.21.11Client-side only2026-04-06
AfkDisconnectFabric1.21.11Client-side only2026-01-30

Questions

Does AutoAFK need to be installed on the client?

Yes. Installation covers the server and each player's game.

Which loader and game version does AutoAFK support?

Only Fabric, and only version 1.20.1. The latest file is 0.2.0, dated 2025-05-31.

Can a player leave AFK mode without a command?

Yes. Any action by the player brings the character back to normal play.

In the catalog

AutoAFK is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 34,764 mods support Minecraft 1.20.1.

More from Drakobine

All projects

Similar mods

What the author says

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. If you…
Drakobine, on the Modrinth page

Official listing

Owner
Drakobine
Published
2025-05-30
Updated on Modrinth
2025-05-31
Facts verified
2026-10-15

Tags