Contains additional options for filtering players based on their score for an objective.

Hierarchy

  • EntityQueryScoreOptions

Properties

exclude?: boolean

Remarks

If set to true, entities and players within this score range are excluded from query results.

maxScore?: number

Remarks

If defined, only players that have a score equal to or under maxScore are included.

minScore?: number

Remarks

If defined, only players that have a score equal to or over minScore are included.

objective?: string

Remarks

Identifier of the scoreboard objective to filter on.