Данияр

Aternos server in the afk bot 24/7

Kodari AI
KodariFri at 6:03 pm 1
AFKBotManager
A Minecraft plugin that keeps Aternos servers running 24/7 by managing an automated AFK bot. The plugin spawns a virtual player that joins the server, periodically sends heartbeat actions to prevent server shutdown, and automatically reconnects if disconnected. It includes configurable join intervals, auto-restart on crashes, and a command system to start/stop the bot. The bot simulates realistic player behavior with random movement and chat messages to avoid detection. Features include configurable bot name, connection timeout handling, and status monitoring through console logs.

A server plugin can’t keep an Aternos server online by acting as a real player. A hosted bot could connect as a player, but Aternos may still stop the server or restrict AFK bots, so 24/7 uptime isn’t guaranteed.

Do you want a bot that joins your server, or AFK features for players already online?

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code