Interface ServerOptions
This is the case you provide the server jar execution path.
🏷️ Properties
classPath optional
classPath: string[]Defined in: packages/core/launch.ts:455
extraExecOption optional
extraExecOption: SpawnOptionsInherited from: BaseServerOptions.extraExecOption
Defined in: packages/core/launch.ts:432
extraJVMArgs optional
extraJVMArgs: string[]Inherited from: BaseServerOptions.extraJVMArgs
Defined in: packages/core/launch.ts:430
extraMCArgs optional
extraMCArgs: string[]Inherited from: BaseServerOptions.extraMCArgs
Defined in: packages/core/launch.ts:431
javaPath
javaPath: stringJava executable. Inherited from: BaseServerOptions.javaPath
Defined in: packages/core/launch.ts:423
mainClass optional
mainClass: stringDefined in: packages/core/launch.ts:453
maxMemory optional
maxMemory: numberInherited from: BaseServerOptions.maxMemory
Defined in: packages/core/launch.ts:429
minMemory optional
minMemory: numberInherited from: BaseServerOptions.minMemory
Defined in: packages/core/launch.ts:428
nogui optional
nogui: booleanNo gui for the server launch Inherited from: BaseServerOptions.nogui
Defined in: packages/core/launch.ts:427
prependCommand optional
prependCommand: string | string[]Inherited from: BaseServerOptions.prependCommand
Defined in: packages/core/launch.ts:434
serverExectuableJarPath optional
serverExectuableJarPath: stringThe minecraft server exectuable jar file.
This is the case like you are launching forge server.
Defined in: packages/core/launch.ts:451
spawn optional
spawn: (command: string, args?: readonly string[], options?: SpawnOptions) => ChildProcessThe 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-spawnInherited from: BaseServerOptions.spawn
Defined in: packages/core/launch.ts:439