MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Minecraft2Mirai——把Mirai-API-Http接入MC服务器

    其他项目发布
    1
    1
    399
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • iceBear67
      iceBear67 last edited by iceBear67

      https://github.com/iceBear67/Minecraft2Mirai
      效果
      代码一坨屎,全都是兼容代码...
      配置示例(plugins/Minecraft2Mirai/config.json)

      {
        "baseUrl": "http://localhost:8080/",
        "QQ": xxx,  // bot qq
        "authKey": ".....",
        "displayMessage": true, // useless in this edition
        "reconnectLimit": 10,
        "reconnectTimeWait": 3000,
        "debug": true,
        "targetGroup": 114514 // qq group
      }
      

      需要Mirai-API-Http 1.X 并且启用 WebSocket.
      只支持 Spigot 系服务器,1.8 以上

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact