ServerPackHandler

constructor(apiProperties: ApiProperties, versionMeta: VersionMeta, utilities: Utilities, apiPlugins: ApiPlugins, modScanner: ModScanner)

Parameters

apiProperties

Base settings of ServerPackCreator needed for server pack generation, such as access to the directories, script templates and so on.

versionMeta

Meta for modloader and version specific checks and information gathering, such as modloader installer downloads.

utilities

Common utilities used across ServerPackCreator.

apiPlugins

Any addons which a user may want to execute during the generation of a server pack.

modScanner

In case a user enabled automatic sideness detection, this will exclude clientside-only mods from a server pack.