Minehut bot made to automatically play a server. (WIP)
- Chat relay
- Automatically detect server type
- Automatically gather resources based on server type
- Auto server discovery (via minehut api)
- Box server support
- Auto raid
- Multiple instance easier management (web ui?)
- Commands
- PvP
- Requirements: NodeJs, NPM
- Clone / Download this repo
- Run
installer.cmd
if you are on Windows,installer.sh
if you are on Linux
- To run the bot, in the repo directory
- (Windows) open Powershell, type
$env:USERNAME='PUT MICROSOFT EMAIL HERE';
and press enter. Then typenode .
and press enter. - (Linux) open a terminal of choice, type
USERNAME="PUT MICROSOFT EMAIL HERE" node .
- (Windows) open Powershell, type
- The bot should now be running.
- There are 2 main things you might want to change
- Minecraft account email
- Chat relay webhook url
5.1. The account email can be changed by setting the env variable "USERNAME".
5.2. The chat relay url can be changed by setting the env variable "CHAT_RELAY".
5.3. You can view all config values here
- To avoid setting the variables each time manually, we can create a
.env
file and change all values there. 6.1 Example file:
.envThis file must be located in the root of the repo's directory.USERAME="[email protected]" CHAT_RELAY="https://discord.com/api/webhooks/696969696/aaaaaaaaaaaaaaaaa/"
- installer.sh + idea - meinbot
- PvP library - mineflayer-custom-pvp