Class ModuleConfig
java.lang.Object
net.lynxclient.api.config.ModuleConfig
- Direct Known Subclasses:
HudWidgetConfig
Base class for the settings of a module or addon. Every module has the "enabled" switch; servers use it
to turn features off. Add
ConfigProperty fields with setting annotations for everything else.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConfigProperty<Boolean> final ConfigProperty<Integer> Key that switches the module on and off in game (Keys.UNKNOWN= none) -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enabled
-
toggleKey
Key that switches the module on and off in game (Keys.UNKNOWN= none)
-
-
Constructor Details
-
ModuleConfig
protected ModuleConfig(boolean enabledByDefault) -
ModuleConfig
protected ModuleConfig()
-