2021-08-03 06:52:38 +08:00
|
|
|
data modify storage fz:cache installed set from storage fz:survival installed
|
2021-08-03 06:30:28 +08:00
|
|
|
#卸载
|
|
|
|
function fz:uninstall
|
|
|
|
#安装
|
|
|
|
function fz:install
|
2021-08-03 06:52:38 +08:00
|
|
|
execute if data storage fz:cache installed{scoreboards: 0b} run function fz:scoreboards/uninstall
|
|
|
|
execute if data storage fz:cache installed{sweeper: 0b} run function fz:sweeper/uninstall
|
|
|
|
execute if data storage fz:cache installed{logintips: 0b} run function fz:login/logintips/uninstall
|
|
|
|
execute if data storage fz:cache installed{health: 0b} run function fz:health/uninstall
|
|
|
|
execute if data storage fz:cache installed{config: 0b} run function fz:config/uninstall
|
|
|
|
data remove storage fz:cache installed
|
2021-08-03 06:30:28 +08:00
|
|
|
#提示已安装
|
|
|
|
tellraw @a {"text": "[信息]升级完成","color": "#5fff00"}
|