Datapack Documentation
AFK Display
Installation
- Download the development release ZIP.
- Place the ZIP directly in the world’s
datapacksfolder. Do not unzip it. - Start or reload the world, then run
/reloadif needed. - Use
/datapack listto confirm the pack is enabled.
Usage
- Install the datapack and run /reload, or reload the world.
- No player command is required.
- Remain in the same position for five minutes to be marked AFK. Move again to clear the AFK state.
Configuration
No configuration file is required. The AFK timer is currently fixed at five minutes. The pack uses the team mafk_afk and internal scoreboard objectives.
Removal
For a clean removal, run /function minecrafters_afk:uninstall before deleting the datapack ZIP. Then remove the ZIP from the world datapacks folder and run /reload.