Annotation Interface LeashFlagName
Declares the config-facing name of a
LeashFlag implementation.
The LeashFlagManager uses this annotation (walking the class
hierarchy if needed) to map between the string names used in skilltree
YAML and live flag instances.
Marked Inherited so that subclasses of a flag (e.g.,
integration-specific overrides) inherit the parent's name unless they
re-declare their own.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional translation node for showing this flag's name in the player's language.
-
Element Details
-
value
String valueThe name server owners write in the config to enable this flag.- Returns:
- the flag's config-facing name
-
translationNode
String translationNodeOptional translation node for showing this flag's name in the player's language.- Returns:
- the translation node, or an empty string when there is none
- Default:
""
-