Guest User

Untitled

a guest
Oct 8th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.65 KB | None | 0 0
  1.  l:
  2.     update: -1
  3.     display:
  4.       material: lectern
  5.       name: '&c武器个性化定制'
  6.       lore:
  7.        - '&d(维护中)不行了,遇到了问题,暂时不能用。'
  8.         - '&e花费3000游戏币进行武器个性化定制'
  9.         - '&e可以在任何物品上面附加说明,'
  10.         - '&e支持颜色代码'
  11.         - '&d需要手持物品,定制错误概不退换'
  12.         - '&e出现技术性问题请联系OP'
  13.     actions:
  14.       all:
  15.         - condition: 'js: utils.hasMoney(player, 3000.0)'
  16.           actions:
  17.             - catcher:
  18.                 loreadddesc:
  19.                   type: CHAT
  20.                   before:
  21.                     - 'tell color *"&3&l请输入要添加的武器个性化标签,或者输入cancel取消操作。\n&3&l请切换至要定制的武器再输入,否则会出现问题。"'
  22.                   cancel:
  23.                     - 'tell color *"&7已取消操作"'
  24.                   reactions:
  25.                     - 'tell: &a定制成功,花费3000游戏币'
  26.                     - 'console: give %player_name% diamond 1'
  27.                     - 'console: essentials:itemlore add {meta:input}'
  28.                     - 'sound: BLOCK_NOTE_BLOCK_PLING-1-2'
  29.                     # 此处用作购买记录,可以用于防止同时购买的扣费纠纷
  30.                     - 'tell color *"&e成功添加武器个性化标签,快打开背包看看吧~"'
  31.                     - 'delay: 40'
  32.                     - 'refresh'
  33.             - 'delay: 40'
  34.             - 'refresh'
  35.           deny:
  36.          - close
  37.           - 'tell color *"&c骚年,你没钱!"'
  38.           - 'delay: 40'
  39.           - 'refresh'
Add Comment
Please, Sign In to add comment