Skip to content
/ awaybot Public

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

License

Notifications You must be signed in to change notification settings

dxxxxy/awaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awaybot

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

Discord

Features

  • Tracks various coin or bits gains.
  • Lightweight in terms of CPU and RAM usage.
  • Supports multi-account setups out of the box.
  • Always ensures the player is on private island.
  • Automatically logs any changes to stat variables in a JSON file.
  • Fully modular and easy to control (see disabledModules in Configuration).

Modules

Category Name Description
Presence Stay Ensures the bot is always in Skyblock on the Private Island.
Hibernate (requires apiKey) Joins the server when the user leaves and leaves the server when the user joins.
Tracking Allowance Tracks daily allowance coin gains.
Bits Tracks bit gains.
Interest Tracks bank interest coin gains.
Fundraising Tracks fundraising coin gains.

More Modules

You can create your own modules by creating a new TypeScript file in the module/ directory. The module loader will run the following function with the bot instance as a parameter:

export default (bot: Bot) => {
    // Your code here
}

Configuration

You can configure the bot by creating an accounts.json file in the root directory. The file should contain an array of account objects with the following properties:

[
    {
        "email": "xxx@xxx.xxx",
        "uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "disabledModules": [
            "hibernate"
        ]
    },
    {
        "email": "xxx@xxx.xxx",
        "uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "disabledModules": []
    }
]

You can disable an account by adding "disabled": true to the account object.

Docker

You can run the bot using Docker provided you have created an accounts.json configuration file in the repository you are executing the command.

docker run --name awaybot --pull=always --detach -v ${pwd}/accounts.json:/awaybot/accounts.json:ro dxxxxy/awaybot

Note: docker volume mounts require absolute path. Adjust ${pwd}, default for powershell, accordingly for your OS.

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

Disclaimer

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

License

GPLv3 © dxxxxy