Package net.storm.api.plugins.config
Annotation Interface ConfigGroup
Annotation that defines the configuration group for a
Config interface.
Every configuration interface must be annotated with @ConfigGroup to specify
the unique key used for storing configuration values. This key is used as a prefix
for all configuration items in the group.
Example usage:
@ConfigGroup("autofisher")
public interface AutoFisherConfig extends Config {
// Configuration items...
}
The configuration values will be stored with keys in the format:
groupName.itemKeyName (e.g., autofisher.enableFeature).
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe key name of the config group used for storing configuration.This should typically be a lowercase version of your plugin name, with all spaces removed. The key should be stable across versions to preserve user settings.
For example, the
Grand Exchangeplugin uses the key namegrandexchange.- Returns:
- the configuration group key name
-