A customizable AFK bot for Minecraft Java Edition built using Mineflayer.
Stay online, avoid getting kicked, simulate player activity, and automate actions like chatting, moving, and fighting mobs.
- π Auto-reconnect on disconnect or kick
- π€ Anti-AFK system (jumping, idle, circle, or random walk)
- π¬ Periodic auto chat messages
- π Chat logging system
- π Auto attack mobs or players
- π§ Move to specific coordinates
- π Swim and jump movement support
- Node.js v18 or higher
- Minecraft Java Edition server
- (Optional) Mojang or Microsoft account if using premium login
- Clone the Repository
git clone https://github.com/xFrogly/Minecraft-bot.git
cd minecraft-afk-bot- Install Dependencies
npm installStart the bot using:
node start.jsMake sure you've configured your bot settings inside config/settings.js before starting.
This project is open source and available under the MIT License.
Made with β€οΈ by xFrogly
If you like this project, please give it a β on GitHub!