Skip to content

afk-timeout

player.afk-timeout

The afk-timeout module is responsible for transitioning the player to the afk state after some time

afk-timeout

Customizing messages

You can change messages about switching to AFK in the localization file

yaml
commands:
  afk:
    suffix: " #f2d40f💤"
    true-message: "#f2d40f💤 Now you're afk"
    false-message: "#f2d40f💤 Now you're not afk"
commands:
  afk:
    suffix: " #f2d40f💤"
    true-message: "#f2d40f💤 Now you're afk"
    false-message: "#f2d40f💤 Now you're not afk"

Module customization

ParameterDescriptionTypeDefault
timeTime (in ticks) after which the player will get the status of afk without actionnumber3000
message-enablesend a message that the person is now afkbooleantrue
take-out-actionsActions that take a person out of afk statusstring[][/afk, commands, chat, move]