goals:
swim:
type: MOVE
value: '' #该目标类型可以不设置 value.
amount: 100 #100m
conditions:
- "[world]world" #检测当前世界是否为 world
#如果你的服务端版本高于1.13
- "[swim]" #检测玩家是否在游泳
#如果低于1.13
- "[stand]WATER" #检测玩家是否在水中
display: "&fSwiming Man"
material: IRON_BOOTS
amount: 1
model: 0
description:
# 因为任务目标的id我们设置为 swim 所以这里用 %progress_swim% 来表示该任务的进度
- " &7&l· &#bcd2ee游泳100m &f(&c%progress_swim%/100&f)"
reward_description:
- " &7&l· 	AFF9A游戏币 ×100"
goals:
swim:
type: MOVE
value: ''
amount: 100
conditions:
- "[world]world"
- "[swim]"
reward:
run:
- 'console_command;eco give %player% 100'
4.将任务添加到任务周期 DailyQuests 配置文件内
settings:
display: '&eDaily Quests'
refresh: 1
amount: 5
quests:
- Butcher
- Golden_Miner
- Material_Shortage_1
- Material_Shortage_2
- Stonemason
- Happy_Trade
- Hunger
- Running_Man
- Adventurer
- Adventurer_2
- Adventurer_3
- Adventurer_4
- Hungriness
- Farmer
- Farmer_2
- Goodbye_World
- FishMan
- FishMan2
- Breeder
- Blacksmith
- Clother
- Warrior
- Enchanter
- Timer
- Refiner
- Swimming_Man #在此 在此 在此