Prerequisites
Joining the server
Open .env.example. This is what you'll see:
host=
port=
playername=host: Server address for the bot to connect toport: Port of the serverplayername: Bot username
After you specify all these parameters (after the =), rename .env.example to .env.
Example .env
host=lancer.aternos.me
port=25565
playername=lancerStarting the bot locally
Open the terminal using Ctrl + Shift + `. Type:
cmd
yarnTo start the bot, type:
cmd
yarn devIf you run into any issues while doing this, don't hesitate to make an issue.
Run the bot 24/7
- Fork the aternos-afk-abuser repository
- Update
.env.exampleand specify your server address, port, and bot username. - Rename
.env.exampleto.env. - Don't forget to commit these changes to your forked repository.
- 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.