Skip to main content

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

FieldTypeDefaultDescription
allow_teamlessBooleanfalseWith 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" }
}