管理员界面

This commit is contained in:
延皓
2022-08-30 03:25:27 +08:00
parent 3b902c7880
commit 90155651ab
30 changed files with 101 additions and 43 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
execute store success storage fzsd:version fzsd.need_update int 1 run data merge storage fzsd:version {fzsd: {version: '3.0.0-beta.8'}}
execute store success storage fzsd:version fzsd.need_update int 1 run data merge storage fzsd:version {fzsd: {version: '3.0.0-beta.9'}}
execute if data storage fzsd:version fzsd{need_update: 1} run function fzsd:system/update
function fzsd:system/carpet/try_load_fzsd_score
function #fzsd:load
@@ -1,4 +1,7 @@
execute unless data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName fzsd.module.health
execute if data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName
execute unless data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list fzsd.module.health
execute if data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list
execute if data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list
##
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载组件:玩家血量显示"}]
@@ -0,0 +1,2 @@
##
execute if data storage fzsd:install fzsd.module{health:1b} run function #fzsd:module/health/load
@@ -0,0 +1,2 @@
##
execute if data storage fzsd:install fzsd.module{interactor:1b} run function #fzsd:module/interactor/load
@@ -2,6 +2,7 @@
##
###
scoreboard objectives remove fzsd.module.scoreboard.assign.general
scoreboard objectives remove fzsd.module.scoreboard.display.general
###
scoreboard objectives remove fzsd.module.scoreboard.display.activation
@@ -0,0 +1,2 @@
##
execute if data storage fzsd:install fzsd.module{scoreboard:1b} run function #fzsd:module/scoreboard/load
@@ -1,6 +0,0 @@
# 调用者:#fzsd:module/try_load
##
execute if data storage fzsd:install fzsd.module{health:1b} run function #fzsd:module/health/load
execute if data storage fzsd:install fzsd.module{interactor:1b} run function #fzsd:module/interactor/load
execute if data storage fzsd:install fzsd.module{scoreboard:1b} run function #fzsd:module/scoreboard/load