AFK

Simple AFK Plugin for Spigot/Paper

226

AFK

Using

Write /afk and server will broadcast "player_name is now AFK" message. If you move, type this command again, or type something into chat, server broadcasts opposite message "player_name is no longer AFK". If player is AFK, his name is gray in a player list.

If you want to use Afk Time you must add {TIME} key. ForEx: noAfk: '{DISPLAYNAME} is back after {TIME}!'

Config

```

Events: def. true

Colors: def. gray [black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white]

IdleTimer: def. true, 60 sec

Messages: def. true (keys: {DISPLAYNAME}, {TIME})

Events: move: true chat: true Colors: message: gray player: gray IdleTimer: enabled: true period: 60 Messages: enabled: true nicknames: false +afk: "{DISPLAYNAME} is now AFK" -afk: "{DISPLAYNAME} is no longer AFK"

```

TO DO - Improve permissions - More - Test on latest version.

ADS