Annotation used on
Plugin classes to request the loading of custom
configuration files.- Author:
- Ashley
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescription@NotNull ConfigTypeThe type of configuration to parse as.
-
Element Details
-
identifier
TheIDof this configuration.- Returns:
- Returns a string representing the
IDof this configuration
-
defaultFile
The path to the default configuration file inside the jar.- Returns:
- Returns a string pointing to the default configuration file
-
outputFile
The path to store the configuration file outside the jar file. This path is relative to the plugin configuration directory.- Returns:
- Returns the path to store the configuration outside the jar relative to the plugin configuration directory
-
-
-
type
The type of configuration to parse as.Default:
ConfigType.PROPERTIES- Returns:
- Returns the
ConfigTypeof this configuration
- Default:
- PROPERTIES
-