RCON 接口文档与测试工具

接口文档

1. 绑定激活码、QQ群或管理员QQ

URL: https://bot.przsc.cn/rconapi.php

方法: POST

参数:

action: bind
activation_code: 激活码 (string)
qq_group_account: QQ群账号 (string)
admin_qq: 管理员QQ (string)
        

示例请求:

{
    "action": "bind",
    "activation_code": "123456789",
    "qq_group_account": "12345",
    "admin_qq": "54321"
}
        

2. 执行 RCON 命令

URL: https://bot.przsc.cn/rconapi.php

方法: POST

参数:

action: command
activation_code: 激活码 (string)
command: RCON 命令 (string)
        

示例请求:

{
    "action": "command",
    "activation_code": "123456789",
    "command": "ShowServerInfo"
}
        

接口测试工具