Interface GeneratedConfig


public interface GeneratedConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    NOTE: Fields should be uniquely named from each other.
    boolean
    If false is returned, the entire category will be skipped from being loaded.
  • Method Details

    • getFields

      Field[] getFields()
      NOTE: Fields should be uniquely named from each other. Unloaded fields with values present in the config JSON will be kept.
      Returns:
      An array of fields to load config from.
    • shouldLoad

      boolean shouldLoad()
      If false is returned, the entire category will be skipped from being loaded. Unloaded fields will values present in the config JSON will be kept.