run
abstract fun run(versionMeta: VersionMeta, utilities: Utilities, apiProperties: ApiProperties, packConfig: PackConfig, destination: String, pluginConfig: Optional<CommentedConfig>, packSpecificConfigs: ArrayList<CommentedConfig>)
Author
Griefed
Parameters
version Meta
Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.
utilities
Instance of Utilities commonly used across ServerPackCreator.
api Properties
Instance of ApiProperties as ServerPackCreator itself uses it.
pack Config
Instance of PackConfig for a given server pack.
destination
String. The destination of the server pack.
plugin Config
Configuration for this plugin, conveniently provided by ServerPackCreator.
pack Specific Configs
Modpack and server pack specific configurations for this plugin, conveniently provided by ServerPackCreator.
Throws
when an uncaught error occurs in the plugin.