MiraiForum

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

    ApexLookUp - Apex英雄查询插件

    插件发布
    kotlin jvm apex
    16
    160
    1553
    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.
    • Shennoter
      Shennoter 摸鱼 last edited by Shennoter

      v1.3.0已更新

      • 增加了查询猎杀门槛的功能
      • 增加了查询官方活动新闻的功能(游戏大厅弹出来那些)
      • 增加了手动和自动清除缓存文件的功能 @EvolvedGhost
      • 修复了段位图片错误的问题
      • (应该是)彻底修复了查询特定玩家id时gson报错的问题 @yz01222
      • 优化了代码文件结构

      satrsdownloadslicenseRelease

      • 项目地址
      • 这个插件可用于查询Apex英雄的
        • 地图轮换
        • 玩家信息
        • 复制器轮换
        • 猎杀门槛
        • 官方活动新闻
      • 如果喜欢请点一个⭐Star,谢谢!!!
      • 贡献者:@EvolvedGhost ,感谢大佬!
      • 5月1日起请到https://portal.apexlegendsapi.com/使用apikey登录后绑定discord帐号,否则两周后(5月15日后)会限制查询频率(1次/秒)

      食用前准备

      • 在https://apexlegendsapi.com/获取ApiKey填入config/pers.shennoter.ranklookup/config.yml
      • 安装字体“微软雅黑”,否则可能发生错误。不装也可以,但如果报错就得装了
      • 确认已经安装chat-command插件

      指令

      详见用户手册PermissionCommand
      如果输了命令没反应请在控制台输入/permission add <想要给予权限的对象> pers.shennoter.ranklookup:<想要开启的指令>
      如给予所有对象关于此插件的所有权限,请输入/permission add * pers.shennoter.ranklookup:*

      指令 功能
      /<apexmap 地图查询> 查询当前地图轮换情况
      /<apexid 玩家查询> [Origin ID] 查询某玩家(使用Origin ID)(空格需用@@填充)
      /<apexcraft 复制器查询> 查询当前复制器轮换情况
      /<apexpred 猎杀查询> 查询当前猎杀门槛
      /<apexnews 新闻查询> [index] 查询官方活动新闻(游戏大厅显示的那些),index为文章序号
      /<apexcache 清除缓存> 立即清除产生的缓存文件,解决可能出现的缓存问题

      配置文件

      配置名称 功能
      ApiKey ApiKey:如果没有请到 https://apexlegendsapi.com/ 获取
      mode 机器人回复方式: pic为图片,text为文字(玩家信息、地图轮换和猎杀门槛)
      picType 图片质量:PNG原图,更清晰;JPG更小,发送更快
      cacheExpireTime 缓存图片过期时间,默认为30(单位:天)
      cacheAutoDel 是否自动清除过期缓存,true为是,false为否

      示例

      • 查询玩家
        player
      • 查询地图轮换
        map
      • 查询复制器轮换
        craft
      • 查询猎杀门槛
        craft
      • 查询官方活动新闻
        craft
      1 Reply Last reply Reply Quote 1
      • T
        Teresa last edited by

        给大佬点赞

        Shennoter 1 Reply Last reply Reply Quote 1
        • Shennoter
          Shennoter 摸鱼 last edited by

          v0.1.1版本已更新

          • 修复了一个因为追踪器数量导致的数组溢出bug
          • 增加了返回具体错误原因的功能
            Release
          1 Reply Last reply Reply Quote 0
          • Shennoter
            Shennoter 摸鱼 @Teresa last edited by

            @Teresa 谢谢谢谢

            1 Reply Last reply Reply Quote 0
            • S
              SVIPNB last edited by

              我在p'lugins文件夹中放入chat-command-0.5.1.jar和ranklookup-0.1.1.mirai.jar,重启之后控制台显示战绩查询插件已载入,输入指令,但是机器人没有反馈

              Shennoter 1 Reply Last reply Reply Quote 0
              • M
                moeboke last edited by

                大佬大佬,有没有可能加入场均和kd的查询。

                Shennoter 2 Replies Last reply Reply Quote 0
                • Shennoter
                  Shennoter 摸鱼 @SVIPNB last edited by

                  @SVIPNB 输入的指令是/rank apexid xxxxx这种形式的吗

                  S 2 Replies Last reply Reply Quote 0
                  • Shennoter
                    Shennoter 摸鱼 @moeboke last edited by

                    @moeboke 后续会添加

                    1 Reply Last reply Reply Quote 0
                    • S
                      SVIPNB @Shennoter last edited by

                      @Shennoter 是这样的格式,控制台没有任何反应,报错也没有

                      1 Reply Last reply Reply Quote 0
                      • S
                        SVIPNB @Shennoter last edited by

                        @Shennoter 会是权限ID的问题吗?文中介绍的权限ID我没看懂

                        Shennoter 1 Reply Last reply Reply Quote 0
                        • Shennoter
                          Shennoter 摸鱼 @SVIPNB last edited by

                          @SVIPNB 那应该就是了,你要在你的群里面输这个指令/permission add <被许可人 ID> pers.shennoter.ranklookup:command.rank
                          <被许可人 ID>这里如果是用户的话就填qq号;
                          如果是群的话就填“g群号”,比如群号是123456的话,你就填/permission add g123456 pers.shennoter.ranklookup:command.rank

                          S 2 Replies Last reply Reply Quote 0
                          • S
                            SVIPNB @Shennoter last edited by

                            @Shennoter 好的多谢

                            1 Reply Last reply Reply Quote 0
                            • S
                              SVIPNB @Shennoter last edited by

                              @Shennoter 每个群每一个想要查询的人都要先增加权限吗?

                              Shennoter 1 Reply Last reply Reply Quote 0
                              • Shennoter
                                Shennoter 摸鱼 @SVIPNB last edited by

                                @SVIPNB 不用,添加群号就行了

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  SVIPNB @Shennoter last edited by

                                  @Shennoter 好的,多谢,希望大佬越做越好,也希望以后能增加一个查询今天复制器造什么的功能,加油!

                                  Shennoter 2 Replies Last reply Reply Quote 0
                                  • Shennoter
                                    Shennoter 摸鱼 @SVIPNB last edited by

                                    @SVIPNB 谢谢,这个以后会添加

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SVIPNB last edited by

                                      当apexid中间有空格,会显示查询错误,控制台显示查询出错

                                      S Shennoter 2 Replies Last reply Reply Quote 0
                                      • S
                                        SVIPNB @SVIPNB last edited by

                                        查询出错.png IMG_20220318_231117.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Musa-Go last edited by

                                          这个是不是不是最新的插件

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Musa-Go last edited by

                                            5a3af895-71d0-407b-a201-c03aeeee20dd-image.png
                                            查询自己的ID会报错这个

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 1 / 8
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact us