AFK Detector Addon for Minecraft Bedrock - Auto Detect Idle Players [Free + Pro]

AFK Detector Addon - Minecraft Bedrock

AFK DETECTOR ADDON

Updated: February 2026
AFK Detector Addon — Automatically detect idle players in Minecraft Bedrock. Stop moving for 2 minutes and the addon marks you as [AFK] and notifies everyone. Pro mode adds custom timer, invincible protection, smoke particles, return messages, live action bar timer, AFK stats, and a top 5 leaderboard.
Addon Name AFK Detector Addon
personCreator RACING RAFTAAR
categoryCategory Multiplayer / Utility
saveSize 14.38 KB
boltVersion v1.0.0
sports_esportsMinecraft 1.21.0+
starsFeatures [AFK] Tag, Custom Timer, Invincible, Particles, Stats, Leaderboard, Free & Pro Mode
rocket_launchGet it On Get it on CurseForge
★★★★☆ 4.8/5

photo_library Screenshots

AFK Detector Screenshot 1
AFK Detector Screenshot 2
AFK Detector Screenshot 3
AFK Detector Screenshot 4
AFK Detector Screenshot 5
AFK Detector Screenshot 6
AFK Detector Screenshot 7
× Screenshot Preview
Addon Features +
AFK Detection — checks movement and head rotation every 3 seconds
[AFK] Name Tag — displayed above idle player's head for all to see
AFK Announce — chat message notifies all players when someone goes AFK
Custom AFK Timer — set idle time from 1 to 10 minutes (Pro)
Return Message — shows how long the player was AFK when they come back (Pro)
Action Bar Timer — live idle timer shown on AFK player's screen (Pro)
Smoke Particles — appear above AFK players so you can spot them (Pro)
AFK Invincible — Resistance effect protects AFK players from all damage (Pro)
AFK Stats — total count, total time, longest AFK, and more (Pro)
AFK Leaderboard — top 5 players with most AFK time in the world (Pro)
Settings Panel — configure timer and invincible via Sneak + Clock (Pro)
Announce Toggle — turn AFK messages on or off via Sneak + Compass (Pro)
Free and Pro Mode included in one file

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

Player joins the world

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 - AFK
Pro - AFK
Pro - Return
Pro - Screen

Free Mode — Player Goes AFK

[AFK] PlayerName is now 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

[AFK] You are idle for 3 min 20 sec | Move to resume

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

#FeatureFreePro
1AFK DetectionYes (2 min fixed)Yes (Custom 1–10 min)
2[AFK] Name TagYesYes
3AFK Announce to AllYes (Basic)Yes (Detailed)
4Return Message + DurationNoYes
5Action Bar Timer (Player Screen)NoYes
6Smoke Particles Above AFKNoYes
7AFK Invincible (No Damage)NoYes
8AFK Stats (Book)NoYes
9AFK Leaderboard Top 5NoYes
10Settings Panel (Clock)NoYes
11Announce Toggle (Compass)NoYes
12AFK Count + Longest RecordNoYes

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 SETTINGS ===

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:

=== AFK STATS ===

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

ActionHow To DoMode
AFK DetectionAutomatic (no action needed)FREE + PRO
AFK SettingsSneak + Use ClockPRO
AFK Stats + LeaderboardSneak + Use BookPRO
Announce ToggleSneak + Use CompassPRO
Unlock Pro ModeSneak + Use any Bed

How To Unlock Pro Mode

  1. Get any Bed item — any color works (White, Red, Blue, etc.).
  2. Hold the Bed in your main hand.
  3. Hold Sneak (Shift on PC / Sneak button on Mobile).
  4. While sneaking, Use the Bed (Right Click on PC / Tap on Mobile).
  5. A panel opens asking for the Secret Key.
  6. Enter the key exactly as shown, then press Submit.
  7. 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:

  1. Join your world with the addon installed and Beta APIs enabled.
  2. Put your phone or controller down and do not move at all.
  3. Wait 2 minutes without moving or looking around.
  4. You will see [AFK] YourName is now AFK appear in chat.
  5. Move your character and the [BACK] return message will show with your AFK duration.

PRO MODE KEY

How to use this key? Read the guide
AFK_GUARD

Type 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.

Please wait... 15 seconds

Frequently Asked Questions

Q: Does this addon cause lag?
No. The addon only checks player movement every 3 seconds (60 ticks). This is very light on performance and you will not notice any lag even with many players online.
Q: Can I change the AFK timer?
Yes! With Pro Mode unlocked, use Sneak + Clock to open the settings panel and set the idle timer anywhere from 1 to 10 minutes.
Q: Will I die while I am AFK?
With Pro Mode, enable the Invincible option in the settings panel. AFK players will receive the Resistance effect and cannot take damage from any source while they are marked AFK.
Q: Does it work on Realms and servers?
Yes! The addon works on Realms, local multiplayer worlds, and any server that allows addons with Beta APIs enabled.
Q: What does AFK detection check exactly?
The addon checks both position (X, Y, Z coordinates) and head rotation. So even if you stand still and just look around, the timer resets. You must be completely idle — no movement and no looking around.
Q: Does Pro Mode stay unlocked after I leave the world?
Yes. Once Pro Mode is unlocked in a world it stays active permanently. You do not need to enter the key again next session.
Q: Can I use this with other addons?
Yes. AFK Detector does not modify any vanilla entities, blocks, or items. It uses the Script API and is compatible with most other addons.

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)
Minecraft Bedrock AFK Detector AFK Addon Multiplayer SMP Addon Realms Addon Utility Addon Minecraft 1.21 Script API MCPE Addon RR Script
Previous Post
No Comment
Add Comment
comment url