c8dhjp4tyv-bit/DonutSMP-shard-bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Node app that logs into a Minecraft Java account and connects to donutsmp.net, then keeps the player online automatically so they do not get kicked for being AFK.
I want it to ask for my Minecraft username in the terminal, join the server, send the AFK command after spawning, and then keep the account active with simple movement like jumping and looking around. If the bot gets disconnected or kicked, it should try to reconnect on its own a bunch of times and remember the username so I do not have to type it again. If it connects successfully again, the reconnect counter should reset.
Keep it simple and easy to run from the command line, and make it easy to change the server address in one place if needed. If you need to check the latest docs for the Minecraft bot library, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit