Open app

Anti-AFK

Your bot makes one small move on a timer, so the server doesn't kick it for idling.

Available on all plans.

Compare plans
On this page
The Anti-AFK settings panel on the Plugins page, switched on. Under What the bot does, Look around is picked, Turns 20° each time, above Jump, Needs the Physics plugin, and Sneak briefly. How often reads Every 4 min with − and + buttons, Randomize ± 10 s jitter is checked, Also send a command is empty with /afk as the hint, and the footer says Saved. Works right away.

Overview

Most servers kick a player who does nothing for a few minutes; Anti-AFK stops that by making one small move on a timer, so the server sees activity. It is on for every new bot, set to Look around every 4 minutes, which is enough on most servers. Use it whenever the bot stands in one place, for example AFK at a farm.

Turn it on

  1. Open your bot and go to Plugins. Anti-AFK is the third row under Essentials.
  2. Turn on the switch in the Anti-AFK row. The line under the name shows what it does, such as "Look around every 4 min".
  3. Click the Anti-AFK row to open its settings.
  4. Pick an action under What the bot does: Jump, Look around or Sneak briefly.
  5. Set the Interval under How often with the − and + buttons. It goes from 1 to 15 minutes; pick a number below the server's idle kick time.
  6. Type a command under Also send a command (optional), such as /afk, and click Save.

Changes save as soon as you click them, and the panel footer says "Saved. Works right away." A running bot picks up the change without a restart or a reconnect. The command field is the exception: it saves only with the Save button.

To add a bot without Anti-AFK, turn off its switch in the last step of the Add a bot wizard; you can turn it back on at any time from Plugins.

Settings

What the bot does

  • Jump: jumps once. Use it when the server wants the bot's body to move. Jump needs the Physics plugin; without it the bot looks around instead.
  • Look around: turns the bot's head 20°, left and right in turn. The default, and it works on most servers.
  • Sneak briefly: crouches for a tenth of a second. Use it when the server ignores head turns.

Interval

The time between two moves: 1 to 15 minutes. Default: 4. Keep it below the server's idle kick time. If the server kicks after 5 minutes, use 3 or 4.

The first move comes one full interval after the bot joins the server, not at once.

Randomize

The "Randomize ± 10 s jitter" checkbox moves each action up to 10 seconds earlier or later. It is on by default. Leave it on, so the timing is not a perfect clock.

Also send a command

Sends one line every cycle, up to 256 bytes: 256 plain letters, fewer with accents or emoji. A line that starts with / is a command; anything else goes to chat. Use it when the server counts only chat or commands as activity, or when you want to repeat something like /afk. Optional.

Live View and macros

Anti-AFK waits while you drive the bot yourself in Live View. While a macro walks the bot, Anti-AFK skips its move; a command you set still goes out.

If the bot gets kicked anyway, it joins again on its own: see Auto-reconnect.

FAQ

Why does my bot still get kicked for being idle?

Open the bot's Activity page and find the Kicked row: it shows the server's message. If it is an idle kick, lower the Interval to 1 or 2 minutes. If the kicks continue, switch to Sneak briefly or Jump, or add a command such as /afk.

I picked Jump. Why does the bot only turn its head?

Jump needs the Physics plugin. With Physics off, the bot looks around instead, and the panel shows a warning.

What the bot does in the Anti-AFK panel with Jump picked, Needs the Physics plugin, above Look around and Sneak briefly. Under the choices a warning reads Jump needs Physics. Without it the bot performs a look instead., with a Turn on Physics button.

Click Turn on Physics, or open Plugins > Movement > Physics. Physics starts with the bot, so restart a running bot after you turn it on.

Why doesn't my command show up in chat?

The command field does not save on its own. Type the command, then click Save in the panel footer. Also check the first character: without a /, the line is sent as a chat message.

What does "Saved. Applies after a restart." mean?

The setting is saved, but the running bot did not take it. Click Restart bot next to the message.

Updated

Still stuck?Ask in our Discord or check the FAQ.