Script API - v1.19.70
    Preparing search index...

    Contains objectives and participants for the scoreboard.

    Index

    Constructors

    Properties

    displayName: string

    Returns the player-visible name of this scoreboard objective.

    This property can throw when used.

    id: string

    Identifier of the scoreboard objective.

    This property can throw when used.

    Methods

    • Beta

      Parameters

      Returns number

      Returns a specific score for a participant.

      This function can throw errors.

    • Beta

      Parameters

      • participant: ScoreboardIdentity

        Participant to remove from being tracked with this objective.

      Returns boolean

      Removes a participant from this scoreboard objective.

      This function can throw errors.

    • Beta

      Parameters

      • participant: ScoreboardIdentity

        Identity of the participant.

      • score: number

        New value of the score.

      Returns boolean

      Sets a score for a participant.

      This function can throw errors.