{ "parent": "fzsd:game_event", "criteria": { "on_login": { "trigger": "tick", "conditions": { "player": [ { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_scores", "entity": "this", "scores": { "fzsd.event.leave_game": { "max": 0 } } } } ] } } }, "rewards": { "function": "fzsd:game_event/advancement/on_login" } }