Skip to content

Interface MinecraftServerOptions

🏷️ Properties

cwd optional

ts
cwd: string

Current working directory. Default is the same with the path. Inherited from: BaseServerOptions.cwd

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

extraExecOption optional

ts
extraExecOption: SpawnOptions

Inherited from: BaseServerOptions.extraExecOption

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

extraJVMArgs optional

ts
extraJVMArgs: string[]

Inherited from: BaseServerOptions.extraJVMArgs

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

extraMCArgs optional

ts
extraMCArgs: string[]

Inherited from: BaseServerOptions.extraMCArgs

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

javaPath

ts
javaPath: string

Java executable. Inherited from: BaseServerOptions.javaPath

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

maxMemory optional

ts
maxMemory: number

Inherited from: BaseServerOptions.maxMemory

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

minMemory optional

ts
minMemory: number

Inherited from: BaseServerOptions.minMemory

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

nogui optional

ts
nogui: boolean

No gui for the server launch Inherited from: BaseServerOptions.nogui

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

path

ts
path: string

Minecraft location.

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

spawn optional

ts
spawn: Function

Inherited from: BaseServerOptions.spawn

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

version

ts
version: string | ResolvedVersion

The version id.

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