Files
fz-survival-datapack/data/fzsd/function/game_event/player/on_login.mcfunction
T

5 lines
313 B
MCFunction

## 调试
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "登录游戏"}]
## 运行事件
function #fzsd:game_event/player/on_login