Home

Awesome

<div align="right"> 🌍<a href="https://github.com/17TheWord/QueQiao/blob/main/README_EN.md">English</a> / 中文 </div> <p align="center"> <img src="https://raw.githubusercontent.com/17TheWord/nonebot-adapter-minecraft/main/assets/logo.png" width="200" height="200" alt="ChatImage"> </p> <div align="center">

鹊桥

✨ 连接 Minecraft 服务器的桥梁 ✨

</div> <p align="center"> <a href="https://github.com/17TheWord/QueQiao/blob/main/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-green" alt="license"> </a> <a href="https://www.spigotmc.org"> <img src="https://img.shields.io/badge/SpigotMC-1.12.2--latest-blue?logo=SpigotMC" alt="spigotmc"/> </a> <a href="https://files.minecraftforge.net"> <img src="https://img.shields.io/badge/Forge-1.16.5--1.21-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA7VBMVEUdLUEcLEAbKz8aKj4sO04zQlQzQVM0QlQ2RFY2RVYlNEgqOUx0fouPl6GNlZ+Fjpl/iJO7wMbe4ePU19vLz9TEyM6dpK2Gjpk9S1weLkJZZXPS1dn////4+fni5Ofv8fL+/v7o6euDjJc1Q1UfL0MeLUEaKj+WnafX2t7j5ef19fb39/hyfIgbLEAbK0AvPlA3RVd3gY35+frX2t0rOk0nNkp8hZH4+Pnp6+1kb30oN0q3vMPg4uX3+Pjl5+nY296zub8+TF3JzdKTm6ReaXhTX25daXeLk57Hy9A8SlsgMEMrOkwkM0cjMkYgL0P3AqTmAAAAAWJLR0QcnARBBwAAAAd0SU1FB+AJFRIdHqqGUp8AAACMSURBVBjTY2AgFzBCAYjNxMzMzMjCysbKys7BycXAwM3Dy8cvICgkLCIqKCYuwcQgKSUtIysnLyOjoKikrKIK1KLGqa6hqSUjo62jqwcxUI9B38DQSMbYhAluB5OpmbmMhaUVI8xOFmsbOVs7ewcTqAiTo5Ozi6ubu4cnTJOXtw/QMb7cfgiHIpEEAQAlIg2L5ZmkuQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wOS0yMVQxODoyOTozMCswMjowMOts9rwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDktMjFUMTg6Mjk6MzArMDI6MDCaMU4AAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAABJRU5ErkJggg==" alt="forge"> </a> <a href="https://fabricmc.net"> <img src="https://img.shields.io/badge/Fabric-1.16.5--1.21-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAASCAYAAACEnoQPAAAAAXNSR0IArs4c6QAAAgVJREFUOE9jZCAALEy0/p84c40RmzKsgjCFII2L53QxxKaUMTD//St99PzNZ8iGENQ8d1obw4SpCxjuP3oc/fXT18vHz964DDOAoOa+jmoGURF+hrySFoZ3Hz4vOnnmajxBzchObqkrYpCRFmM4fuo8w8y5KxlgYYBhs7WhutRfZuanMBtBtoD8XF6YxiAhIcogIswP5oMMQNFsaaJZyi/A75WWGOagrqrE8P37TwZ+fm6Gy1dvMWzfdZhBTkaSwcnekqG4qp3hPyPDThTN5ibaC4UEeOMm9dSAvfX6zUewf0EA5Gd5ORmGkAAPhpqmPrAYXDPIj+nJ4Qw2lsYoUQoyAAS+f//BcP7iVYY1G3YweLg5M+zYtReiGRY4IPa/f/8Y3r77DLcRJPbw0QuwARcuXQNrBgGwn0Eay4qyGHS1FLDaCHI2SHNn/yyGT5+/okYVSHNBTgqDuoosAzsHGwMrCzPYkI8fvzJ8/wEJsKPHzzOs27jzwJcvX7YdP3O9Gx7PIM1JcSEMIiJiDDLSIgyC/DxwF8CcCwognMkTZgAvLx8DDzc3g4aaLNgAkGaQRoIZA2SAnbUpg5qqIoOQkAgDHw8HXo0oUWVppO0uJilSwsPN6eLiZMOwb/8xhtt3H+C0FUUziANKJNxc7HERIT4M8xatgUcJSjQgcXCmbVhc4tIIEgcAl83Xiz8XILwAAAAASUVORK5CYII=" alt="fabric"> </a> <a href="https://papermc.io/software/velocity"> <img src="https://img.shields.io/badge/Velocity-3.3.0-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACA0lEQVRoBe2avUoEMRSF8yaCnWAvaGFjYWkjFhY2NlYWgoVgY2VnY+cjCFY+wGKzyiqIIGKt7LpvIDaRb+Asl1HZTIbZmUgCl5vJJpPzc2dYyLjPL+9t3A6e/OHxqV9d3/Tzi8t+bmGp1QADWMAENouVvrMDTGob8LT9wWgxTwhs7+53HrzIgVUkCgIpKC/wynLCUVcaTC2D3aWovoQGu+MJ10BqGeyuC6/KWOHA7mIXd2VdJtC2E9mB7EDNP4u5hHIJ5RKqqQAltLK24c/OL4qgP8uyin6ID45OfP/uwau9vQ/95dW1JydBQMCVIUTQejf9gghkQiOWdJQDKG0bTgAAsGrWHY1RZls7ez+iTtlVJsBmtgEaUICzbTQa++eXVztUEIS8gjUQZ/3MHEBZQptr47IrIB9+jAsC/KYSsxngCDJTBwQeAvRxgD4gbAkN7h8n6ts1zP0rICdBQnPtEhJKQKGomtTXtc0QVRnZzD1CgWteZQIsZKNyAxQKkq365Xlcs96WksDE5CgClAtl8VuDAL+FBg7EANeaKAIsFgkAoyhR520iQFVzNIGqGzU1PxNoStnQ+2YHQpVqal52oCllQ++bHQhVqql52YGmlA29b/oHHMkfMSV/yJf8MSsn3im6AGaw/49PDfTdQQpOSHlhnjigAZ4JJvF26sIZ8rTPbb4BrNNEDGiTm7EAAAAASUVORK5CYII=" alt="velocity"> </a> <a href="https://github.com/17TheWord/QueQiao/releases"> <img src="https://img.shields.io/github/v/release/17TheWord/QueQiao" alt="release"> </a> </p> <p align="center"> <a href="https://github.com/17TheWord/QueQiao/wiki">📖Docs</a> · <a href="https://modrinth.com/plugin/queqiao">⬇️Modrinth</a> · <a href="https://www.curseforge.com/minecraft/mc-mods/queqiao">⬇️CurseForge</a> · <a href="https://github.com/17TheWord/QueQiao/issues">🐛Submit Suggestion/Bug</a> </p>

介绍

快速开始

  1. 安装服务端对应的 插件/Mod
  2. 配置 config.yml 中的 websocket_server
    • enable: true # 是否启用
    • host: "127.0.0.1" # WebSocket Server 地址
    • port: 8080 # WebSocket Server 端口
  3. 启动服务器,等待开启 Websocket Server
  4. 使用 ApiFox 或其他API测试工具,或连接 对接 项目
    • 配置全局 Request Header
      {
        "x-self-name": "TestServer",
        // 必填
        // 服务器名称,必须与 config.yml 中的 'server_name' 一致
        "Authorization": "Bearer 123",
        // 选填
        // 鉴权,必须与 config.yml 中的 'access_token' 一致,如果 config.yml 中的 'auth_token' 为空,则可不设置此项
        "x-client-origin": "apifox"
        // 必填
        // 客户端来源,如果来源为 'minecraft',则表示来自 Minecraft 的 Websocket Client,且会被 Minecraft 端的 Websocket Server 拒绝
      }
      
  5. 开始游戏,加入服务器

帮助与下载

对接

兼容

特别感谢

贡献与支持

开源许可

本项目使用 MIT 作为开源许可证。