Objective.getName 2

Returns the objective's name exactly as it is stored, without resolving a # localization key. Use getDisplayName if you need the text the player actually sees.


Return value

Return TypeDescription
stringThe stored name, or an empty string if no name was ever set.

No parameters defined for this function.


Examples

No examples available.


Back to Scripting API