跳到正文

QQBot:Rebuild

作者:JokerZHEN

A Python QQ bot based on Nonebot2 that interacts with Minecraft in various ways. It is feature-rich, easy to use, highly performant, and configurable, requiring only simple setup to get started.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Nonebot2 Minecraft QQ 机器人 | Nonebot2 Minecraft QQ Bot

一款基于 Nonebot2 用多种方式与 Minecraft 交互的 Python QQ 机器人。功能丰富,使用简单,性能高强且可以自行配置,仅需简单配置即可使用。

A Python QQ Bot based on Nonebot2 that interacts with Minecraft in multiple ways. Feature-rich, easy to use, high performance, and highly configurable—ready to use with simple setup.


✨ 核心功能 | Core Features

| 中文 | English |
|:—|:—|
| 多服互联,群服互通 | Multi-server interconnection, group-server communication |
| 在不同服务器之间转发消息 | Forward messages between different servers |
| 可在游戏内看到 QQ 群的消息 | View QQ group messages in-game |
| 可使用指令在游戏内向 QQ 群发送消息 | Send messages to QQ groups from in-game using commands |
| 可播报服务器开启、关闭,玩家进入离开服务器以及死亡消息 | Broadcast server start/stop, player join/leave, and death messages |
| WebUi 简单配置 | Simple configuration via WebUI |
| 戳一戳机器人发送一言卡片 | Poke the bot to send a hitokoto (quote) card |
| 可自行配置指令的开启或关闭 | Enable or disable commands as needed |
| 可自行配置接入 AI 功能 | Optional AI integration configurable |

📖 服务端以及配置文档 | Server Setup & Docs → Wiki


💬 QQ 群指令 | QQ Group Commands

| 指令 | Command | 功能 | Function |
|:—|:—|:—|:—|
| luck | luck | 查看今日幸运指数 | Check today’s luck index |
| mcdr | mcdr | 在指定服务器执行 MCDR 指令 | Execute MCDR commands on specified servers |
| list | list | 查询每个服务器的玩家在线情况 | Query online player count for each server |
| help | help | 查看帮助信息 | View help information |
| server | server | 查看在线服务器及编号、占用 | View online servers with IDs and resource usage |
| bound | bound | 绑定白名单相关指令 | Whitelist binding commands |
| command | command | 发送指令到服务器 | Send commands to the server |


🎮 游戏内管理员指令 | In-game Admin Commands

管理员可使用 /qqbot 命令 | Admins can use /qqbot commands

| 指令 | Command | 说明 | Description |
|:—|:—|:—|:—|
| /qqbot reconnect | /qqbot reconnect | 重连 WebSocket | Reconnect WebSocket |
| /qqbot config | /qqbot config | 查看配置文件 | View configuration file |
| /qqbot config uri "ws://链接" | /qqbot config uri "ws://link" | 更改配置文件 URI 链接 | Change configuration URI |
| /qqbot config token "TOKEN" | /qqbot config token "TOKEN" | 更改配置文件 Token | Change configuration Token |
| /qqbot config reconnect_interval "次数" | /qqbot config reconnect_interval "count" | 更改重连次数 | Change reconnect interval count |
| /qqbot config name "服务器名字" | /qqbot config name "server_name" | 更改服务器名字 | Change server name |
| /qqbot test | /qqbot test | 测试链接 | Test connection |
| /qqbot info 或 /qqbot | /qqbot info or /qqbot | 查看 QQBOT 状态 | View QQ Bot status |


常见问题

QQBot:Rebuild 支持哪些 Minecraft 版本?

QQBot:Rebuild 支持 Minecraft Java 版 1.21.10–26.1.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

QQBot:Rebuild 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分