Protocol V2
首页
相关项目
  • nonebot-adapter-minecraft
  • nonebot-plugin-mcqq
  • mc-plugin
  • koishi-plugin-minecraft-sync-msg
  • zerobot-plugin-mcqq
  • astrbot_plugin_mcqq
  • queqiao_mcdr
  • koishi-plugin-minecraft-adapter
GitHub
首页
相关项目
  • nonebot-adapter-minecraft
  • nonebot-plugin-mcqq
  • mc-plugin
  • koishi-plugin-minecraft-sync-msg
  • zerobot-plugin-mcqq
  • astrbot_plugin_mcqq
  • queqiao_mcdr
  • koishi-plugin-minecraft-adapter
GitHub
  1. API
  • 首页
  • 部署
  • 配置文件
  • 命令
  • 开发 & 构建
  • API
    • Broadcast
    • Title & SubTitle
    • Action Bar
    • Private Message
    • Rcon
  • Event
    • Player
    • PlayerChatEvent
    • PlayerCommandEvent
    • PlayerJoinEvent
    • PlayerQuitEvent
    • PlayerDeathEvent
    • PlayerAchievementEvent
  • 数据模型
    • API
      • Response
    • EventModel
      • Base
        • BaseEvent
        • BaseMessageEvent
        • BaseNoticeEvent
        • BasePlayerMessageEvent
        • BasePlayerNoticeEvent
      • Achievement
        • Display
        • Achievement
      • Death
        • Death
    • Event
      • Player
        • Player
        • PlayerChatEvent
        • PlayerCommandEvent
        • PlayerJoinEvent
        • PlayerQuitEvent
        • PlayerAchievementEvent
        • PlayerDeathEvent
  1. API

Action Bar

ws://127.0.0.1:8080
ActionBar
最后修改时间:2025-11-13 13:24:06

🛰️ WebSocket 接口文档#

📡 接口名称#

状态栏消息接口(send_actionbar)

🧭 字段描述#

字段路径类型默认值说明
messagejson-ActionBar 消息内容。参考 Minecraft 文本组件。

🧱 数据结构#

🔹 消息格式#

{
    "api": "send_actionbar",
    "data": {
        "message": [
            {
                "text": "actionbar message",
                "color": "aqua"
            }
        ]
    },
    "echo": "1"
}

🔹 返回信息#

{
    "code": 200,
    "post_type": "response",
    "status": "SUCCESS",
    "message": "success",
    "echo": "1"
}

请求参数

Header 参数

修改于 2025-11-13 13:24:06
上一页
Title & SubTitle
下一页
Private Message
Built with