管理员界面
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user