你想设置每个ID只能购买一次购买的物品在商店吗? 只需添加一个“SingleUse"设置就可以了
无命令/权限
配置文件:
- First:
- GodApple:
- RewardType: item
- PriceType: money #选择所花费的经济
- Price: 10000 #金额
- Reward: #奖励
- - - type:GOLDEN_APPLE
- - amount:
- - durability:1
- MenuItem: #子菜单
- - type:GOLDEN_APPLE
- - amount:1 #物品数量
- - name:&9%itemname%
- - 'lore:&cPrice: 10000 Money'
- - durability:1 #大概这里是修改物品能购买的次数
- Message: '&eYou bought 1 %itemname%! Money left: &c%left%'
- InventoryLocation: 9
- ExtraPermission: ''
- Then
- GodApple:
- SingleUse: 1
- RewardType: item
- PriceType: money
- Price: 10000
- Reward:
- - - type:GOLDEN_APPLE
- - amount:1
- - durability:1
- MenuItem:
- - type:GOLDEN_APPLE
- - amount:1
- - name:&9%itemname%
- - 'lore:&cPrice: 10000 Money#&4Only available once!!!'
- - durability:1
- Message: '&eYou bought 1 %itemname%! Money left: &c%left%'
- InventoryLocation: 9
- ExtraPermission: ''
适用版本:1.7.10-1.10