自定义添加神树浇水水壶.
新建一个水壶并在神树界面中显示.
Contents/config/WaterPots
pots:
远古水壶:
display: '&4&l&n远古水壶'
requirements:
- 'item;DIAMOND;0;32'
- 'customitem;&c水壶兑换权券;1'
- 'playerpoints;1000'
run:
- '[console]points give %player% 200 ~chance:0.2'
day: 1
addExp: 1000.0
addPoints: 5000.0
customItem:
远古水壶:
display: '&4&l&n远古水壶'
material: BUCKET
data: 0
model: 0
#%use% 为今日该水壶使用次数
lore:
- '&f '
- '&7使用需求:'
- '&f - 点券×1000'
- '&f - 钻石×32'
- '&f - &c水壶兑换券×1'
- '&7神树成长值: &a1000点'
- '&7可获得贡献: &a5000点'
- '&f'
- '&c该水壶每日限用 &a%use%/1 &c次.'
fuction:
type: pot
#对应着 WaterPots.yml 中的水壶ID
value: 远古水壶
slot: [43]