2021-07-04 00:09:23 +08:00
|
|
|
#卸载
|
|
|
|
function fz:uninstall
|
|
|
|
#安装
|
2020-11-27 00:27:49 +08:00
|
|
|
function fz:install
|
|
|
|
#再卸载已经被卸载的项目
|
2021-07-04 00:09:23 +08:00
|
|
|
execute if data storage fz.installed {config: 0b} run function fz:config/uninstall
|
|
|
|
execute if data storage fz.installed {sweeper: 0b} run function fz:sweeper/uninstall
|
|
|
|
execute if data storage fz.installed {scoreboards: 0b} run function fz:scoreboards/uninstall
|
|
|
|
execute if data storage fz.installed {health: 0b} run function fz:health/uninstall
|
|
|
|
execute if data storage fz.installed {logintips: 0b} run function fz:login/logintips/uninstall
|
2020-12-05 07:27:57 +08:00
|
|
|
#提示已安装
|
|
|
|
tellraw @a {"text": "[信息]升级完成","color": "#5fff00"}
|