Scoreboard Pins
Pin
file
Loads graphic file, value parameter is text string with name of the file.
off
Executes the off command, identical to pressing the Off button. Value parameter is ignored.
on
Executes the on command, identical to pressing the On button. Value parameter is ignored.
scoreteam1
Sets the score for team 1, value parameter is text string with score.
scoreteam1x
Sets the x coordinate of the score for team 1, value parameter is text string with coordinate.
scoreteam1y
Sets the y coordinate of the score for team 1, value parameter is text string with coordinate.
scoreteam2
Sets the score of team 2, value parameter is text string with score.
scoreteam2x
Sets the x coordinate of the score for team 2, value parameter is text string with coordinate.
scoreteam2y
Sets the y coordinate of the score for team 2, value parameter is text string with coordinate.
team1
Sets the name of team 1, value parameter is text string with name.
team1x
Sets the x coordinate of the name for team 1, value parameter is text string with coordinate.
team1y
Sets the y coordinate of the name for team 1, value parameter is text string with coordinate.
team2
Sets the name of team 2, value parameter is text string with name.
team2x
Sets the x coordinate of the name for team 2, value parameter is text string with coordinate.
team2y
Sets the y coordinate of the name for team 2, value parameter is text string with coordinate.
Example
The following example sets the score of team 1 to 0.
apiwrite scoreboard 1, scoreteam1, 0 |