Language

AFK Dim Names

AFK Dim Names

Modrinth

Dim player names when they go AFK. Shows above their heads and in the server list.

10.9k downloads 31 followers updated 14mo ago
latest v1.3.0+mod Modrinth
Datapack Fabric Forge Neoforge Quilt 1.13 – 1.21.8 SocialUtility

AFK Dim Names

An add-on for Detect AFK Players.

Dims player names when they go AFK. This works by adding them to a team called afk. If players are on a team already when they go AFK, they will not be added to the AFK team.

The afk team can be modified. An example is to add the "AFK" prefix or suffix to player names:

/team modify afk prefix "AFK "

By default, only the name color is changed. This is to give you the freedom to decide what you do and don't need!

https://cdn.modrinth.com/data/cm4wuX9d/images/197665428560d32181c6b9de2af36edb9f047462.jpeg

To disable collision with AFK players:

/team modify afk collisionRule never

This datapack is stupidly simple and is a good place to start if you want to see a reference for how to integrate with Detect AFK Players. The code is MIT licensed and open source, so feel free to modify it as you want.

Versions

Release
1.3.0+mod
fabric, forge, neoforge · 1.18, 1.18.1, 1.18.2 · 14mo ago
This version changes how the away/back logic works to remove the need for a permanently-running loop. The loop only runs while there are players tagged as…
8.9k
Release
1.3.0
datapack · 1.18, 1.18.1, 1.18.2 · 14mo ago
This version changes how the away/back logic works to remove the need for a permanently-running loop. The loop only runs while there are players tagged as…
796
Release
1.2.0+mod
fabric, forge, neoforge · 1.18, 1.18.1, 1.18.2 · 14mo ago
- Added a loop to remove offline players from the `afk` team, fixing players that left while AFK re-joining and showing the `afk` team color and prefix/suffix…
57
Release
1.2.0
datapack · 1.18, 1.18.1, 1.18.2 · 14mo ago
- Added a loop to remove offline players from the `afk` team, fixing players that left while AFK re-joining and showing the `afk` team color and prefix/suffix…
35
Release
1.1.0+mod
fabric, forge, neoforge · 1.18, 1.18.1, 1.18.2 · 14mo ago
This update is a small but significant change: when players are already in a team, it will not put them in the `afk` team. When players are not in the `afk`…
144
Release
1.1.0
datapack · 1.18, 1.18.1, 1.18.2 · 22mo ago
This update is a small but significant change: when players are already in a team, it will not put them in the `afk` team. When players are not in the `afk`…
387
Release
1.0.1
datapack · 1.18, 1.18.1, 1.18.2 · 24mo ago
Updated to include support for 1.21.0
276
Release
1.0
datapack · 1.13, 1.13.1, 1.13.2 · 28mo ago
Version 1 of this extremely simple datapack. Unless Mojand makes a drastic change to the `team` command, I don't imagine there will need to be any updates…
295

Comments 0

No comments yet. Be the first to share your thoughts.