diff --git a/data/fzsd/function/boot.mcfunction b/data/fzsd/function/boot.mcfunction index bfd323d..353b836 100644 --- a/data/fzsd/function/boot.mcfunction +++ b/data/fzsd/function/boot.mcfunction @@ -1,4 +1,4 @@ -execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.3.0-beta.0'}} +execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.3.0'}} execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update function fzsd:system/carpet/try_load_fzsd_score function #fzsd:load diff --git a/data/fzsd/function/module/join_message/default_message.mcfunction b/data/fzsd/function/module/join_message/default_message.mcfunction index aab75b4..70f4f42 100644 --- a/data/fzsd/function/module/join_message/default_message.mcfunction +++ b/data/fzsd/function/module/join_message/default_message.mcfunction @@ -1,4 +1,4 @@ -tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "本服务器启用了"}, {"text": "FZ生存数据包", "color": "gold", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击前往数据包gitee主页"}}, "click_event": {"action": "open_url", "value": "https://gitee.com/harvey-husky/fz-survival-datapack"}}]] +tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "本服务器启用了"}, {"text": "FZ生存数据包", "color": "gold", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击前往数据包gitee主页"}}, "click_event": {"action": "open_url", "url": "https://gitee.com/harvey-husky/fz-survival-datapack"}}]] ## 如果玩家未关闭抬头蹲起功能 execute if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "抬头90°并蹲起,或使用", "color": "white"}, {"text": "/trigger fzsd.module.interactor.trigger", "color": "aqua", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击填入聊天栏"}}, "click_event": {"action": "suggest_command", "command": "/trigger fzsd.module.interactor.trigger"}}, {"text": "打开交互器"}]] ## 如果玩家关闭了抬头蹲起功能