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

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 one 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.