ServerProcess
import type { ServerProcess } from "https://aws-api.deno.dev/v0.4/services/gamelift.ts?docs=full";
A set of instructions for launching server processes on each instance in a fleet. Server processes run either an executable in a custom game build or a Realtime Servers script. Server process configurations are part of a fleet's runtime configuration.
interface ServerProcess {
ConcurrentExecutions: number;
LaunchPath: string;
Parameters?: string | null;
}§Properties
§
ConcurrentExecutions: number
[src]The number of server processes using this configuration that run concurrently on each instance.
§
LaunchPath: string
[src]The location of a game build executable or the Realtime script file that contains the Init()
function.
Game builds and Realtime scripts are installed on instances at the root:
- Windows (custom game builds only):
C:\game
. Example: "C:\game\MyGame\server.exe
" - Linux:
/local/game
. Examples: "/local/game/MyGame/server.exe
" or "/local/game/MyRealtimeScript.js
"