GithubHelp home page GithubHelp logo

mhbot's Introduction

MinehutBot

Minehut bot made to automatically play a server. (WIP)

Features:

  • Chat relay

Feature todo:

  • 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?)

WIP (work in progress) features:

  • Commands
  • PvP

Using the bot

Installation

  1. Requirements: NodeJs, NPM
  2. Clone / Download this repo
  3. Run installer.cmd if you are on Windows, installer.sh if you are on Linux

Usage

  1. To run the bot, in the repo directory
    • (Windows) open Powershell, type $env:USERNAME='PUT MICROSOFT EMAIL HERE'; and press enter. Then type node . and press enter.
    • (Linux) open a terminal of choice, type USERNAME="PUT MICROSOFT EMAIL HERE" node .
  2. The bot should now be running.

Configuring

  1. 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
  2. To avoid setting the variables each time manually, we can create a .env file and change all values there. 6.1 Example file:
    .env
    USERAME="[email protected]"
    CHAT_RELAY="https://discord.com/api/webhooks/696969696/aaaaaaaaaaaaaaaaa/"
    This file must be located in the root of the repo's directory.

Credit

mhbot's People

Contributors

gkursi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.