鹊桥
首页
介绍
部署
配置文件
命令
  • V2 事件
  • V1 事件
  • V2 API
  • V1 API
常见问题
  • 标准开发
  • 快速开发
对接
GitHub
首页
介绍
部署
配置文件
命令
  • V2 事件
  • V1 事件
  • V2 API
  • V1 API
常见问题
  • 标准开发
  • 快速开发
对接
GitHub
  • 总览
  • API 列表

    • 广播消息
    • 私聊消息
    • 标题 & 子标题
    • 动画栏
    • Rcon 命令

🛰️ WebSocket 接口文档

📡 接口名称

远程控制命令接口(send_rcon_command)


🧭 字段描述

字段路径类型默认值说明
commandstring-要执行的 RCON 命令字符串。

🧱 数据结构

🔹 消息格式

{
    "api": "send_rcon_command",
    "data": {
        "command": "list"
    },
    "echo": "1"
}

🔹 返回信息

{
    "code": 200,
    "api": "send_rcon_command",
    "post_type": "response",
    "status": "SUCCESS",
    "message": "success",
    "data": "There are 0 of a max of 20 players online: ",
    "echo": "1"
}
Edit this page
最近更新: 2025/12/2 15:22
Contributors: 17TheWord
Prev
动画栏