
AfkDisplay
Track player AFK status directly in the server participant list. The mod offers complete customization to suit your needs and is compatible with Placeholder API.
Configuration Settings
All mod parameters are configured through the afkdisplay.toml
file located in your server's configuration folder.
# Allows using the /afk command to mark yourself or other players (operators only) as AFK
enableAfkCommand = true
# This value will be used for the placeholder %player:afk% if a player is in AFK mode
afkPlaceholder = "[AFK]"
[packetOptions]
# Inactivity time after which a player is considered AFK. Set to -1 to disable automatic AFK detection.
timeoutSeconds = 180
# Consider moving players as no longer AFK (enables simple bypass methods like AFK pools)
resetOnMovement = false
# Consider players who look around as no longer AFK
resetOnLook = false
[playerListOptions]
# Whether to change the name in the player list for those in AFK mode
enableListDisplay = true
# Color for AFK players in the participant list
afkColor = "gray"
# Name displayed in the player list if participant is AFK
afkPlayerName = "[AFK] %player:displayname%"
[messageOptions]
# Whether to enable chat messages when a player goes AFK or returns
enableChatMessages = true
# Color of these chat messages
messageColor = "yellow"
# Message content
wentAfk = "%player:displayname% is now in AFK mode"
returned = "%player:displayname% is no longer in AFK mode"