Urpagin / McConnectBot

Connects multiple offline bots to a Minecraft server using botcraft.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

command line program five bots saying the same thing at the same time

Purpose

Made to connect n number of bots to a Mincraft server, in offline mode though. Then those bots all have the possibility to send simultaneously a command.

Disclaimer

This is, for now, a quick project done swiftly to get to learn C++. So this is no good-looking repo.

Requirements

Building

  • Git
  • CMake & Make
  • g++

Dependencies

  • Boost
  • OpenSSL

Install all dependecy (Debian-based command)

Command to install all required packages on Debian-based Linux distributions.

sudo apt-get install libssl-dev g++ git openssl cmake libboost-all-dev -y

Auto installs & builds for you (Debian-based command)

sudo apt-get install libssl-dev g++ git openssl cmake libboost-all-dev -y && git clone --recurse-submodules https://github.com/Urpagin/McConnectBot.git && cd McConnectBot && mkdir build && cd build && cmake .. && make -j$(nproc) && echo 'Now execute with ./bin/McConnectBot'

How to install

git clone --recurse-submodules https://github.com/Urpagin/McConnectBot.git
cd McConnectBot && mkdir build && cd build
cmake ..

Good luck if you only have a few cores. Grab a drink

make -j$(nproc)

Congratulations! (hopefully nothing explodes or bugs out)

./bin/McConnectBot

About

Connects multiple offline bots to a Minecraft server using botcraft.


Languages

Language:C++ 82.0%Language:CMake 10.5%Language:Dockerfile 7.5%