2020-11-27 00:27:49 +08:00
|
|
|
#主函数
|
|
|
|
#允许玩家操作config记分板
|
|
|
|
scoreboard players enable @a config
|
|
|
|
#每条子函数都要reset config分数和function fz:config/display
|
2020-12-28 17:29:01 +08:00
|
|
|
execute if data storage fz.installed {sweeper:1b} as @a if score @s config matches 1478966200..1478966217 run function fz:sweeper/config/trigger
|
2020-11-27 00:27:49 +08:00
|
|
|
execute if data storage fz.installed {scoreboards:1b} as @a if score @s config matches 1838019370..1838019379 run function fz:scoreboards/config
|
|
|
|
#循环执行本函数
|
|
|
|
schedule function fz:config/main 1
|