- Functions
Published Apr 7th, 4/7/26 11:52 am
- 293 views • 2 today
- 0 downloads • 0 today
50
A lightweight datapack that lets players toggle AFK mode, protecting them from damage while displaying their AFK status and tracking time away.
Command
- `/trigger afk` or `/trigger afk.enable`: Activates AFK mode
- `/trigger afk.display` or `Shift`: Exits AFK mode
- `/trigger afk.mute`: Mutes AFK announcement messages
- `/trigger afk.unmute`: Unmutes AFK announcement messages
Features
- Toggle AFK mode using a simple command.
- Easy to toggle afk mode by shift key.
- Adds an “(AFK)” suffix to player names.
- Show on tablist afk.
- Prevents damage while AFK.
- Tracks total AFK time.
- Notifies other players when someone goes AFK or returns.
- Automatic status handling for better multiplayer experience.
| Compatibility | Minecraft 1.18 |
| to | Minecraft 1.21 |
| Tags |
6893754
119


Have something to say?