Extension Config Panel
Configuration panel for a given plugins configuration in the context of a server pack configuration. An extension config panel should provide configuration options relevant to one server pack and one server pack only. Every server pack configuration will receive/store/load one config for your plugin's panel.
Author
Griefed
Template ConfigPanel for use in {@link ConfigPanelExtension} extensions.
Author
Griefed
Parameters
Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.
Instance of Properties The current configuration of ServerPackCreator, like the default list of clientside-only mods, the server pack directory etc.
Instance of Utilities commonly used across ServerPackCreator.
Instance of ServerPackConfigTab to give you access to the various fields inside it, like the modpack directory, selected Minecraft, modloader and modloader versions, etc.
Plugin specific configuration conveniently provided by ServerPackCreator. This is the global configuration of the plugin which provides the ConfigPanelExtension to ServerPackCreator.
The name the titled border of this ConfigPanel will get.
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.
Constructors
Properties
Functions
Clear the interface, or in other words, reset this extensions config panel UI. If your Config Panel Extensions has no elements you wish to reset, then simply overwrite this method with an empty method body.
Clear the interface, or in other words, reset this extensions config panel UI. If your Config Panel Extensions has no elements you wish to reset, then simply overwrite this method with an empty method body.
Retrieve this extensions server pack specific configuration. When no configuration with configs for this extension has been loaded yet, the returned list is empty. Fill it with life!
Retrieve this extensions server pack specific configuration. When no configuration with configs for this extension has been loaded yet, the returned list is empty. Fill it with life!
Pass the extension configuration to the configuration panel, so it can then, in turn, load the available configurations and make them editable, if so desired.