This is a simple Minecraft bot created using mineflayer that can be controlled using Discord.js and performs actions such as mining and collecting blocks.
- Clone or download this repository.
- Install Node.js if you haven't already.
- Open a terminal in the repository folder and run
npm install
to install the required dependencies. - Rename
config.example.js
toconfig.js
and fill in the required fields. (In the root folder & ./parts/discord/config.example.js) - Run the bot by executing
node index.js
.
This bot requires the following dependencies:
- discord.js (
^14.9.0
) - minecraft-data (
^3.31.0
) - mineflayer (
^4.8.1
) - mineflayer-collectblock (
^1.4.1
) - mineflayer-pathfinder (
^2.4.2
) - mineflayer-web-inventory (
^1.8.4
) - vec-3 (
^0.1.8
) - js-yaml (
^4.1.0
)