ExtensionConfigPanel

protected constructor(versionMeta: VersionMeta, apiProperties: ApiProperties, utilities: Utilities, serverPackConfigTab: ServerPackConfigTab, pluginConfig: Optional<CommentedConfig>, extensionName: String, pluginID: String)

Parameters

versionMeta

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

apiProperties

Instance of Properties The current configuration of ServerPackCreator, like the default list of clientside-only mods, the server pack directory etc.

utilities

Instance of Utilities commonly used across ServerPackCreator.

serverPackConfigTab

Instance of ServerPackConfigTab to give you access to the various fields inside it, like the modpack directory, selected Minecraft, modloader and modloader versions, etc.

pluginConfig

Plugin specific configuration conveniently provided by ServerPackCreator. This is the global configuration of the plugin which provides the ConfigPanelExtension to ServerPackCreator.

extensionName

The name the titled border of this ConfigPanel will get.

pluginID

The ID of the plugin providing this extension implementation. The pluginID determines which extension specific configurations are provided to this panel, and how they are stored in a given serverpackcreator.conf.