yaml
fun <C> yaml(configClass: Class<C>, configFolder: Path, configFileName: @YamlConfigFileNamePattern String): SpongeConfigManager<C>
Creates a SpongeConfigManager for managing a YAML configuration.
Return
A new instance of SpongeConfigManager.
Parameters
C
The type of the configuration class.
configClass
The class of the configuration.
configFolder
The folder where the configuration file is stored.
configFileName
The name of the configuration file. Must match the YAML file name pattern.