QueQiao
QueQiao V2 protocol bridge plugin supporting forward/reverse WebSocket connections for message exchange between Minecraft and external systems
Installation command
!!MCDR plugin install queqiaoAuthor
Repository
Synced at
...
Last update
...
Latest version
Total downloads
31
Back to catalogue
QueQiao MCDR
A MCDReforged plugin bridging the QueQiao V2 protocol, supporting both forward WebSocket (client) and reverse WebSocket (server) connection modes for real-time message exchange between a Minecraft server and external systems (e.g. NoneBot / QueQiao server).
đ Compatible Projects
This plugin follows the QueQiao V2 protocol and can interoperate with:
- UniBot â A cross-platform Minecraft bot; this plugin serves as its MCDR endpoint
- nonebot-adapter-minecraft â A NoneBot adapter for Minecraft that communicates with this plugin via the QueQiao protocol
- QueQiao â The official QueQiao protocol implementation
⨠Features
Connection
- đ Dual-mode WebSocket: client mode actively connects to the QueQiao server; server mode passively waits for QueQiao clients
- đ Auto-reconnect (client mode): configurable reconnect interval and max retry count
- đĨ Hot reload:
!!queqiao reloadreloads config and reuses the existing connection without restarting the server
API Handling (QueQiao â MCDR)
| API | Description |
|---|---|
broadcast | Broadcast a message to the game |
send_private_msg | Send a private message to a specific player |
send_title | Send a title/subtitle (configurable fade-in/stay/fade-out) |
send_actionbar | Send an ActionBar message |
send_rcon_command | Execute a RCON command and return the result |
get_status | Query server status (CPU/memory/players/MOTD, etc.) |
Game Event Forwarding (MCDR â QueQiao)
| Event | Source |
|---|---|
| Player join / quit | MCDR built-in events |
| Player chat / command | MCDR USER_INFO event |
| Player death | MoreGameEvents PlayerDeathEvent |
| Player advancement | MoreGameEvents PlayerAdvancementEvent |
đĻ Installation
Option 1: Download the .mcdr package
Download QueQiao-vX.X.X.mcdr from Releases and drop it into the MCDR plugins/ directory.
Option 2: From source
git clone https://github.com/Minecraft-UniBot/QueQiao.MCDReforged.git
cd QueQiao.MCDReforged
uv sync
Use the whole directory as a Directory Plugin, or pack it yourself:
uv run python -m mcdreforged pack
đŽ Commands
| Command | Permission | Description |
|---|---|---|
!!queqiao | 2 | Show help |
!!queqiao status | 2 | View connection status (mode, players, CPU, memory, MOTD, etc.) |
!!queqiao reload | 2 | Reload config and reconnect |
đ Dependencies
Runtime
- MCDReforged >= 2.15.0
- Python >= 3.12
Python packages
websockets>= 16.0PyYAML>= 6.0psutil>= 5.9
MCDR plugin dependencies
| Plugin | Usage | Required |
|---|---|---|
| MoreGameEvents | Player death & advancement events | â |
| Minecraft Data API | Player coords, health, XP level | â |
| online_player_api | Online player list | â ī¸ Optional (falls back to MCDR built-in API if missing) |
īŋŊđ License
Introduction source: docs/introduction-en.md