Package-level declarations

Types

Link copied to clipboard

A ServerPackFile represents a source-destination-combination of two files/directories. The source is the file/directory, usually in the modpack, whilst the destination is the file to which the source is supposed to be copied to in the server pack.

Link copied to clipboard
class ServerPackGeneration(val serverPack: File, val errors: List<String>, val serverPackZip: Optional<File>, val packConfig: PackConfig, val files: List<File>)

Returned by de.griefed.serverpackcreator.api.serverpack.ServerPackHandler.run. Contains information about the generated server pack, or the server pack which was attempted to be generated.

Link copied to clipboard
class ServerPackHandler(apiProperties: ApiProperties, versionMeta: VersionMeta, utilities: Utilities, apiPlugins: ApiPlugins, modScanner: ModScanner)

Everything revolving around creating a server pack. The intended workflow is to create a PackConfig and run it through any of the available de.griefed.serverpackcreator.api.config.ConfigurationHandler.checkConfiguration-variants, and then call run with the previously checked configuration model. You may run with an unchecked configuration model, but no guarantees or promises, yes not even support, is given for running a model without checking it first.

Link copied to clipboard

The server pack manifest shipped with every modpack. It includes information about the