Keep your account online 24/7
Hand your account to a bot, switch off your computer, and keep it on the server day and night.
On this page
Overview
Your bot runs on our servers, not on your computer. Once it's on the server, you can close the tab, turn off your PC and lose your home internet without the bot noticing; the dashboard is only a window onto it. Keeping it online for days isn't one setting: it means taking care of each thing that can end a session. Every plan can run a bot; around the clock needs Starter, Plus or Pro, because Free gives 15 minutes a day, or 4 hours with the Discord bonus.
What ends a session
Turning off your PC never ends a session, but these things can. Only some of them send a push when the bot stops, so for the others, open the bot's page now and then.
| What ends it | What keeps the bot online | Push alert |
|---|---|---|
| The Free daily time runs out | Starter, Plus or Pro, with no daily limit | None |
| The server kicks idle players | Anti-AFK, on for every new bot | Only if reconnects give up |
| The server restarts | Reconnect after kicks: 5 minutes on Free, no limit on paid plans | "AFK Minecraft — Bot stopped" if they give up |
| The server moves you to a lobby | Auto-Rejoin with the command that takes you back | None |
The server asks for /login | Server Login with your password | None |
| The Microsoft sign-in expires | Sign in again from the bot's page | None |
| A ban | Only the server's staff can lift it | "AFK Minecraft — Bot stopped" |
| The server blocks datacenter connections | A residential proxy of your own may get in | None |
| Free: our servers are full | Starter, Plus or Pro | None |
| You join on the same account | Stop the bot first | None |
The steps below set each of these up.
Set up the bot
Before you start, add the bot to the server as in Quickstart.
- Open Plans in the sidebar and pick Starter, Plus or Pro, which have no daily limit. On a phone, open More > Plans and billing. Prices are on Pricing.
- Open the bot's Plugins and check that the Anti-AFK row is on. Set its interval below the server's idle kick time; see Anti-AFK.
- Open Config > Connection and check that Reconnect after kicks is on. It's on for every new bot.
- Click the Server Login row in Plugins and save your password, if the server asks for
/login. See Server Login. - Click the Auto-Rejoin row and add the command that takes you back, if the server has a lobby. See Auto-Rejoin.
- Turn on push on your phone, so you hear when the bot stops. See Set up your phone.
Each reconnect is a fresh join, and Server Login and Post-Spawn Actions run again every time, such as /login or /home, so you set them up once.
Hand over from your PC
A server lets each player in only once, so leave the game before the bot joins.
- Walk to the spot where you want the account to stand, such as a farm or a safe room.
- Leave the server and close the game. The server remembers where you left.
- Click Start on the bot's row on the Bots page. The bot joins at the spot you left.
- Wait until the bot's row reads Online. The bot is now on the server; on the bot's own page, the pill next to its name shows the online time, such as "1h 14m".
- Close the tab and turn off your computer.
On Free, check "Time left today" on the Bots page first: that's how long the bot stays before it stops. If you start the bot while you're still in the game, the server disconnects one of you; see Play while your bot is online.
Daily time on each plan
Available on all plans, with a daily limit on Free.
- Free: your bots share 15 minutes a day, or 4 hours as a member of our Discord server. The time resets at midnight UTC. When it runs out, a running bot gets 5 more minutes, then stops with "Daily limit reached". See Free daily time.
- Starter, Plus and Pro: no daily limit. The bot stays online until you stop it or the server ends the session.
Free runs 1 bot at a time; Starter 1, Plus 3 and Pro 6. When our servers are busy, Free bots make room for paid ones; see When our servers are full.

