AFK icon

AFK -----

A simple AFK Plugin



Usage
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.

Have outher plugin with /afk command?
then use /afk:afk

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

Config
Events:
# in 1.9 you can push players so move is set to false
# Events: def. Move False, Chat true
move: false
chat: true
Colors:
# 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]
message: gray
player: gray
IdleTimer:
# IdleTimer: def. true, 120 sec
enabled: true
period: 120
Messages:
# Messages: def. true (keys: {DISPLAYNAME}, {TIME})
enabled: true
nicknames: false
+afk: '{DISPLAYNAME} is now AFK'
-afk: '{DISPLAYNAME} is no longer AFK'


NOTE: This is NOT my own plugin, I do not own it I am simply just updating the code to work with newer versions of Minecraft. Any and all credit goes to the original author.

link to original post = https://dev.bukkit.org/projects/afk
Resource Information
Author:
----------
Total Downloads: 870
First Release: Aug 4, 2022
Last Update: Dec 9, 2022
Category: ---------------
All-Time Rating:
0 ratings
Find more info at dev.bukkit.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings