- 将命名空间改为“fzsd”

- 完善交互器
- 添加管理员命令(/function admin.fzsd:<...>)
- 添加启动函数,用于自动升级等功能
- 添加重装、深度安装、深度卸载、深度重装函数
This commit is contained in:
延皓 committed 2022-07-30 16:29:18 +08:00
1 parent dfe06e506c
commit 08d3d01b18
994 files changed
+3644 -3522

No files matched your search

@@ -0,0 +1,10 @@
## 调用者:#fzsd:logger/uninstall
## 删除安装标记
data remove storage fzsd:installed fzsd.logger
## 调试
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:日志"}]
## 询问是否清除数据
execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fzsd:logger/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}]