Name | Parameters | Return value | Notes |
AddScore |
string, number |
Score |
Adds a value to the score of the specified player and returns the new value. |
GetDisplayName |
|
string |
Returns the display name of the objective. This name will be shown to the connected players. |
GetName |
|
string |
Returns the internal name of the objective. |
GetScore |
string |
Score |
Returns the score of the specified player. |
GetType |
|
eType |
Returns the type of the objective. (i.e what is being tracked) |
Reset |
|
|
Resets the scores of the tracked players. |
ResetScore |
string |
|
Reset the score of the specified player. |
SetDisplayName |
string |
|
Sets the display name of the objective. |
SetScore |
string, Score |
|
Sets the score of the specified player. |
SubScore |
string, number |
Score |
Subtracts a value from the score of the specified player and returns the new value. |