Interface ConfigField

All Known Implementing Classes:
ConfigField.BoolField, ConfigField.ChoiceField, ConfigField.IntField, ConfigField.ItemIdField, ConfigField.StringField

Describes a single configurable parameter that a script exposes. Scripts return a list of these from BotScript.getConfigFields().

A ConfigField is a sealed hierarchy of typed variants. Scripts construct them through the static factory methods (intField(String, String, int), stringField(String, String, String), boolField(String, String, boolean), choiceField(String, String, List, String), itemIdField(String, String, int)); consumers dispatch over the variants with an exhaustive switch pattern match.