Same Team (Bi-Entity Condition Type)
Checks whether the actor and the target are on the same scoreboard team.
Type ID: apoli:same_team (alias apoli:allied)
Fields
| Field | Type | Default | Description |
|---|---|---|---|
allow_teamless | Boolean | false | With true, two entities that are both on no team count as allied. |
Example
Cancel friendly fire between teammates:
{
"type": "apoli:prevent_entity_damage",
"bientity_condition": { "type": "apoli:same_team" }
}