插件手册:bossshop:conditions

这是本文档旧的修订版!


条件



您可以设置需要满足的条件才能将商店物品显示给玩家。设置条件非常简单。

例子

  1. ShopName: 饥饿值条件
  2. DisplayName: '饥饿值条件'
  3. signs:
  4.   text: '[条件]'
  5.   NeedPermissionToCreateSign: true
  6. InventorySize: 45 #商店大小:45格
  7. shop:
  8.   5-1: #商店名:5-1
  9.   Condition: #调用条件
  10. - type:Hunger #调用饱食度
  11. - under:20 #要求低于20
  12.   RewardType: item
  13.   PriceType: free
  14.   Reward:
  15. - type:COOKED_CHICKEN
  16. - amount:1
  17.   MenuItem:
  18. - type:COOKED_CHICKEN
  19. - name:&9你饿吗?
  20. - 'lore:#&a你看起来很饿! #&a点击获得免费的寄肉!'
  21. - amount:1 #给予数量:1
  22.   InventoryLocation: 23 #位于格数:23
  23.   5: #商店名:5
  24.   RewardType: nothing
  25.   PriceType: free
  26.   MenuItem:
  27. - type:BARRIER
  28. - name:&9你饿吗?
  29. - 'lore:#&c你看起来不饿..#&c你饿了再来吧'
  30. - amount:1
  31.   InventoryLocation: 23
  • 插件手册/bossshop/conditions.1644114090.txt.gz
  • 最后更改: 2022/02/06 10:21
  • duangfafa