• 346 views 2 today
  • save_alt 0 downloads
Compatibility
Minecraft 1.18
to version
Minecraft 1.21
Changes include
  • Functions
  • 4
  • 3
BibekTheLegend
Lvl 57Grandmaster Programmer Nerd
51

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.

More like this

  Have something to say?

Welcome