NshowEnchant

VexView附属 NshowEnchant 1.1

无下载权限

- NshowEnchant -
可选附属: VexView / Vault / PlayerPoints

- 插件提供两种Gui -
1. Chest: 服务端/客户端无VexView
2. VexView: 请使用VexView 2.2 若使用其他版本出现错误请勿反馈



/NshowEnchant reload - 重载配置文件
/NshowEnchant open [Player] - 打开附魔Gui

YAML:
#️VexView 附魔界面
Enchant_Gui:
  #️是否可以关闭
  closable: false
  #️无法附魔文本
  nope_text: '§c无法附魔'
  #️无法附魔音效
  nope_sound: 'entity.villager.no'

  #️Gui框架
  gui:
    #️基本参数 不多介绍
    url: '[local]enchant/bg1.png'
    x: -1
    y: -1
    w: 176
    h: 173
    #️背包物品槽的 x 和 y
    slotLeft: 8
    slotTop: 95

  #️标题文本
  title:
    x: -1
    y: 0
    content:
      - '§7银梦附魔台'

  #️费用文本
  cost:
    #️Vault 费用
    vault:
      x: 132
      y: 26
      content:
        - ': %vault%'
    #️PlayerPoints 费用
    playerPoint:
      x: 132
      y: 40
      content:
        - ': %point%'

  #️附魔物品槽
  slot:
    x: 80
    y: 25
    #️请使用一张透明贴图 配套素材中有提供
    url: '[local]enchant/alpha.png'
    #️点击音效
    sound: 'block.anvil.use'

  #️附魔动画
  slot_animation:
    #️帧数
    frame: 20
    #️间隔 (单位: tick)
    interval: 1
    #️%i% 为帧数变量
    url: '[local]enchant/slot/slot (%i%).png'
    x: -1
    y: 22
    w: 42
    h: 29

  #️按钮
  button:
    #️确定附魔 按钮 (可用Enter键触发)
    confirm:
      text: '§a冲!'
      url1: '[local]enchant/button1.png'
      url2: '[local]enchant/button1_glow.png'
      sound: 'block.note.chime'
      x: 48
      y: 58
      w: 60
      h: 20
    #️关闭Gui 按钮
    cancel:
      text: '§c不!'
      url1: '[local]enchant/button2.png'
      url2: '[local]enchant/button2_glow.png'
      sound: 'entity.wither.ambient'
      x: 109
      y: 58
      w: 20
      h: 20

#️VexView 附魔完成界面
Enchant_Done_Gui:
  closable: false

  gui:
    url: '[local]enchant/bg2.png'
    x: -1
    y: -1
    w: 176
    h: 87

  title:
    x: -1
    y: 0
    #️%effect% 为附魔结果的变量
    content:
      - '§7银梦附魔台'
      - ''
      - ''
      - ''
      - ''
      - ''
      - ''
      - ''
      - ''
      - '  §7-§a§l 附魔结果: %effect%§7 -'

  #️物品槽
  slot:
    #️旧物品槽
    old:
      x: 57
      y: 20
    #️新物品槽
    new:
      x: 102
      y: 20

  button:
    #️确定附魔 按钮 (可用Enter键触发)
    confirm:
      text: '§a继续冲!'
      url1: '[local]enchant/button1.png'
      url2: '[local]enchant/button1_glow.png'
      sound: 'block.note.chime'
      x: 48
      y: 58
      w: 60
      h: 20
    cancel:
      text: '§c不!'
      url1: '[local]enchant/button2.png'
      url2: '[local]enchant/button2_glow.png'
      sound: 'entity.wither.ambient'
      x: 109
      y: 58
      w: 20
      h: 20

