Annotation Interface SaveTo


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface SaveTo
Specifies that a field should be saved to a different file.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Path to the file where this field should be saved.
  • Element Details

    • value

      String value
      Path to the file where this field should be saved. Relative to plugin's data folder.
      Returns:
      the file path