An AFK Bot for Minecraft Servers.
Currently, this program only supports online-mode=false.
If you are building from source, install these NodeJS modules:
- mineflayer
- mineflayer-pathfinder
- minecraft-data
- Download
afkbot.zipfrom latest release. - Extract it.
- Open
afkbot.exe. - Done! You can open
settings.jsonto configure some more settings.
You can code custom actions for the bot, including moving, jumping etc.
To do so, you must open the scripts.js, then remove the code inside the modules.export function.
It has a parameter called bot, which you can use to control the bot. Documentation in api.md.
You can trigger these actions after saving scripts.js by pressing E in the terminal.