This is a lightweight Minecraft Java AFK Bot powered by Mineflayer. It connects to a Java server, performs basic movements to avoid AFK detection, and can be customized via a simple configuration file.
⚠️ Warning Before You Begin
Before starting the bot, please make sure that the Offline Mode (Pirated/Not Original) option in the settings section of your Aternos server is active.
Secure the bot to protect it from monsters in the game.
🤖 Minecraft AFK Bot (Mineflayer-Based)
This is a lightweight Minecraft Java AFK Bot powered by Mineflayer. It connects to a Java server, performs basic movements to avoid AFK detection, and can be customized via a simple configuration file.
⚠️ Warning Before You Begin
Before starting the bot, please make sure that the Offline Mode (Pirated/Not Original) option in the settings section of your Aternos server is active.
Secure the bot to protect it from monsters in the game.
✨ Features
config.json⚡ Installation
1. Clone the repository
2. Install dependencies
3. Configure
config.json🤖 Starting the Bot
On successful connection:
✅ BotName is Ready!in the console⚙️ Configuration Options (
config.json)serverHostserverPortbotUsernamebotChunk⚠️ Notes
setControlState('sneak', true), but some servers may block or ignore this action.📚 Resources & Contributions
Feel free to contribute by opening a pull request or submitting an issue.
📄 License
This project is licensed under the MIT License.
Get started now and keep your server active with a smart, customizable bot! ⛏️