• Functions
  • 293 views • 2 today
  • 0 downloads • 0 today
  • 4
  • 3
BibekTheLegend
Level 56 : Grandmaster Programmer Nerd
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.
CompatibilityMinecraft 1.18
toMinecraft 1.21
Tags

  Have something to say?

Welcome