A Telegram bot for managing a synchronous Minecraft chat. Sends messages from a Telegram chat to a Minecraft parser.
Capable of handling:
- Text messages
- Voice messages (in development)
- Media files
The Minecraft server can be found here: Game Server Link
Programming Language: C++20
Библиотеки:
- tgbot-cpp – Telegram Bot C++
- CROW – Web Server
- nlohmann-json – JSON library
- Runs in multithreaded mode
- Main thread
- Separate threads for CROW and TgBot
- Additional threads for CROW (internal implementation)
- JSON configuration file support
- C++20-compatible compiler (GCC 10+, Clang 10+, MSVC 19.29+)
- CMake 3.15+
- Installed dependencies (see above)
- Clone the repository
git clone https://github.com/Igorantivirus/SynchMineChat-MainServer cd SynchMineChat-MainServer - Configure CMake
cmake -B build -DCMAKE_BUILD_TYPE=Release
- Build the project
cmake --build build --config Release
- Create configuration files (config structure is described in src/Services/Configs):
- CrowConfig.json
- ServerConfig.json
- TgBotConfig.json
- Navigate to the
builddirectory and run the program:./main
MIT License