ModsFinder

AFK to Ghost

by alecjp02

AFK to Ghost is a Fabric server mod that protects players who have gone inactive, making them invisible and invulnerable after a set timeout.

FabricServer-side onlyMIT LicenseOpen source1.20.1 – 26.2

What it does

When a player has been inactive for a configured amount of time, the mod switches that player into a ghost-like state: the player becomes invisible and takes no incoming damage. An action bar message shows while the state is active, and returning to play restores normal status as soon as activity is detected again. Idle players stay protected while remaining in the world rather than being removed from it.

The mod is installed on the server only, and it works on dedicated servers as well as client-hosted integrated servers, including singleplayer worlds, LAN-hosted worlds and worlds shared through e4mc. The mod stores its configuration in a file. Mod Menu and Cloth Config are optional client-side dependencies: a hosting player can change the settings from inside the game, whereas a dedicated server administrator still edits the configuration file directly. Fabric API and Fabric Language Kotlin are required.

Joining players do not need the mod, because it only runs on the host side. The mod is open source under the MIT License, and its source code is public. Files are published for Fabric only, with builds for 1.20.1, 1.21.1, 26.1.2 and 26.2, and the latest file, 0.3.0+26.2 for 26.2, is in the beta channel.

Key features

  1. Invisibility while inactive

    A player who has been idle past the timeout becomes invisible to other players.

  2. Damage protection

    Inactive players take no incoming damage while in the ghost-like state.

  3. Action bar notice

    An action bar message tells the player that the state is active, and it clears once activity resumes.

  4. Configurable AFK timeout

    The length of inactivity before the state begins is set in the configuration, in-game or in the file.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
26.20.3.0+26.2
26.1.20.3.0
1.21.10.3.0+1.21.1
1.20.10.3.0+1.20.1
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric Language KotlinThis is a mod that enables usage of the Kotlin programming language for Fabric mods.
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Server owners and players who host worlds for others, especially on Fabric 1.20.1 – 26.2 where idle players are a concern.

How it compares

Full comparison

LAN Whitelist is a Fabric mod for client and server environments, released under the MIT License and open source, with files for 1.20.2 – 1.21.10; it controls who may join a LAN world rather than protecting idle players. Sessility is a server-side only Fabric mod, open source under the MIT License, for 1.19 – 26.3. AFK Player Timer is client-side only and not open source, released under All rights reserved, for 1.20 – 26.1.2.

ModLoadersGame versionsEnvironmentUpdated
AFK to GhostFabric1.20.1 – 26.2Server-side only2026-08-11
LAN WhitelistFabric1.20.2 – 1.21.10Client and server2025-10-18
SessilityFabric1.19 – 26.3Server-side only2026-09-24
AFK Player TimerFabric1.20 – 26.1.2Client-side only2026-05-21

Questions

Does AFK to Ghost need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside AFK to Ghost on the server.

Do players need to install AFK to Ghost?

No. Players join without it, since only the server has to run the mod.

Can the settings be changed without editing a file?

Yes, if Mod Menu and Cloth Config are installed on the hosting player's client, the settings can be edited in-game. Otherwise the configuration file is used.

In the catalog

AFK to Ghost is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 13,894 mods support Minecraft 26.2.

Similar mods

What the author says

AFK to Ghost protects inactive players by placing them into a safe, ghost-like state while they are AFK. The mod is designed to keep AFK players safe without removing them from the world.
alecjp02, on the Modrinth page

Official listing

Owner
alecjp02
Published
2026-06-10
Updated on Modrinth
2026-08-11
Facts verified
2026-10-15

Tags