Giter Site home page Giter Site logo

dxxxxy / awaybot Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 168 KB

A fully-modular mineflayer bot for staying afk in a smart manner on Hypixel Skyblock.

License: GNU General Public License v3.0

TypeScript 96.32% Dockerfile 3.68%
afk allowance away bits booster bot coins cookie docker hypixel

awaybot's Introduction

awaybot

A fully-modular mineflayer bot for staying afk in a smart manner on Hypixel Skyblock.

Features

  • Always ensures it is on skyblock and a private/visit island.
  • Lightweight in terms of CPU and RAM usage.
  • Fully modular and easy to control (set DISABLED_MODULES in .env).
  • Logs gains such as coins (allowance, interest) and bits in a JSON file.
  • Hibernates/takes-over your place when you leave and gives you control back when you join.
  • Colorful and detailed console output (set FORCE_COLOR=1 if color doesn't show).

Installing

You have two choices.

1. Git (clone)

You are expected to have Node.js installed. If faced with any issues, try using v18.16.0.

  1. Clone this repo.
  2. Install dependencies with npm install.
  3. Copy .env.example to .env and fill in the required values.
  4. Run the bot with npm start or npm run pm2-start (see pm2).

PM2

pm2 is a process manager for Node.js applications and here it is used for the hibernate/take-over feature. The bot will enter this phase when it gets kicked from the server due to someone else logging in. It will continuously poll the hypixel api using the api key to check if the player is offline and if so, pm2 will restart the bot, and it will take over the player's place.

Start the bot with npm run pm2-start and stop it with pm2 delete awaybot.

2. Docker

You are expected to have Docker installed.

Run the following command, replacing the environment variables from .example.env with your own values:

docker run --name awaybot --pull=always --detach -e [email protected] -e UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -e API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx dxxxxy/awaybot

Afterward, you can view and follow (-f) the logs with docker logs awaybot -f to view instructions on how to log into your Minecraft Microsoft Account.

Disclaimer

This is for educational purposes only. I am not responsible for any damage caused by this tool.

License

GPLv3 © dxxxxy

awaybot's People

Contributors

dxxxxy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

thisiscen

awaybot's Issues

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.