The Detect AFK data pack gives you an easy way to track idle players on your server. When someone stands still for a set amount of time, they get marked as AFK and everyone gets notified. When they start moving again, you see how long they were idle. You can customize everything about it, from how long before someone is marked AFK to how player names appear.
Features
AFK Detection
Players who don’t move for a certain amount of time are automatically marked as AFK. Admins can change this timer to whatever works for their server using the in-game admin panel.
Real-Time Notifications
Get notified when players go AFK and when they come back online. Each player can turn notifications on or off individually. When you return from being AFK, the pack shows exactly how long you were idle.
Custom Player Names
Display different name formats for active and AFK players. Admins can customize these formats to suit their server through the admin control panel.
How to Use
After installing, use these commands:
/trigger info– View data pack info and your current settings/function main:admin_support– Open the Admin Control Panel to modify AFK timer and other options
How to Install
Download the file that matches your Minecraft version, then place it in your world’s datapacks folder. Need step-by-step help? Check out our guide: How to Download & Install Data Packs
Download by Version
Minecraft 1.13.x to 1.14.x
This file is part of Detect AFK Players Data Pack (Minecraft 1.13-1.17.1). Visit the main page for features, installation guide, screenshots, and more download options.
Minecraft 1.15.x
This file is part of Detect AFK Players Data Pack (Minecraft 1.13-1.17.1). Visit the main page for features, installation guide, screenshots, and more download options.
Minecraft 1.16.5 to 1.17.1
This file is part of Detect AFK Players Data Pack (Minecraft 1.13-1.17.1). Visit the main page for features, installation guide, screenshots, and more download options.