AfkDisplay

AfkDisplay

Mod

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

Server Game MechanicsManagementSocialUtility

1,886 downloads
34 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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"

Project members

beabfc

Owner

Details

Licensed MIT
Published 2 years ago
Updated 2 years ago