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