Saving Values
This saves a value to the Meowtils config file, commonly used for sub-components but you can save any value if wanted.
Requirements
-
This has to be located in a module class.
-
Each variable will need the
@Configannotation. -
You should generally keep it
public.
Save to config
When used in module sub-components, it will automatically be saved to config if updated.
If you are manually setting values you need to save it:
More about setting config values can be found HERE.