load
Loads the configuration of type T for the plugin.
The configuration file is assumed to be "config.yml" in the plugin's data folder.
Return
the loaded configuration instance of type T
Parameters
the Plugin instance
whether to automatically reload the config when the file changes
a callback function to execute when the config is reloaded
Type Parameters
the type of the configuration class
Loads the configuration of type T from the specified file.
Return
the loaded configuration instance of type T
Parameters
the configuration File
Type Parameters
the type of the configuration class
Loads the configuration of type T for the plugin.
The configuration file is assumed to be "config.yml" in the plugin's data folder.
Return
the loaded configuration instance of type T
Parameters
the Plugin instance
whether to automatically reload the config when the file changes
a callback function to execute when the config is reloaded
Type Parameters
the type of the configuration class