NOTE: BECAUSE OF THE NEW UPDATE, I WILL LIKELY NOT BE UPDATING THIS REPOSITORY. AFK ROOMS NO LONGER EXIST, AND SHARDS ARE PAID. THERE IS HARDLY ANY MORE WAYS TO BOT THE DONUT SMP, SO THIS REPO WILL BE ARCHIVED UNTIL FURTHER NOTICE. (6/2/2026)
A Donut SMP Mineflayer bot for AFKing shards and making money.
Features:
- Clean GUI
- Microsoft login support
- Auto reconnecting
- Live chat + stats
- Auto joins AFK room 10
- Minecraft 1.21.4 support
Download the ZIP or clone with Git.
Open the project folder in terminal/cmd.
npm installnpm startOpen:
http://localhost:3000
Enter your Minecraft Microsoft email and leave the server as default (play.donutsmp.net).
The server box is disabled because this is mainly built for Donut SMP.
When prompted, open the Microsoft link and enter the code.
Authentication gets saved in the auth/ folder so you usually won't need to log in again for 30-60 days.
Each connected bot gets its own tab with live chat, logs, stats, and reconnect handling.
- Donut SMP allows around 5 bots per IP
- DrFlayer warns you before hitting the limit
- Auth files are stored locally in
auth/
Posts one embed message and edits it every ~10 seconds with:
- Connected bot list + uptime
- DonutSMP stats snapshot (shards/playtime/money, cached ~60s)
- Recent dashboard logs
What the embed looks like:
Set environment variables (you can do discord token, channel id, and message id in the dashboard):
DISCORD_TOKEN(required)DISCORD_STATUS_CHANNEL_ID(required) – channel to post/edit the status embedDISCORD_STATUS_MESSAGE_ID(optional) – if set, edits that message instead of creating oneDONUTSMP_API_KEY(optional) – used for/api/stats/*and the Discord embed stats