getPluginConfigFile

Get the configuration-file for a plugin, if it exists. This is wrapped in an Optional, because not every plugin may provide a configuration-file to use globally for the relevant plugins settings. If you intend on using a global configuration, make sure to check whether the file is present, before moving on!

Return

The config-file corresponding to the ID of the plugin, wrapped in an Optional.

Author

Griefed

Parameters

pluginId

The plugin ID with which to identify the correct config-file to return.