AFK Detector Addon for Minecraft Bedrock - Auto Detect Idle Players [Free + Pro]
photo_library Screenshots
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
What is AFK Detector Addon?
AFK Detector Addon automatically tracks which players are idle in your Minecraft Bedrock world. It checks every 3 seconds whether a player has moved their position or rotated their head. If a player stays completely still for 2 minutes, the addon marks them as AFK, shows the [AFK] tag above their name, and sends a chat message so everyone else knows.
In Free mode you get the core detection with a 2-minute timer and basic chat announcement. Pro mode unlocks the full system — you can set the idle timer anywhere from 1 to 10 minutes, enable invincible protection so AFK players cannot be killed by mobs, see smoke particles rising above idle players, get a return message showing how long they were gone, and track detailed stats and a server leaderboard for the biggest AFK offenders.
This addon is built for SMP worlds, Realms, and any multiplayer setup where knowing who is active matters. No commands needed, no items to keep in hand. Just install and let the addon do the work.
How It Works
↓
Addon checks every 3 seconds:
Did the player move? (X, Y, Z position change)
Did the player look around? (Head rotation change)
↓
+—————————+—————————+
| |
YES (Moved) NO (Idle)
| |
Reset Timer Idle timer increases
| |
Stay Normal 2 min reached?
|
[AFK] tag applied!
All players notified in chat
AFK Messages
Free Mode — Player Goes AFK
Simple and clean. When a player has not moved for 2 minutes, this message appears in chat for all players to see.
Pro Mode — Player Goes AFK
[AFK] PlayerName is now AFK
Idle for: 2 minutes
=======================
Pro mode shows a detailed announcement with the idle time included. The border makes it stand out clearly in busy chat.
Pro Mode — Player Returns
[BACK] PlayerName is back!
Was AFK for: 5 min 30 sec
=======================
When an AFK player finally moves, everyone sees a return message with the exact duration they were away. Great for knowing who just came back to the game.
Pro Mode — AFK Player's Own Screen
The AFK player sees a live timer on their action bar updating every second. They know exactly how long they have been idle and get a reminder to move.
Free vs Pro Mode
| # | Feature | Free | Pro |
|---|---|---|---|
| 1 | AFK Detection | Yes (2 min fixed) | Yes (Custom 1–10 min) |
| 2 | [AFK] Name Tag | Yes | Yes |
| 3 | AFK Announce to All | Yes (Basic) | Yes (Detailed) |
| 4 | Return Message + Duration | No | Yes |
| 5 | Action Bar Timer (Player Screen) | No | Yes |
| 6 | Smoke Particles Above AFK | No | Yes |
| 7 | AFK Invincible (No Damage) | No | Yes |
| 8 | AFK Stats (Book) | No | Yes |
| 9 | AFK Leaderboard Top 5 | No | Yes |
| 10 | Settings Panel (Clock) | No | Yes |
| 11 | Announce Toggle (Compass) | No | Yes |
| 12 | AFK Count + Longest Record | No | Yes |
Pro Features Explained
Custom AFK Timer
Free mode detects AFK after exactly 2 minutes. Pro mode lets you choose anywhere from 1 minute to 10 minutes using the Settings Panel. A busy SMP server might want 5 minutes so players are not marked AFK during short breaks. A strict mini-game server might want just 1 minute to keep everyone active.
AFK Invincible Mode
When Invincible is turned on in Settings, any player marked as AFK automatically receives the Resistance status effect. This prevents mobs from dealing damage. An AFK player will not lose hearts to zombies, skeletons, creepers, or fall damage while they are away. The protection ends the moment they come back and the AFK tag is removed.
Smoke Particles
Smoke particles continuously rise above AFK players. In a busy world with many players, this makes it easy to spot who is idle at a glance without reading names or chat. Very useful in SMP worlds and Realms.
AFK Stats and Leaderboard
Every time you go AFK, the addon records it. Open the stats panel with Sneak + Book to see your total AFK count, total time spent AFK, your personal longest AFK session, and the duration of your last AFK. The leaderboard shows the top 5 players in your world ranked by total AFK time.
Announce Toggle
Use Sneak + Compass to toggle AFK announcements on or off for yourself. When off, the addon still tracks and marks you as AFK but does not send the chat message. Useful for players who want the protection and tag without broadcasting every time they step away.
Settings Panel (Pro Only)
Use Sneak + Clock to open the settings panel and configure the addon:
AFK Time: [Slider: 1 — 10 minutes]
Default: 2 minutes
AFK Invincible: [Toggle: ON / OFF]
When ON: AFK players receive Resistance — mobs deal no damage
====================
AFK Stats and Leaderboard (Pro Only)
Use Sneak + Book to view your personal stats and the world leaderboard:
Total AFK Count: 15
Total AFK Time: 2 hr 30 min
Longest AFK: 45 min
Last AFK Duration: 5 min 30 sec
AFK Timer Setting: 2 min
Invincible: ON
=== LEADERBOARD ===
1. PlayerName — 2 hr 30 min
2. Player2 — 1 hr 15 min
3. Player3 — 45 min
4. Player4 — 30 min
5. Player5 — 15 min
==========================
Controls
| Action | How To Do | Mode |
|---|---|---|
| AFK Detection | Automatic (no action needed) | FREE + PRO |
| AFK Settings | Sneak + Use Clock | PRO |
| AFK Stats + Leaderboard | Sneak + Use Book | PRO |
| Announce Toggle | Sneak + Use Compass | PRO |
| Unlock Pro Mode | Sneak + Use any Bed | — |
How To Unlock Pro Mode
- Get any Bed item — any color works (White, Red, Blue, etc.).
- Hold the Bed in your main hand.
- Hold Sneak (Shift on PC / Sneak button on Mobile).
- While sneaking, Use the Bed (Right Click on PC / Tap on Mobile).
- A panel opens asking for the Secret Key.
- Enter the key exactly as shown, then press Submit.
- Pro Mode is now active forever for that world.
A Bed is used because AFK means the player is resting — just like sleeping in a bed in Minecraft!
How To Test Alone
You can test this addon even in single player:
- Join your world with the addon installed and Beta APIs enabled.
- Put your phone or controller down and do not move at all.
- Wait 2 minutes without moving or looking around.
- You will see [AFK] YourName is now AFK appear in chat.
- Move your character and the [BACK] return message will show with your AFK duration.
PRO MODE KEY
How to use this key? Read the guideType or paste this key exactly as shown. It is case-sensitive.
Download AFK Detector Addon
Click the button below to start the download timer. Your download link will appear after 15 seconds.
Frequently Asked Questions
More Addons by Racing Raftaar
- Jump Pro — Double jump, triple jump, and forward dash for Bedrock.
- Dynamic Camera — Zoom, sprint camera, and damage shake effects.
- Enchant Craft — 24 custom enchantments for weapons and armor.
- Teleport Bow — Shoot an arrow and teleport where it lands.
- Starter Kit — Auto kits for new players on world join.
- Craft The Uncraftable — 42 new recipes for normally uncraftable items.
- Vein Miner — Mine entire ore veins at once.
- Easy Sleep — One player sleep to skip the night.
- Instant Warp — Set homes and warps, teleport anywhere.
- Tree Capitator — Chop entire trees instantly.
- More addons coming soon. Follow us on Telegram or Discord.
Version History
v1.0.0 — Initial Release
- AFK Detection — movement + head rotation check every 3 seconds
- [AFK] Name Tag above idle players
- Basic chat announcement (Free)
- Detailed AFK + Return messages (Pro)
- Custom AFK timer 1–10 minutes (Pro)
- Action Bar live idle timer (Pro)
- Smoke Particles above AFK players (Pro)
- AFK Invincible — Resistance effect (Pro)
- AFK Stats — count, total time, longest, last (Pro)
- AFK Leaderboard Top 5 (Pro)
- Settings Panel via Sneak + Clock (Pro)
- Announce Toggle via Sneak + Compass (Pro)
.webp)
