Skip to content

RoseRyzen/AFKBot

 
 

Repository files navigation

Discord

Release

AFKBot

This Bot is planned to "retire" sooner than later, don't worry, I'm currently coding a replacement that will include an executable App, so in theory it will be easier to download and use. If you have some doubts, don't hesitate to ask me in Discord :) (this is a temporary decision and it may vary)

As AFKBot may come to an end with the unconfirmed release of the new project, I would like to hear your opinions, thank you :) Google Form

A Bot for Minecraft to stay AFK thanks to mineflayer. Mainly for Windows, but should work on macOS and Linux.

Written in Node.js

Link to the page of this project.

logo

Features

  • Supports up to 1.16.5, recommended to use the latest MC versions.
  • Windows Desktop Notifications for events like death. These can be disabled inside config.json. Thanks to node-notifier.
  • Use a Discord Bot to control the AFKBot. Can be configured in config.json. Thanks to discord.js.
  • Pathfinding ability to make your AFKBot follow you from one place to another, thanks to mineflayer-pathfinder.
  • Auto-Eat feature to auto eat (obviously) thanks to mineflayer-auto-eat.
  • Reconnect ability in case it's kicked from the server.
  • Online/Cracked mode support.
  • Custom whispered replies to whispers from other players.
  • Looks at nearby entities, can be disabled in config.json.
  • Option to make Bot attack mobs inside his range (KillAura) for self-defense, can be disabled in config.json. Thanks to mineflayer-pvp
  • Shows who attacked the Bot and with what weapon. Thanks to mineflayer-bloodhound.
  • View AFKBot's view in a webpage, and control him with the middle button of the mouse. Can be disabled in config.json. Thanks to prismarine-viewer.

Downloads

I highly advise to download the latest version: Latest release

But you can always check out the older versions: Older releases

Install

  1. Make sure you have installed Node on your PC, once you have installed it, you can proceed to the next step. You can download Node here.

  2. Create a folder somewhere in you PC.

  3. Extract the downloaded .zip in the folder, there should be a folder named AFKBot-master, take the files and paste them where you want, like a folder.

  4. Now, open the command prompt (press WIN + R, it should open a window, type in "cmd" and hit ENTER).

  5. Navigate to the folder where you put the files (Example: type "cd C:\Users\DrMoraschi\Desktop\BotFolder" and hit ENTER).

  6. Now where are going to install mineflayer and the other dependencies, type:

    npm install

    this will install all dependencies that are necessary.

  7. Now that all the things have been installed, the Bot is ready to run and go AFK.

Commands

Commands will be sent to the channel on startup. You can choose.

How to Use

This Bot requires a Discord Bot to be set up beforehand, if you don't know how to do it. Discord Bot Tutorial

  1. Before starting the Bot, please take a look at all the options of the config.json.

  2. In your Command Line, repeat number 4 from Install; navigate to the folder where the files are located.

  3. To start the bot, just type in:

    npm start

  4. Once you've written all, hit ENTER and watch as the Bot starts.

WARNING

I am not responsible of any problems that this Bot may cause, when you are downloading it, it's up to you and to be responsible of your own actions.

Thank you.

This project may be considered as a continuation of JPenuchot's AFKBot, but I didn't know of the existence of that Repo when I named mine.

Discord Online Users

GitHub all releases

About

Minecraft Bot to stay AFK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.4%
  • HTML 4.3%
  • CSS 1.3%