AFK Announcer
ModShows AFK players, /trigger afk, auto AFK kick & more
Type
Mod
Modrinth Downloads
13,655
Modrinth ID
26qk5hxQ
Last Updated
Apr 12, 2026
Description


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.configConfig Pre 1.21.6
/trigger afkannouncer.config
/trigger afkannouncer.color.config
To uninstall run: /function afkannouncer:uninstall
Config
To adjust the duration before being marked as AFK:
/trigger afk_timer set valuevalue = 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 valuevalue = 1 = notificcation --> default
value = 2 = no notification
To change if you should be invulnerable when AFK:
/scoreboard players set &afk_invulnerable afk_announcer.config valuevalue = 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 valuevalue = 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 valuevalue = 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 valuevalue = 0 = the player will not get kicked --> default
value = 1 = the player will get kicked
Change any color (config)
1 - aqua
2 - black
3 - blue
4 - dark_aqua
5 - dark_blue
6 - dark_gray
7 - dark_green
8 - dark_purple
9 - dark_red
10 - gold
11 - gray
12 - green
13 - light_purple
14 - red
15 - white
16 - yellow
Color of the normal name
default = white
/scoreboard players set &name_color name_color.jodek valuevalue = color --> look at color table
Color of the name when AFK
default = gray
/scoreboard players set &name_color_afk name_color.jodek valuevalue = color --> look at color table
Color of the [AFK suffix]
default = dark_gray
/scoreboard players set &suffix_color_afk name_color.jodek valuevalue = color --> look at color table
Settings if you have Show Dimension In Name installed
Name color
Color of the name when AFK in the overworld
default = gray
/scoreboard players set &name_color_afk_overworld name_color.jodek valuevalue = color --> look at color table
Color of the name when AFK in the nether
default = gray
/scoreboard players set &name_color_afk_nether name_color.jodek valuevalue = color --> look at color table
Color of the name when AFK in the end
default = gray
/scoreboard players set &name_color_afk_end name_color.jodek valuevalue = color --> look at color table
Prefix color --> [Overworld] - [Nether] - [End]
Color of the prefix when AFK in the overworld
default = green
/scoreboard players set &prefix_color_afk_overworld name_color.jodek valuevalue = color --> look at color table
Color of the prefix when AFK in the nether
default = red
/scoreboard players set &prefix_color_afk_nether name_color.jodek valuevalue = color --> look at color table
Color of the prefix when AFK in the end
default = dark_purple
/scoreboard players set &prefix_color_afk_end name_color.jodek valuevalue = color --> look at color table
Suffix color --> [AFK]
Color of the suffix when AFK in the overworld
default = dark_gray
/scoreboard players set &suffix_color_afk_overworld name_color.jodek valuevalue = color --> look at color table
Color of the suffix when AFK in the nether
default = dark_gray
/scoreboard players set &suffix_color_afk_nether name_color.jodek valuevalue = color --> look at color table
Color of the suffix when AFK in the end
default = dark_gray
/scoreboard players set &suffix_color_afk_end name_color.jodek valuevalue = color --> look at color table
To uninstall:
/function afkannouncer:uninstallShowcase

![Jodek [AFK] is no longer AFK!](https://cdn.modrinth.com/data/cached_images/ec65120d4d5997cbe8608015afdd00b9ae4ea669.png)

Compatible with my Show Dimension In Name datapack/mod


Compatible with my Invisible Player Name datapack/mod
Compatibility
Mod Loaders
Game Versions
Similar Mods
Lucky TNT LeKoopa
Adds all of the loved LeKoopa themed TNT that were missing from Lucky TNT Mod 1.19+
VitalityFix
A fix for the Bursting Vitality potion effect in ZenithAttributes.
Redwoods
Adds Redwood and Fir trees to Minecraft, like the ones from old ExtrabiomesXL
WynnVista
Automagically adjusts Distant Horizons render distance when outside the Wynncraft map.
[TaCZ] Weapons and Tactics (Mod)
Tactical firearms inspired by Ready or Not – brought to life in Minecraft
Cobblemon Alphas
Check out Cobblemon Alpha Project!




