MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    Synesthesia Beacon - 将英语字母以米哈游的游戏里的架空文字的字体渲染出来的插件

    插件发布
    1
    2
    794
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Samarium150
      Samarium150 童心未泯 最后由 编辑

      mirai-console-synesthesia-beacon

      TL; DR. 玩铁道玩的

      地址:Github

      将英语字母(拉丁字母)以米哈游的游戏里的架空文字的字体渲染出来的插件

      字体文件来自 HoYo-Glyphs

      具体使用文档放在了 wiki 页面和2楼

      下图是功能演示
      example.png

      1 条回复 最后回复 回复 引用 0
      • Samarium150
        Samarium150 童心未泯 最后由 编辑

        使用说明

        前置条件

        • Java 11 及以上
        • mirai-console
          本插件最新版目前只在 2.15.0-RC 做了测试(只在最新版测试的屑)
        • 启动器
          应该没人想手动启动mirai-console, 如果想, 请看 这里
          启动器推荐官方的 MCL,使用方法参见官方 用户手册
        • chat-command
          允许在聊天环境执行命令, 下载release中的jar文件并放入plugins文件夹中

        加载

        直接将Release中的mirai-console-synesthesia-beacon-*.mirai2.jar放到plugins中, 重新启动控制台即可
        如果MCL文件夹里没有plugins这个文件夹, 就先启动一次

        权限分配

        在console使用/perm permit * io.github.samarium150.mirai.plugin.synesthesia-beacon:command.beacon来赋予所有联系对象使用本插件所有命令的权限

        配置

        配置文件位于config/io.github.samarium150.mirai.plugin.synesthesia-beacon目录下

        以下是完整的配置文件的参考:

        RenderConfig.yml

        # 背景颜色
        backgroundColor: 
          r: 255
          g: 255
          b: 255
        # 字体颜色
        fontColor: 
          r: 0
          g: 0
          b: 0
        

        CommandConfig.yml

        # 命令别名
        commandSecondaryNames: 
          - sbc
          - synesthesia_beacon
        

        使用

        字母表参见:HoYo-Glyphs-alphabet,中文会转为无声调拼音

        • (/)beacon genshin <location> <message> 原神字体

          可选location:

          • common/mondstadt/teyvat: 提瓦特文(通用语)
          • inazuma: 稻妻⽂
          • sumeru: 须弥⽂
          • deshret: ⾚冠⽂
          • khaenriah: 坎瑞亚⽂
        • (/)beacon starrail <location> <message> 星穹铁道字体

          可选location:

          • common/herta/jarilo/belobog: 星穹铁道⽂(⻉洛伯格)
          • inazuma: 罗浮⽂
        • (/)beacon zenless <type> <message>

          可选type:

          • A/a: 变体A
          • A/a: 变体B
        1 条回复 最后回复 回复 引用 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact