This commit is contained in:
延皓
2021-07-03 18:55:08 +08:00
commit b259706807
114 changed files with 3798 additions and 0 deletions
@@ -0,0 +1,11 @@
#触发函数unsneak函数控制
#重置玩家的config分数
scoreboard players reset @s config
#判断设置功能是否已经开启
execute unless data storage fz.config {is_open: 1b} run function fz:config/main
execute unless data storage fz.config {is_open: 1b} run scoreboard objectives add openingConfig dummy
execute unless data storage fz.config {is_open: 1b} run data merge storage fz.config {is_open: 1b}
#将该玩家加入打开设置页面的玩家的列表
scoreboard players set @s openingConfig 1
#将设置内容输出给玩家
function fz:config/display