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
yarn installthen, type:
cmd
yarn add --dev nodemonfinally, to 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 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.