Settings
Making your bot configurable.
public class ExampleBot extends LoopingBot {
@SettingsProvider(updatable = true)
private ExampleSettings settings;
@Override
public void onLoop() {
if (settings.logsToChop() > 1000) {
//Do something!
}
}
}The Settings Descriptor
@SettingsGroup
@Setting
Attribute
Description
Special Annotations
Setting Values Programmatically
Last updated