Annotation Interface ConfigEntry


@Retention(RUNTIME) @Target(FIELD) @AvailableSince("1.0.0") public @interface ConfigEntry
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Any comments associated with the entry.
    Entries may be grouped together in the config GUI.
    double
    Define the maximum value for numeric entries.
    double
    Define the minimum value for numeric entries.
    boolean
    Mark that an entry requires a restart for changes to take effect.
  • Element Details

    • comment

      String comment
      Any comments associated with the entry. They may be plaintext or translatable.
      Default:
      ""
    • group

      String group
      Entries may be grouped together in the config GUI. This is the name of the group this entry belongs to.
      Default:
      ""
    • min

      double min
      Define the minimum value for numeric entries.
      Default:
      4.9E-324
    • max

      double max
      Define the maximum value for numeric entries.
      Default:
      1.7976931348623157E308
    • restartRequired

      boolean restartRequired
      Mark that an entry requires a restart for changes to take effect.
      Default:
      false