26 lines
751 B
JSON
26 lines
751 B
JSON
|
{
|
||
|
"criteria": {
|
||
|
"leave_game": {
|
||
|
"trigger": "minecraft:tick",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:inverted",
|
||
|
"term": {
|
||
|
"condition": "minecraft:entity_scores",
|
||
|
"entity": "this",
|
||
|
"scores": {
|
||
|
"leaveGame": {
|
||
|
"max": 0
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"rewards": {
|
||
|
"function": "fz:login/onlogin"
|
||
|
}
|
||
|
}
|