Minecraft AFK Bot
A Minecraft AFK bot that keeps a session online and farms resources automatically — the grind continues while you are away.
What it is
The bot connects to a server, keeps the session alive and does the repetitive farming for you. Configure the target and let it run.
Highlights
- Keeps the session alive
- Automatic resource farming
- Simple configuration
Why I built it
Farms need hours. This bot holds the session and grinds while I am asleep or working — a classic quality-of-life automation for Minecraft players.
Tech stack
Built with Minecraft, Bot, Automation. The complete source code is open on GitHub at github.com/SirYadav1/minecraft-afk-bot — clone it, read it, fork it, and open issues if something breaks.
Related projects
If this one interests you, also look at Sonar Bypass v2, AdwanceSNI 2.0, AdwanceSNI — or browse all projects by SirYadav. The source for everything lives on github.com/SirYadav1.
More from SirYadav1
Minecraft AFK Bot is one of many open-source projects by Sundram Yadav. If you found it useful, star it on GitHub — github.com/SirYadav1/minecraft-afk-bot — and check the rest of the profile at github.com/SirYadav1 for network scanners, Minecraft research, bots and developer tooling. New projects ship regularly; the project index on this site stays up to date with every one of them.
About the author
Sundram Yadav — known online as SirYadav (GitHub: SirYadav1) — is a backend developer and security researcher from India. He builds open-source software in PHP, Node.js, Python and Go: network scanners, Minecraft protocol research, Android apps, Telegram bots and automation tooling. Everything on this page — and much more — lives on his GitHub repositories. Browse the full collection on the project index, or connect on Telegram and X (Twitter).