51326382
好比我想让玩家花费10个钻石和100金币兑换10个绿宝石,如何才能做到...求大佬指教

听风的雨
https://www.mcbbs.net/thread-1262198-1-1.html
参考这个帖子的回答

51326382
Austin李 发表于 2022-8-10 22:07
https://www.mcbbs.net/thread-1262198-1-1.html
参考这个帖子的回答

他这是只用物品兑换的,我不仅需要物品,还需要金币

鱼文安
本帖最后由 2454130863 于 2022-8-11 00:04 编辑

建议楼主参考
  1.   DifferentPriceTypesOR:
  2.     MenuItem:
  3.     - type:DIAMOND
  4.     - amount:5
  5.     - name:&95钻石
  6.     - 'lore1:&e购买 %reward%,售价 %price%.'
  7.     RewardType: ITEM
  8.     Reward:
  9.     - - type:DIAMOND
  10.       - amount:5
  11.     PriceType: OR
  12.     Price:
  13.       PriceType1: MONEY
  14.       Price1: 50.0
  15.       PriceType2: POINTS
  16.       Price2: 10
  17.     Message: '&e你购买了%reward%! 余额: &c%left%'
  18.     InventoryLocation: 0
复制代码



当然这些类型可以被叠加:
-        PriceType: AND
-        Price:
-        PriceType1: ITEM
-        Price1: diamond
-        PriceType2: OR
-        Price2:
-        PriceType1: MONEY
-        Price1: 1000
-        PriceType2: POINTS
-        Price2: 50
所以在例子中现在玩家需要支付一个钻石和1000金币或50点数
(看不懂再开这个帖子看详细的)
[WIKI][CY] BossShopPro - 配置-高级选项|Advanced Options
https://www.mcbbs.net/thread-831117-1-1.html
帖子末尾有配置和例子


第一页 上一页 下一页 最后一页