Skip to content
On this page

猹の宝石

主配置

yml
############################
#         插件验证          #
############################
apiKey: "apiKey"
############################
#         系统设定          #
############################
# 需求说明:宝石界面可放入的材料格总数
gem-material-length: 6
# 需求说明:当使用隐藏属性功能时,只有这些槽位才会加载属性
attribute-slot:
  - "germplugin_off_hand"
  - "germplugin_armor_helmet"
  - "germplugin_armor_chestplate"
  - "germplugin_armor_leggings"
  - "germplugin_armor_boots"
  - "germplugin_zb_1"
  - "germplugin_zb_2"
  - "germplugin_zb_3"
  - "germplugin_zb_4"
  - "germplugin_zb_5"
  - "germplugin_zb_6"
  - "germplugin_zb_7"
  - "germplugin_zb_8"
  - "germplugin_zb_9"
  - "germplugin_zb_10"

宝石配置

yml
# 类型配置
宝石:
  # 可以镶嵌该宝石的槽位lore(lore需要100%匹配包括符号)
  slot:
    - "§7<绿宝石槽位>"
    - "§7<红宝石槽位>"
  # 宝石匹配的NI物品库物品
  item: "示例宝石"
  # 用于镶嵌后显示的宝石名称
  show-name: "§7已镶嵌<§6神奇的示例宝石一§7>"
  # 用于镶嵌后展示的lore
  show-lore:
    - "§c物理伤害: 200"
    - "§c暴击倍率: 10"
  # 镶嵌成功率 (0-1) 0.1就是10% 1就是100%
  chance: 1.0
  # 镶嵌失败后宝石会不会消失 false为不消失 true为消失
  gem-fail: false
  # 宝石是否可以拆卸
  can-disassembled: true
  # 镶嵌成功时执行动作
  success-command:
    - "console:执行宝石镶嵌成功动作"
  # 镶嵌失败时执行动作
  fail-command:
    - "console:执行宝石镶嵌失败动作"

隐藏属性宝石配置

yml
隐藏属性宝石:
  # 可以镶嵌该宝石的槽位lore(lore需要100%匹配包括符号)
  slot:
    - "§7<红宝石槽位>"
    - "§7<暴怒宝石槽位>"
  # 宝石匹配的NI物品库物品
  item: "测试红宝石一级"
  # 用于镶嵌后显示的宝石名称
  show-name: "§7已镶嵌<§7隐藏属性宝石一级§7>"
  # 用于镶嵌后展示的lore
  show-lore:
    - "§7这是一颗隐藏属性宝石一级"
  # 镶嵌成功率 (0-1) 0.1就是10% 1就是100%
  chance: 1.0
  # 镶嵌失败后宝石会不会消失 false为不消失 true为消失
  gem-fail: false
  # 宝石是否可以拆卸
  can-disassembled: true
  # 镶嵌成功时执行动作
  success-command:
    - "console:执行隐藏属性宝石镶嵌成功动作"
  # 镶嵌失败时执行动作
  fail-command:
    - "console:执行隐藏属性宝石镶嵌失败动作"
  # 镶嵌后会额外增加以下属性
  # 该属性会隐藏在物品本体内
  attribute:
    - "物理伤害: 500"
    - "暴击倍率: 50"
    - "暴击几率: 5"
  # 是否加载上方 attribute 进入属性系统
  load-attribute: true

语言配置

yml
inlay: "镶嵌"
uninlay: "拆除"
cooldown: "操作太频繁,请稍后再试"