Skip to content

Interface JarOption

Replace the minecraft client or server jar download

🏷️ Properties

agent optional

ts
agent: DownloadAgent

The download agent Inherited from: DownloadBaseOptions.agent

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

checksumValidatorResolver optional

ts
checksumValidatorResolver: Function

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

client optional

ts
client: string | string[] | Function

The client jar url replacement

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

headers optional

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

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

json optional

ts
json: string | string[] | Function

The version json url replacement

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

server optional

ts
server: string | string[] | Function

The server jar url replacement

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

side optional

ts
side: "server" | "client"

The installation side Inherited from: InstallSideOption.side

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

skipPrevalidate optional

ts
skipPrevalidate: boolean

Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate

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

skipRevalidate optional

ts
skipRevalidate: boolean

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

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

throwErrorImmediately optional

ts
throwErrorImmediately: boolean

Inherited from: ParallelTaskOptions.throwErrorImmediately

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