a minecraft bot swarm that:
- does tasks
- when anyone's attacked, everyone attacks back
- can clear entire areas
- if there's nothing else to do, follow their owner
made possible by rust and azalea
under the hood there's a server that coordinates tasks and clients that request tasks and report certain events in the world
they use simple tcp packets to communicate with one another
since after like 20 or so bots in a single process all the bots would lag uncontrollably, have horrible ping and randomly disconnect, so multiple client processes are used
the server coordinates username generation, the clients are pretty much slaves to the server
minecraft version 1.21.5
uses rust nightly so use rustup to configure your toolchain appropriately
clone the repo
cargo run -p client_v2 --release master 3*5 your_mc_usernameyou can edit 3*5 to be anything you want, it's number of clients per process * number of processes
they'll join localhost:25565 and start following you
in chat, you can use the following commands:
gang demolish <x> <y> <z> <to x> <to y> <to z>
gang stop


