runConfigCheckExtensions

fun runConfigCheckExtensions(packConfig: PackConfig, configCheck: ConfigCheck = ConfigCheck()): ConfigCheck

Run any and all configuration-check extensions, using the passed configuration model and the destination at which the server pack is to be generated and stored at.

Return

true if any custom check detected an error with the configuration. Only return false when not a single check errored.

Author

Griefed

Parameters

packConfig

The configuration model containing the server pack and plugin configurations to check.

configCheck

Collection of encountered errors, if any, for convenient result-checks.