run

abstract fun run(versionMeta: VersionMeta, utilities: Utilities, apiProperties: ApiProperties, packConfig: PackConfig, destination: String, pluginConfig: Optional<CommentedConfig>, packSpecificConfigs: ArrayList<CommentedConfig>)

Author

Griefed

Parameters

versionMeta

Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.

utilities

Instance of Utilities commonly used across ServerPackCreator.

apiProperties

Instance of ApiProperties as ServerPackCreator itself uses it.

packConfig

Instance of PackConfig for a given server pack.

destination

String. The destination of the server pack.

pluginConfig

Configuration for this plugin, conveniently provided by ServerPackCreator.

packSpecificConfigs

Modpack and server pack specific configurations for this plugin, conveniently provided by ServerPackCreator.

Throws

when an uncaught error occurs in the plugin.