Interface AirshipServerConfig

Configuration for an Airship server.

interface AirshipServerConfig {
    accessMode?: AccessMode;
    allowedUserIds?: string[];
    fleet?: AgonesFleet;
    gameConfig?: object;
    maxPlayers?: number;
    region?: string;
    sceneId?: string;
    tags?: string[];
}

Properties

accessMode?: AccessMode

The access mode of the server. Defaults to OPEN on the default scene, and DIRECT_JOIN on any other scene.

allowedUserIds?: string[]

Only allow the players in this list to join the server.

fleet?: AgonesFleet

The fleet the game server will use. This determines the performance characteristics of the underlying server host.

gameConfig?: object

An object representing game configuration to be passed to the created server.

maxPlayers?: number

The max players setting for the server. If not set, the default for the game is used. You can change the default for your game on https://create.airship.gg

region?: string

The region the game server should be started in. Defaults to the same region as the server that makes the create request.

sceneId?: string

The scene the server will start on. Defaults to the scene provided during deployment.

tags?: string[]

An array of tags to associate with this server. You can have up to 100 tags.