Skip to content

Interface BaseServerOptions

🏷️ Properties

extraExecOption optional

ts
extraExecOption: SpawnOptions

Defined in: packages/core/launch.ts:432

extraJVMArgs optional

ts
extraJVMArgs: string[]

Defined in: packages/core/launch.ts:430

extraMCArgs optional

ts
extraMCArgs: string[]

Defined in: packages/core/launch.ts:431

javaPath

ts
javaPath: string

Java executable.

Defined in: packages/core/launch.ts:423

maxMemory optional

ts
maxMemory: number

Defined in: packages/core/launch.ts:429

minMemory optional

ts
minMemory: number

Defined in: packages/core/launch.ts:428

nogui optional

ts
nogui: boolean

No gui for the server launch

Defined in: packages/core/launch.ts:427

prependCommand optional

ts
prependCommand: string | string[]

Defined in: packages/core/launch.ts:434

spawn optional

ts
spawn: (command: string, args?: readonly string[], options?: SpawnOptions) => ChildProcess

The spawn process function. Used for spawn the java process at the end. By default, it will be the spawn function from "child_process" module. You can use this option to change the 3rd party spawn like cross-spawn

Defined in: packages/core/launch.ts:439