Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateServerOptions

Options for creating a server.

Hierarchy

  • CreateServerOptions

Index

Properties

allocation: { additional?: number[]; default: number }

The server allocation details.

Type declaration

  • Optional additional?: number[]

    Additional allocations for the server.

  • default: number

    The default server allocation.

deploy?: { dedicatedIp: boolean; locations: number[]; portRange: string[] }

Node deployment options. This is for more control over where the server is deployed within the location and port ranges specified.

Type declaration

  • dedicatedIp: boolean
  • locations: number[]
  • portRange: string[]
description?: string

A description of the server.

default

undefined

dockerImage: string

The default docker image for the server.

egg: number

The egg to use for the server.

environment: Record<string, string | number | boolean>

An environment variables object.

externalId?: string

The external identifier of the server.

featureLimits?: Partial<FeatureLimits>

The server's feature limits.

limits?: Partial<Limits>

The server limits.

name: string

The name of the server.

oomDisabled?: boolean

Doesn't work, don't use this.

skipScripts?: boolean

Whether to skip the egg installation script.

default

false

startOnCompletion?: boolean

Whether to start the server after the installation process is complete.

default

false

startup: string

The server startup command.

user: number

The ID of the user that will own the server.

Generated using TypeDoc