← Назад к ресурсам

AFK Dim Names

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

Modrinth social utility

Описание

# AFK Dim Names **An add-on for [Detect AFK Players](https://modrinth.com/datapack/detect-afk)**. 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](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.