fz-survival-datapack/data/fz/functions/uninstall.mcfunction

14 lines
533 B
Mcfunction
Raw Normal View History

2020-11-27 00:27:49 +08:00
#全卸载
function fz:config/uninstall
function fz:health/uninstall
function fz:scoreboards/uninstall
function fz:sweeper/uninstall
function fz:login/logintips/uninstall
#删除系统计分板
scoreboard objectives remove parameter
scoreboard objectives remove calculator
scoreboard objectives remove leaveGame
#存入已卸载信息,下次启动不会重新安装
data modify storage fz:survival installed.datapack set value 0b
2020-12-05 07:27:57 +08:00
#提示已卸载
tellraw @a {"text": "[信息]FZ'sDatapack已卸载","color": "#5fff00"}