https://github.com/urpagin/mcconnectbot
Connects multiple offline bots to a Minecraft server using botcraft.
https://github.com/urpagin/mcconnectbot
boost bot bot-command botcraft build-system cmake cpp debian dependencies git installation linux make minecraft minecraft-server multi-bot offline-mode openssl server submodules
Last synced: 22 days ago
JSON representation
Connects multiple offline bots to a Minecraft server using botcraft.
- Host: GitHub
- URL: https://github.com/urpagin/mcconnectbot
- Owner: Urpagin
- Created: 2024-03-19T22:05:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T11:38:31.000Z (about 2 years ago)
- Last Synced: 2025-10-24T19:45:00.299Z (7 months ago)
- Topics: boost, bot, bot-command, botcraft, build-system, cmake, cpp, debian, dependencies, git, installation, linux, make, minecraft, minecraft-server, multi-bot, offline-mode, openssl, server, submodules
- Language: C++
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


## 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.
```bash
sudo apt-get install libssl-dev g++ git openssl cmake libboost-all-dev -y
```
### Auto installs & builds for you (Debian-based command)
```bash
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
```bash
git clone --recurse-submodules https://github.com/Urpagin/McConnectBot.git
```
```bash
cd McConnectBot && mkdir build && cd build
```
```bash
cmake ..
```
Good luck if you only have a few cores. Grab a drink
```bash
make -j$(nproc)
```
Congratulations! (hopefully nothing explodes or bugs out)
```bash
./bin/McConnectBot
```