HomeJavaModsAfkDisplay
AfkDisplay
ModsJava

AfkDisplay

by beabfc · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.19–1.19.4⬇ Download for 1.18.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

AfkDisplay

Show which players are AFK in the player list. Fully configurable and with Placeholder API support.

Player list with afk players

Configuration

The configuration is located in afkdisplay.toml inside your servers config folder.

# Allows you to disable the /afk command to mark yourself or other players (only for operators) as AFK 
enableAfkCommand = true
# This will be the value of the placeholder %player:afk% if a player is AFK
afkPlaceholder = "[AFK]"

[packetOptions]
# The time without actions after which a player is considered AFK. Set to -1 to disable automatic AFK detection.
timeoutSeconds = 180
# Consider players that moved no longer AFK (enables easy bypass methods like AFK pools)
resetOnMovement = false
# Consider players which looked around no longer AFK
resetOnLook = false

[playerListOptions]
# Change the playerlist name for players who are AFK
enableListDisplay = true
# The color for AFK players in the playerlist
afkColor = "gray"
# The name that is shown in the playerlist if a player is AFK
afkPlayerName = "[AFK] %player:displayname%"

[messageOptions]
# Enabled chat messages when a player goes AFk or returns.
enableChatMessages = true
# The color of those chat messages
messageColor = "yellow"
# The message content
wentAfk = "%player:displayname% is now AFK"
returned = "%player:displayname% is no longer AFK"
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more