AFK Announcer icon

AFK Announcer

Shows AFK players, /trigger afk, auto AFK kick & more

Minecraft datapack by Jodek

Downloads
20,609
Minecraft
Java 1.20 - 26.3
Updated
November 4, 2026
License
MIT License

Available as: Datapack, Fabric mod, Forge mod, NeoForge mod, Quilt mod, Paper plugin, Purpur plugin

minecraft datapack afk display announcer minecraft afk mod datapack afk

jodeks discord - discord badge - pixel badge - pixel discord badge - jodeks datapacks - datapacks discord   datapacks jodek youtube   armor stand arms minecraft datapack codeberg issues   jodeks datapacks kofi - jodek kofi - minecraft datapack kofi donation

jodeks library - 5555ff lib is required  

Shows in tab list

Features

1. Players are marked as AFK --> displayed next to the name

2. Setting to get an announcement when a player is AFK

3. Adjustable time until you are AFK

4. /trigger afk to instatly be AFK

5. Setting to choose if players get kicked when AFK or not

Config

/trigger afk_announcer.config

 

jodek datapack suggestions

 

Showcase

Jodek is AFK!

Jodek [AFK] is no longer AFK!

Shows in tab list

Compatible with my Show Dimension In Name datapack/mod

Chat with show dimension in name

Tab list with show dimension in name

Compatible with my Invisible Player Name datapack/mod

Config Pre 1.21.6

/trigger afkannouncer.config

/trigger afkannouncer.color.config

To uninstall run: /function afkannouncer:uninstall

Pre 1.21 Config

Config 1.21 and lower

To adjust the duration before being marked as AFK:

/trigger afk_timer set value

value = seconds until you are AFK

default = 5 minutes = 300 seconds

To disable the AFK Announcer for yourself, you can set the value to 0


To change if you get a notification when you or someone else is AFK:

/trigger afk_notification set value

value = 1 = notificcation --> default

value = 2 = no notification


To change if you should be invulnerable when AFK:

/scoreboard players set &afk_invulnerable afk_announcer.config value

value = 0 = not invulnerable when AFK --> default

value = 1 = invulnerable when AFK


For the following to work you need to set function-permission-level to 3

To enable that players will always get kicked when AFK:

/scoreboard players set &afk_kick afk_announcer.config value

value = 0 = player do not get kicked when afk -> default

value = 1 = all players get kicked when afk


To enable so players can choose if they want to be kicked or not:

/scoreboard players set &afk_kick_player_control afk_announcer.config value

value = 0 = players can't choose if the want to be kicked or not --> default

value = 1 = players can choose


Individual player setting to choose if you want to be kicked or not:

/trigger individual_afk_kick set value

value = 0 = the player will not get kicked --> default

value = 1 = the player will get kicked


To uninstall:

/function afkannouncer:uninstall

General questions

Which Minecraft versions does AFK Announcer support?
AFK Announcer supports Minecraft Java Edition 1.20 - 26.3. It does not work on Bedrock Edition.
Do I need Fabric or Forge for AFK Announcer?
No. AFK Announcer is a datapack, so it works in vanilla Minecraft without any mod loader. If you prefer, it is also available as a mod for Fabric, Forge, NeoForge and Quilt and a plugin for Paper and Purpur.
Does AFK Announcer work on servers and in multiplayer?
Yes. Datapacks run on the server, so it works in singleplayer, on multiplayer servers and in LAN worlds. Players do not need to install anything.
How do I install the AFK Announcer datapack?
Download the datapack zip from Modrinth or CurseForge, put it into the datapacks folder of your world (saves/<world>/datapacks), then run /reload or restart the world. For a new world, you can also add it on the Data Packs screen while creating the world.
Is AFK Announcer free?
Yes. AFK Announcer is free and open source under the MIT License. The source code is on Codeberg.

More datapacks by Jodek

Pick & download datapacks →

Have an idea for another datapack? Suggest a datapack