MiraiForum

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

    MiraiWiki - 群聊内问答插件

    插件发布
    java jvm kotlin plugin 问答faq
    6
    28
    7011
    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.
    • Under-estimate
      Under-estimate 摸鱼 @sky-eve-yang last edited by Under-estimate

      @sky-eve-yang 可能是配置文件损坏,请在关闭MiraiConsole之后删除config/org.zrnq.wiki/MiraiWikiConfig.yml,然后再试一次

      S 2 Replies Last reply Reply Quote 0
      • S
        sky-eve-yang @Under-estimate last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • S
          sky-eve-yang @Under-estimate last edited by

          @Under-estimate
          您好,请问这个文件在哪里呢?

          这是我的文件夹结构
          8c9fe50d-75cc-45aa-8d2e-eae12e877a29-image.png

          mcl
           ├── bots
           │   └── 3032936462
           ├── config
           │   ├── Console
           │   ├── net.mamoe.mirai-api-http
           │   ├── net.mamoe.mirai.console.chat-command
           │   └── top.mrxiaom.qrlogin
           ├── config.json
           ├── data
           │   ├── Console
           │   └── top.mrxiaom.qrlogin
           ├── java
           │   ├── bin
           │   ├── conf
           │   ├── legal
           │   ├── lib
           │   ├── NOTICE
           │   └── release
           ├── libs
           │   ├── mirai-console-2.16.0-all.jar
           │   ├── mirai-console-2.16.0-all.jar.sha1
           │   ├── mirai-console-terminal-2.16.0-all.jar
           │   ├── mirai-console-terminal-2.16.0-all.jar.sha1
           │   ├── mirai-core-all-2.16.0-all.jar
           │   └── mirai-core-all-2.16.0-all.jar.sha1
           ├── LICENSE
           ├── logs
           │   └── 2023-10-28.log
           ├── mcl
           ├── mcl-installer-1.0.7-windows-x86.exe
           ├── mcl.cmd
           ├── mcl.jar
           ├── modules
           ├── plugin-libraries
           │   ├── com
           │   ├── io
           │   └── org
           ├── plugin-shared-libraries
           │   └── libraries.txt
           ├── plugins
           │   ├── chat-command-0.5.1.mirai.jar
           │   ├── chat-command-0.5.1.mirai.jar.sha1
           │   ├── chat-command-0.5.1.mirai.metadata
           │   ├── mcl-addon-2.1.1.jar
           │   ├── mcl-addon-2.1.1.jar.sha1
           │   ├── mirai-api-http-2.9.1.mirai2.jar
           │   ├── mirai-console-dev-qrlogin-0.2.0.mirai2.jar
           │   ├── QABotRefect.zip
           │   └── Wiki-2.0.3.mirai.jar
           └── README.md
          

          这是我的config.json 文件:

          {
            "module_packages": [
              "mcl:org.itxtech.mcl.module.builtin"
            ],
            "mirai_repo": "https://repo.mirai.mamoe.net/keep/mcl",
            "maven_repo": [
              "https://maven.aliyun.com/repository/public"
            ],
            "packages": {
              "net.mamoe:mirai-console": {
                "channel": "maven-stable",
                "version": "2.16.0",
                "type": "libs",
                "versionLocked": false
              },
              "net.mamoe:mirai-console-terminal": {
                "channel": "maven-stable",
                "version": "2.16.0",
                "type": "libs",
                "versionLocked": false
              },
              "net.mamoe:mirai-core-all": {
                "channel": "maven-stable",
                "version": "2.16.0",
                "type": "libs",
                "versionLocked": false
              },
              "org.itxtech:mcl-addon": {
                "channel": "maven-stable",
                "version": "2.1.1",
                "type": "plugins",
                "versionLocked": false
              }
            },
            "archiveSuffix": [
              ".zip",
              ".mirai2.jar",
              ".mirai.jar",
              "-all.jar",
              ".jar"
            ],
            "disabled_modules": [],
            "proxy": "",
            "log_level": 1,
            "modules_props": {}
          }
          
          Under-estimate 1 Reply Last reply Reply Quote 0
          • Under-estimate
            Under-estimate 摸鱼 @sky-eve-yang last edited by

            @sky-eve-yang 已确认是与mirai 2.16.0不兼容导致的问题,稍后会在github发布修复版本

            S 1 Reply Last reply Reply Quote 0
            • S
              sky-eve-yang @Under-estimate last edited by

              @Under-estimate 好的!感谢您提供的帮助和维护!

              1 Reply Last reply Reply Quote 0
              • J
                JiaYicard last edited by

                image.png

                mirai2.16版本,jdk11,试过了mirai版本和mirai2版本,字体也复制过了。还是会出现以下错误,显示是配置文件不正确,我看了配置文件只有 ’‘ ,没有内容。删除重启还是一样,求解答

                Under-estimate 1 Reply Last reply Reply Quote 0
                • Under-estimate
                  Under-estimate 摸鱼 @JiaYicard last edited by

                  @JiaYicard 出错的位置看起来像是mirai-api-http的配置文件, 可以检查一下这个插件的配置文件,或询问插件作者
                  323de1cc-2be5-43c9-848a-b06b0646d8b9-image.png

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JiaYicard @Under-estimate last edited by

                    @Under-estimate 感谢,是mirai-api-http配置文件的问题,删除重新生成后解决了

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