1
ModuleServerAPIGameLibScoreboardState
Mees van der Wijk edited this page 2025-08-10 15:49:07 +02:00

ModuleServerApi - GameLib Scoreboard State

Simple object containing the state of a scoreboard.

Structure

{
   	"name": "Scoreboard Name",
    "gameId": "gameId",
    "scoreboardId": "scoreboardId",
    "entries": [
        {
            "uuid": "123",
            "name": "Player 1",
            "displayValue": "1m 2s",
            "value": 62
        },
        {
            "uuid": "456",
            "name": "Player 2",
            "displayValue": "59s",
            "value": 59
        }
    ]
}

Attribute Type Description
name string The name of the scoreboard.
gameId string The id of the active game.
scoreboardId string The id of the active scoreboard.
entries { uuid:string, name:string, displayValue:string, value:number}[] The entries in the scoreboard.