Guide menu ▾

Managing bots

Bot notifications and AFK alerts

Notifications for death, private messages, being mentioned, leaving the AFK area and connection problems; Discord DMs, the AFK spot and AFK statistics.

Last updated: November 26, 2026

Bot notifications tell you about important events that happen to your bot: the bot died, someone sent a private message, its name came up in chat, it left the AFK area, it cannot connect to the server or a macro sent a notification. Notifications appear on the Notifications bell at the top of the panel and, if you want, also arrive as a Discord DM. The AFK alert tells you when the bot moves away from where it waits. It works only on the 3.5 bot engine.

Turning on notifications and the AFK alert

  1. 1On the bot's page open the Notifications section of the Settings tab.
  2. 2Turn on the switch of each event you want to hear about; all are on by default.
  3. 3For the AFK alert bring the bot to where you want it to wait and press Make the current position the AFK spot. The position is saved within a few seconds. If you set no spot, Auto-learn finds it by itself.
  4. 4If you want Discord DMs link your Discord account and leave the Also send a Discord DM switch on. See Linking your Discord account.
  5. 5Press Save; notification settings apply to a running bot at once.
The Notifications section of the Settings tab: switches to notify on bot death, private message, name mentioned in chat, leaving the AFK area, connection problems and macro notifications, plus send Discord DM too
The Notifications section of the Settings tab: switches to notify on bot death, private message, name mentioned in chat, leaving the AFK area, connection problems and macro notifications, plus send Discord DM too

Which events become notifications?

NotificationWhen does it arrive?
Bot diedWhen the bot dies while Notify when the bot dies is on.
Private messageWhen someone sends the bot a private message.
Your name came up in chatWhen a player's chat message contains the bot's name.
Left the AFK areaWhen the bot stays outside the AFK area longer than the tolerance.
Can't connectWhen reconnect attempts fail one after another.
Reconnecting stoppedWhen the bot gives up reconnecting (the attempt limit is reached). See Auto reconnect.
Macro notificationWhen a macro's Send notification step runs. See Macro steps.

The bot always records events; the switches only decide which ones are shown as notifications, so AFK statistics keep being collected even if you turn a switch off. The number of notifications is limited: for one bot, death, AFK and connection notifications arrive at most once per 10 minutes per type, private message and mention at most once per 2 minutes, and a macro notification at most once per 5 seconds and 30 times per hour. Events older than 15 minutes raise no notification.

Seeing notifications and Discord DMs

Open the Notifications bell at the top of the panel; each notification shows the event, the bot and a detail (for example how many blocks away from the area it is). Mark all as read marks everything as read. If Also send a Discord DM is on and your Discord account is linked, the same notification also arrives as a private message on Discord; if your DMs are closed Discord cannot deliver it.

The AFK spot and the AFK alert

The AFK spot is where the bot waits. While the bot stays near the spot it counts as "in the AFK area"; if it stays outside longer than the tolerance, a Left the AFK area notification arrives. Moving to another dimension (for example the Nether) counts as leaving too. The settings:

  • Radius (blocks): within this many blocks of the spot counts as in the area (1-64, default 5).
  • Tolerance (seconds): the notification arrives after this long outside the area (10-3600, default 120).
  • Auto-learn (on by default): if there is no AFK spot and the bot stays in place (within 2 blocks) for the Learning time (1-120 minutes, default 10) after connecting, it saves that position as the AFK spot.
  • Make the current position the AFK spot: makes the bot's current position the spot while it is in the game. Clear deletes the spot; if auto-learn is on the bot learns a new spot after it restarts.

AFK statistics

The AFK statistics card on the bot's Info tab shows a summary of the last 24 hours or 7 days: Online time, Time at the AFK spot (with its share of the online time), Disconnects and Total downtime. If the bot is very new it says "No data yet". The bot must be on the 3.5 engine to see the card.

The AFK statistics card on the Info tab: online time, time at the AFK spot, disconnect count and total downtime, with 24 hours and 7 days options
The AFK statistics card on the Info tab: online time, time at the AFK spot, disconnect count and total downtime, with 24 hours and 7 days options

Macro notification

If you add a Send notification step to a macro, the panel sends a notification and a Discord DM when the macro reaches that step; you can put variables such as {player}, {bot} and {health} in the text. It is not sent if Macro notifications is off in the bot settings. The Send test notification button in the macro editor lets you try the text without saving. Details: Macro steps.

Frequently asked questions

How do I get notified when the bot dies?

Keep **Notify when the bot dies** on under the bot's **Settings → Notifications**. The notification appears on the **Notifications** bell and, if your Discord account is linked, also as a DM.

How does the AFK area alert work?

You set an **AFK spot** or wait for the bot to learn it automatically. If the bot stays farther than the **Radius** from the spot for longer than the **Tolerance**, a **Left the AFK area** notification arrives.

Why do I not get Discord DMs?

Your Discord account must be linked, **Also send a Discord DM** must be on and Discord must accept private messages from server members. See [Linking your Discord account](discord-hesap-baglama).

Do notifications work on a 3.0 bot?

No; notifications and AFK statistics exist only on the 3.5 bot engine. On a 3.0 bot the **Notifications** section is inactive.

Bot notifications and AFK alerts — AFKBot