Skip to content

Interface JarOption

Replace the minecraft client or server jar download

🏷️ Properties

agent

ts
agent: DownloadAgent

The download agent Inherited from: DownloadBaseOptions.agent

Defined in: packages/file-transfer/download.ts:20

checksumValidatorResolver

ts
checksumValidatorResolver: Function

Defined in: packages/installer/minecraft.ts:178

client

ts
client: string | string[] | Function

The client jar url replacement

Defined in: packages/installer/minecraft.ts:172

headers

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

Defined in: packages/file-transfer/download.ts:16

json

ts
json: string | string[] | Function

The version json url replacement

Defined in: packages/installer/minecraft.ts:168

server

ts
server: string | string[] | Function

The server jar url replacement

Defined in: packages/installer/minecraft.ts:176

side

ts
side: "server" | "client"

The installation side Inherited from: InstallSideOption.side

Defined in: packages/installer/minecraft.ts:185

skipPrevalidate

ts
skipPrevalidate: boolean

Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate

Defined in: packages/file-transfer/download.ts:30

skipRevalidate

ts
skipRevalidate: boolean

Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate

Defined in: packages/file-transfer/download.ts:25

throwErrorImmediately

ts
throwErrorImmediately: boolean

Inherited from: ParallelTaskOptions.throwErrorImmediately

Defined in: packages/installer/utils.ts:95

Released under the MIT License.