Skip to content

Prerequisites

Joining the server

Open .env.example. This is what you'll see:

host=
port=
playername=
  • host: Server address for the bot to connect to
  • port: Port of the server
  • playername: Bot username

After you specify all these parameters (after the =), rename .env.example to .env.

Example .env

host=lancer.aternos.me
port=25565
playername=lancer

Starting the bot locally

Open the terminal using Ctrl + Shift + `. Type:

cmd
yarn install

then, type:

cmd
yarn add --dev nodemon

finally, to start the bot, type:

cmd
yarn dev

If you run into any issues while doing this, don't hesitate to make an issue.

Run the bot 24/7

  1. Fork the aternos-afk-abuser repository
  2. Update .env.example and specify your server address, port, and bot username.
  3. Rename .env.example to .env.
  4. Don't forget to commit these changes to your forked repository.
  5. Connect your repository on any of these services

These services are just suggestions for you to host your bot. You are not constrained to use only these services. Use the software at your own risk. The creator of aternos-afk-abuser is not responsible for any damages caused by this bot.

Extra Config (optional)

For web viewing (to see what your bot is doing on your browser), follow these steps.

Open config.json. You'll see this:

json
{
    "radar_port": 3000,
    "radar_host": "localhost",
    "webviewer_port": 5000,
    "webviewer_isFirstPerson": true
}
  • radar_port: The default port for Minecraft radar.
  • radar_host: The default host for Minecraft radar.
  • webviewer_port: The default port to see what the bot is doing using your web browser.