English | 中文
An MCDR plugin that synchronizes QQ messages to the game.
- Flask
pip3 install flask - Requests
pip3 install request - MCDReforged >= 1.0.0
pip3 install mcdreforged - OneBot Kotlin
Edit you setting.yml(usually at .../config/OneBot/settings.yml) like this
proxy: ''
bots:
123456789:
http:
enable: true
host: 127.0.0.1
port: 5700
accessToken: ''
postUrl: 'http://127.0.0.1:5701/plugin'
postMessageFormat: string
secret: ''
timeout: 0
- Edit your
server.propertiesto turn on RCON. - Config your RCON password and listening group id in the dictionary variable
CONFIGURESatqq2game.py. - Copy
qq2game.pyinto your MCDR plugins folder and start the server. - Run OneBot Kotlin.
-
Use
!!q2g statusto get current status of QQ to game. -
Use
!!q2g status <0/1>to set current status of QQ to game.
- Use
!!g2q statusto get current status of game to QQ. - Use
!!g2q status <0/1>to set current status of game to QQ.
You can change the prefix of the command and the default status of game to QQ and QQ to game in the dictionary
variable CONFIGURES at qq2game.py.
P.S. 0 stands for off and 1 stands for on.
This plugin is licensed under the GNU General Public License.