Server restarts
Most servers restart now and then. The bot sees a restart as a kick or a lost connection, and Auto-reconnect joins again once the server answers. On Free, it keeps trying for 5 minutes, then stops with "Stopped after 5 minutes of failed reconnects. Start the bot again when the server is back." On Starter, Plus and Pro, it keeps trying without a limit.
When we restart or update our own servers, bots that were online come back on their own, usually within a few minutes. A ban, a version kick or a datacenter block stops the bot on purpose, on every plan, and needs a fix on your side first: see Kicks it does not retry.
Sign-in needed
A Microsoft sign-in can stop working, for example when it hasn't been used for about 90 days. The bot then can't join, and the pill next to its name reads Sign-in needed. Click Sign in again on the "Auth expired" banner and follow When the sign-in expires. An offline account has no Microsoft sign-in to expire.
Set up your phone
You don't need to watch the bot. Do this once, on the phone you carry:
- Open
app.afkminecraft.comon your phone and sign in with the same account. - Install the dashboard as an app: tap Install on the "Install AFK Minecraft" card on Android, or Share > Add to Home Screen in Safari on an iPhone.
- Open More > Account and turn on the Browser notification switch under "Alerts when a bot stops". On an iPhone, do this inside the installed app.
- Every plan gets "AFK Minecraft — Bot stopped" when a bot stops for good and won't come back on its own. A stop you caused, the Free daily time running out, or an expired sign-in sends nothing; the table in What ends a session lists each case.
- Starter, Plus and Pro add Alerts for mentions, deaths and players who join.
The full steps for each phone are in Install as an app. Linking Discord and joining our Discord server sends the same alerts as a direct message; see Set up delivery.
Check on the bot
Open the app and tap your bot. Its Overview shows how it's doing at a glance:
- The card at the top shows the server, the ping, Health and Food out of 20, and the position while the bot is online. While it reconnects, it reads "Disconnected from the server" with the time to the next try.
- Today shows the online time and reconnects, or "Free time left" on Free, over a strip of 24 hours with kicks marked.
- Recent lists the last 3 events, with All activity to open the full history.
On a computer, the Overview shows Uptime today and the "Connection, last 8 sessions" bars with how its last 8 sessions ended. The Activity page lists every kick and reconnect from the last 7 days with the server's message; on a phone, it's under More. Every part of the Overview is in Status and activity.
When the same reason comes back again and again, that's the row in What ends a session still to fix. Bot keeps disconnecting goes through each message. To read the server chat and send messages as your account, tap Chat in the bar at the bottom; see Chat from your phone.
No bot stays online through a server that is down, a ban, or a server with no free slot; the bot's page says which one it is. Each server sets its own rules about AFK accounts; see Server rules.
Control it from your phone
The bot's page on the phone has one button under the name, which changes with the status:
- Tap Stop to take the bot off the server, such as before you play yourself.
- Tap Start to start a stopped bot again, such as after the server was down or the daily time reset.
- Tap Rejoin now on the top card to try again at once while the bot waits to reconnect.
- Tap Sign in again on the top card when the Microsoft sign-in has run out.
A stop you make yourself sends no push, and the bot stays stopped until you start it again.
Back at your PC
To play on the account yourself, stop the bot first, then join from the game. When you're done, leave the game and start the bot again, as in Hand over from your PC. The bot joins where you left.
FAQ
Do I need to keep my PC or browser open?
No. The bot runs on our servers, so your computer, the tab and your home internet play no part. It keeps going until you stop it, the Free daily time runs out, or the server ends the session.
Can I keep my account online 24/7 for free?
Not around the clock. Free gives 15 minutes of bot time a day, or 4 hours with the Discord bonus, and the time resets at midnight UTC. Starter, Plus and Pro have no daily limit.
Will the bot come back after the server restarts?
Yes, while Reconnect after kicks is on. On Free, the bot keeps trying for 5 minutes; on Starter, Plus and Pro, until the server is back.
How do I know if the bot stops while I'm away?
Install the dashboard as an app and turn on push: "AFK Minecraft — Bot stopped" comes when a bot stops for good. The Free daily time running out and an expired sign-in send no push, so open the bot's Overview to check.
Can I start the bot again from my phone?
Yes. Open the bot in the app and tap Start under its name. On Free, the bot starts only while you have daily time left.
Where does the bot appear when it joins?
Where the account last left the server, as when you join yourself. Stand at the right spot before you leave the game, or add a command such as /home to Post-Spawn Actions.
Can I play on the account while the bot is online?
Not at the same time: the server lets each player in once. Click Stop on the bot before you join, and start it again when you're done. See Play while your bot is online.
Updated