Skip to content
Samarium edited this page Jun 23, 2023 · 1 revision

使用说明

前置条件

  • 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
Clone this wiki locally