Skip to main content

Scoreboard

Scoreboard monitors are used for showing some stats as numbers and titles to the user.

The ctx.setScoreboard method receives an object with an array field called data like the following (where each element represents one metric):

{
scores: [
{
name: "...",
value: ...,
},
{
name: "...",
value: ...,
},
{
name: "...",
value: ...,
},
{
name: "...",
value: ...,
}
]
}