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

4 lines
526 B
Mcfunction
Raw Normal View History

2022-06-23 20:06:15 +08:00
## 调用者:#fz:logger/uninstall
## 询问是否清除数据
execute if score fz.logger.level fz.variable.integer matches ..600 run tellraw @s [{"nbt": "fz.level.alert", "interpret": true, "storage": "fz:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fz:logger/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}]