Skip to content
On this page

猹の绑定

⚙️ 配置文件

yml
############################
#         插件验证          #
############################
apiKey: "请输入CDKey"
############################
#         数 据 库          #
############################
# nbt词条
debug: true
nbt:
  # 绑定类型tag
  bind: "bind"
  # 绑定状态Tag
  bound: "bound"
  # 绑定玩家Tag
  bind-player: "bind-player"
  # 解绑石tag
  # 当使用NI物品库时,tag对应值为NI物品ID;未使用时,tag对应值为物品名(模糊匹配)
  unbind: "unbind"
  # bind对应绑定类型转换
  type:
    获取后绑定: BIND_INVENTORY
    装备后绑定: BIND_EQUIP
    使用后绑定: BIND_USE
  # 启用交易限制时交易次数Tag
  trade: "trade"
  # 启用交易限制时交易次数上限Tag
  trade-max: "trade-max"
# 使用如MM不能解析nbt的物品库时且希望将绑定状态显示到lore时开启
lore:
  enable: true
  # 未绑定状态时绑定类型匹配
  type:
    获取后绑定: "获取后绑定"
    装备后绑定: "装备后绑定"
    使用后绑定: "使用后绑定"
  # 绑定状态匹配
  bound: "已绑定"
  # 绑定状态格式
  bound-format: "已绑定: {player}"
# 交易限制
trade-limit: true
# 装备后绑定-萌芽/龙核装备槽位
equipment:
  - "germplugin_armor_helmet"
  - "germplugin_armor_chestplate"
  - "germplugin_armor_leggings"
  - "germplugin_armor_boots"
  - "germplugin_cha_pet_main2_slot_0"
# 绑定物品不能放入的界面
inventory:
  - "cha_auction"
# 绑定物品不能放入的原版界面类型
inventory-type:
  - "CHEST"
  - "ENDER_CHEST"
  - "FURNACE"
# 自动更新玩家背包获取后绑定模式
inventory-checker:
  # 是否启用
  enable: true
  # 更新间隔(秒)
  interval: 10
  # 实时检测的萌芽/龙核槽位
  slot:
    - "germplugin_cha_bind"

🌐 语言文件

yml
bind-success: "§c物品已绑定"
not-owner: "§c你不是该物品的主人"
not-allowed-inv: "§c该物品无法放入这个容器"
mail-title: "§c丢失找回"
mail-content: "§c你的绑定物品{item}已被找回"
not-bound: "§c该物品未绑定"
unbind-success: "§c物品已解绑"
unbind-not-match: "§c解绑石头不匹配,本物品需要{unbind}"
no-drag: "§c请勿拖动物品"
no-shift: "§c请勿快捷点击物品"
op-skip: "§a【OP绑定豁免】物品{item}"
trade-max: "§c该绑定物品{item}已达交易上限"
bind-confirm-title: "绑定物品"
bind-confirm-content: "§c你确定要绑定物品{item}吗?"