Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.9–1.21.11
1.21.1
1.20.1
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Published 2 years ago
Updated 36 hours ago
Features
Players are marked as AFK, displayed next to the name
Setting to get announcements when players are AFK
Adjustable time until you are AFK
/trigger afk to instantly be AFK
Config
/trigger afk_announcer.config
Config for 1.20.1 and 1.21.1 at the bottom
Related Projects
Config for 1.21.1
<score> |
<value> |
Default |
|---|---|---|
&time_until_afk afk_announcer.config |
Time until a player is AFK, in seconds | 300 |
&rotation_check afk_announcer.config |
1 = rotating the camera also counts as not being AFK, 0 = off |
1 |
&leave_game_check afk_announcer.config |
1 = players are no longer AFK after rejoining, 0 = off |
1 |
&screen_notification afk_announcer.config |
1 = message above the hotbar when you are (no longer) AFK, 0 = off |
0 |
&chat_notification afk_announcer.config |
1 = chat message when a player is (no longer) AFK, 0 = off |
1 |
To change a setting:
/scoreboard players set <score> <value>
Show the current settings:
/scoreboard players get &time_until_afk afk_announcer.config
/scoreboard players get &rotation_check afk_announcer.config
/scoreboard players get &leave_game_check afk_announcer.config
/scoreboard players get &screen_notification afk_announcer.config
/scoreboard players get &chat_notification afk_announcer.config
Reset all settings:
/function afk_announcer:config/reset/config
Config for 1.20.1
<score> |
<value> |
Default |
|---|---|---|
&time_until_afk afk_announcer.config |
Time until a player is AFK, in seconds | 300 |
&rotation_check afk_announcer.config |
1 = rotating the camera also counts as not being AFK, 0 = off |
1 |
&leave_game_check afk_announcer.config |
1 = players are no longer AFK after rejoining, 0 = off |
1 |
&screen_notification afk_announcer.config |
1 = message above the hotbar when you are (no longer) AFK, 0 = off |
0 |
&chat_notification afk_announcer.config |
1 = chat message when a player is (no longer) AFK, 0 = off |
1 |
To change a setting:
/scoreboard players set <score> <value>
Show the current settings:
/scoreboard players get &time_until_afk afk_announcer.config
/scoreboard players get &rotation_check afk_announcer.config
/scoreboard players get &leave_game_check afk_announcer.config
/scoreboard players get &screen_notification afk_announcer.config
/scoreboard players get &chat_notification afk_announcer.config
Reset all settings:
/function afk_announcer:config/reset/config









![Tab List showing players, one of them is marked with [AFK]](https://wsrv.nl/?url=https%3A%2F%2Fassets.jodek.dev%2Fimage%2Fafk_announcer%2Ftab_list.png&n=-1)
![Chat message showing: Jodek is AFK / Jodek [AFK] is no longer AFK!](https://wsrv.nl/?url=https%3A%2F%2Fassets.jodek.dev%2Fimage%2Fafk_announcer%2Fchat_message.png%3Fv%3D2&n=-1)

![Tab List showing players, one of them is marked with [AFK] while also showing Overworld at the players name](https://wsrv.nl/?url=https%3A%2F%2Fassets.jodek.dev%2Fimage%2Fafk_announcer%2Ftab_list_sdin.png&n=-1)
![Chat message showing: Jodek is AFK / Jodek [AFK] is no longer AFK! while also showing Overworld at the players name](https://wsrv.nl/?url=https%3A%2F%2Fassets.jodek.dev%2Fimage%2Fafk_announcer%2Fchat_message_sdin.png%3Fv%3D2&n=-1)