#️原版附魔界面
Enchant_Inventory:
  #️容器标题
  title: '              §l§n银梦附魔台'
  #️容器大小 请按照原版中箱子容器的大小来写 乱写会Boom哦
  size: 27
  #️需要附魔的物品会出现在这个槽位
  item: 14
  #️点击这个槽位的物品将会开始附魔
  confirm: 19-27
  #️消息 看消息内容就知道代表什么了8
  message:
    nope: '§e附魔 §7> §c该物品不能附魔'
    cost: '§e附魔 §7> §c你钱不够了 铁汁'
    done: '§e附魔 §7> §2新的附魔属性是 %effect%'
  #️音效
  sound:
    nope: 'entity.villager.no'
    cost: 'entity.villager.no'
    done: 'block.anvil.use'

  #️各个槽位的物品
  #️material: https://docs.windit.net/Chinese_BukkitAPI/org/bukkit/Material.html
  slot:
    1-13:
      material: STAINED_GLASS_PANE
      name: '§8粘兽真帅'
      amount: 1
      durability: 15
      lore:
        - '§7我只是一块玻璃'
    14:
      material: STAINED_GLASS_PANE
      name: '§c请选择需要附魔的物品'
      amount: 1
      durability: 0
      lore: []
    15-18:
      material: STAINED_GLASS_PANE
      name: '§8粘兽真帅'
      amount: 1
      durability: 15
      lore:
        - '§7我只是一块玻璃'
    19-27:
      material: STAINED_GLASS_PANE
      name: '§a注入灵魂'
      amount: 1
      durability: 2
      lore:
        - ''
        - '§f金币: %vault%'
        - '§f点券: %point%'

#️附魔设定
Enchant_Item:
  #️lore中有该关键词 将会用该词以下的设定
  '优秀':
    #️花费 (如无所依赖的经济前置 将会无效 请勿忘装经济前置)
    vault: 300
    playerPoint: 0
    #️附魔结果 (可增加)
    effect:
      #️该结果有几种可能性 (可增加)
      '§e杀伐':
        #️将以下内容添加到物品中 请配合属性插件使用
        'Ⅰ':
          - ' §b攻击力 +3'
        'Ⅱ':
          - ' §b攻击力 +5'
        'Ⅲ':
          - ' §b攻击力 +8'
        'Ⅳ':
          - ' §b攻击力 +12'
        'Ⅴ':
          - ' §b攻击力 +18'
      '§e铁憨憨':
        'Ⅰ':
          - ' §b防御力 +1'
        'Ⅱ':
          - ' §b防御力 +3'
        'Ⅲ':
          - ' §b防御力 +5'
        'Ⅳ':
          - ' §b防御力 +7'
        'Ⅴ':
          - ' §b防御力 +10'
  #️同上
  '精良':
    vault: 600
    playerPoint: 0
    effect:
      '§e杀伐':
        'Ⅰ':
          - ' §b攻击力 +6'
        'Ⅱ':
          - ' §b攻击力 +10'
        'Ⅲ':
          - ' §b攻击力 +16'
        'Ⅳ':
          - ' §b攻击力 +24'
        'Ⅴ':
          - ' §b攻击力 +36'
      '§e铁憨憨':
        'Ⅰ':
          - ' §b防御力 +2'
        'Ⅱ':
          - ' §b防御力 +6'
        'Ⅲ':
          - ' §b防御力 +10'
        'Ⅳ':
          - ' §b防御力 +14'
        'Ⅴ':
          - ' §b防御力 +20'
  '史诗':
    vault: 0
    playerPoint: 10
    effect:
      '§e杀伐':
        'Ⅰ':
          - ' §b攻击力 +6'
        'Ⅱ':
          - ' §b攻击力 +10'
        'Ⅲ':
          - ' §b攻击力 +16'
        'Ⅳ':
          - ' §b攻击力 +24'
        'Ⅴ':
          - ' §b攻击力 +36'
      '§e铁憨憨':
        'Ⅰ':
          - ' §b防御力 +2'
        'Ⅱ':
          - ' §b防御力 +6'
        'Ⅲ':
          - ' §b防御力 +10'
        'Ⅳ':
          - ' §b防御力 +14'
        'Ⅴ':
          - ' §b防御力 +20'
作者
大粘兽
价格
1 钻石
下载
55
查看
1,717
首次发布
最后更新
评分
5.00 星 2 星

来自大粘兽的更多资源

分享资源

最新更新

  1. 2019/07/04 - 1.1

    修复: 兼容VexView 2.2

最新评论

赞 良心作品
不错不错,两开花哦