COWMODSКаталог модов

AFK Dim Names

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

Автор: clo414,2 тыс.33обновлён 5 апр. 2025 г.
ОбщениеУтилиты

Описание

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.

Галерея

Someone went AFK holding the diamonds...

Последние версии

Все версии →
release

Version 1.3

1.3.0+mod
5 апр. 2025 г.11,9 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric, forge, neoforge, quilt
Скачать
Что нового
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 `afk`. The data pack is now much lazier!
release

Version 1.3

1.3.0
5 апр. 2025 г.907Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8datapack
Скачать
Что нового
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 `afk`. The data pack is now much lazier!
release

Version 1.2

1.2.0+mod
5 апр. 2025 г.100Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
Скачать
Что нового
- 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 in chat.
release

Version 1.2

1.2.0
5 апр. 2025 г.41Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
Скачать
Что нового
- 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 in chat.
release

Version 1.1

1.1.0+mod
30 мар. 2025 г.162Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
Скачать
Что нового
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` team when returning, they will not be removed from their team. The behavior <1.1 would naively override the team, and then *leave* whatever team the player was in regardless of if it had changed when the player returned. I believe this new behavior is an improvement, but if it causes issues for you, please [open an issue on GitHub](https://github.com/clo4/datapacks/issues) and I'll look into it ASAP. However, this should be a more reliable system over all. Tested on 1.18 and 1.21
release

Version 1.1

1.1.0
7 авг. 2024 г.399Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
Скачать
Что нового
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` team when returning, they will not be removed from their team. The behavior <1.1 would naively override the team, and then *leave* whatever team the player was in regardless of if it had changed when the player returned. I believe this new behavior is an improvement, but if it causes issues for you, please [open an issue on GitHub](https://github.com/clo4/datapacks/issues) and I'll look into it ASAP. However, this should be a more reliable system over all. Tested on 1.18 and 1.21
release

Version 1.0.1

1.0.1
17 июн. 2024 г.285Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1datapack
Скачать
Что нового
Updated to include support for 1.21.0
release

Version 1.0

1.0
25 февр. 2024 г.339Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4datapack
Скачать
Что нового
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 (except for bumping the maximum compatible pack version)