Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed LGPL-2.1-only
Published 2 months ago
Updated last month
AQQBot
简体中文版
介绍
AQQBot是一个基于Onebot v11协议开发的QQ群与服务器互联的插件,可以让用户通过QQ群进行许多操作(例如绑定游戏账号、查询服务器状态)
功能
- 账户绑定: 玩家需要在QQ群中绑定账号后才能进入服务器
- 信息查询: 玩家可以在QQ群发送特定命令来查询账号的游戏状态(如步行距离),同时也可以查询服务器状态(如服务器tps)
- 群服互联: 玩家在QQ群发送的消息会被转发到服务器上,玩家在服务器发送的消息也会被转发到QQ群上
特点
- 轻量: 插件本体仅600KB不到
- 高度定制化: 你可以自由开关插件所内置的各个功能,只需要通过编辑配置文件
- 强大兼容性: 插件支持基于Spigot/Paper的所有服务端及Velocity
安装方式
- 安装一个基于Onebot v11协议的后端 (如Lagrange.OneBot, LLOneBot)
- 开启这些后端的正向WS(Websocket)转发功能,记住其中的端口号
- 安装插件,开启服务器后编辑bot.yml文件:
# 正向Websocket配置
ws:
# 主机地址
host: "localhost"
# 端口
port: 3001
# 启用插件的群号
groups:
- "114514"
- 将此处的
ws.host
(主机地址) 改为你后端所在服务器的地址(若你的后端和服务器在同一服务器内,不需要进行修改) - 将此处的
ws.port
(主机端口号) 改为你刚刚记住的端口号 - 将此处的
groups
中的114514
改为你要开启机器人功能的QQ群号
最后,重新启动服务器,若没有出现报错则代表连接成功
协议
本插件基于 LGPL-2.1 协议开源,请遵守该协议,最终解释权归 alazeprt 所有
Description
AQQBot is a plugin for interconnecting QQ groups and servers based on the Onebot v11 protocol, which allows users to perform many operations through QQ groups (e.g., binding game accounts, querying server status).
Function
- Account Binding: Players need to bind their accounts in the QQ group before they can enter the server
- Information query: Players can send specific commands in the QQ group to query the account's game status (e.g. walking distance), and also query the server status (e.g. server tps)
- Chat interconnection: messages sent by players in the QQ group will be forwarded to the server, and at the same time, messages sent by players in the server will be forwarded to the QQ group as well
Features
- Lightweight: plugin size is only less than 600kb
- Highly customizable: you can freely switch on and off the various functions built into the plugin, just by editing the configuration file
- Strong compatibility: the plugin supports all servers based on Spigot/Paper and Velocity
Installation
- install a backend based on the Onebot v11 protocol (e.g. Lagrange.OneBot, LLOneBot)
- Enable forward WS (Websocket) forwarding on these backends and memorize the port numbers.
- Install the plugin, turn on the server and edit the bot.yml file:
# Positive Websocket Configuration
ws:
# host address
host: "localhost"
# port
port: 3001
# Plugin-enabled group number
groups:
- "114514"
- Change
ws.host
(host address) here to the address of the server where your backend is located (if your backend and server are on the same server, you don't need to change it). - Change
ws.port
here to the port number you just memorized. - Change
114514
ingroups
here to the QQ group number you want to enable bots.
Next, Restart the server, if there is no error and warning, the connection is successful.
License
This plugin is open source based on LGPL-2.1 agreement, please abide by the agreement, the final interpretation right belongs to alazeprt all rights reserved.