The AFK Display datapack from Vanilla Tweaks is a lightweight utility that automatically shows when players are Away From Keyboard (AFK) in Minecraft.
🧠 How It Works
The datapack automatically tracks player movement and activity. If a player is inactive for a set amount of time (by default 1 minute), they are marked as AFK.
When this happens:
A gray [AFK] tag appears next to the player's name in the player list (Tab menu).
It also appears above their head in the world (visible to nearby players).
🚶♂️ Returning from AFK
As soon as the player moves, jumps, or performs any action, the AFK tag is removed automatically. No manual input is required to toggle it.
⚙️ Features
🕒 Automatic Detection – No need to use commands; the datapack tracks inactivity based on player input.
👤 AFK Name Tag – Clear visual indicator in the player list and in-world name tag.