Create a game server

On success this returns the new server in the same format as game-servers.

Body Params
string

ID of a voice server that was purchased with this server

boolean
Defaults to false

Automatically stop server when empty <autostop_minutes> min

integer

Minutes until autostop triggers if is is enabled

boolean
Defaults to true

Has the server been ordered yet (used internally)

string

Use a custom domain for the server

boolean
Defaults to false

While this is set DELETE operation will be blocked

boolean
Defaults to false

Write core dump file on server crash

boolean
Defaults to false

Enable MySQL addon

boolean
Defaults to false
string
enum
required
Allowed:
string

ID for the location of the server, see this article for available locations:
https://help.dathost.net/article/76-api-server-locations-mapping

number

Sort order in control panel

integer
30 to 100
Defaults to 30

Max disk usage excluding base installation in GB, 30GB included, extra disk space charged at €0.3 / GB / Month

string
required

Name of the server

boolean
Defaults to true

Prefer assignment to dedicated hosts on account

boolean
Defaults to false

Automatically reboot the server in case of server crash

string

JSON list with scheduled commands (see game-servers.GET for format to use)

string
enum
Defaults to default

Server image to use for this server

Allowed:
string

Custom metadata for the server, is not used by the DatHost system

boolean
Defaults to false

Enable ARK Server API

string

Steam Game Server Login Token

boolean
Defaults to false

Disable bots

boolean
Defaults to false

Enable GOTV

boolean
Defaults to false

Enables a secondary GOTV stream on the same server.
Warning: The tv_delay and tv_delay1 shouldn’t be more than 10 seconds apart, otherwise the server runs the risk of a sudden shutdown.

boolean
Defaults to false

Enable MetaMod

string
enum
Defaults to competitive

Game mode

Allowed:
boolean
Defaults to false

Insecure server

string
enum
Defaults to mapgroup

Maps source (in workshop single map mode only workshop_start_map_id is loaded)

Allowed:
string

Mapgroup

string
Defaults to de_dust2

Mapgroup start map

string

Steam workshop collection ID

string

Steam ID of workshop start map

string

Steam ID of workshop single map

string

Server password

boolean
Defaults to false

Private server

boolean
Defaults to false

Disables the filtering of console commands on community/workshop maps, allowing all commands to be executed. By default, CS2 restricts certain commands when running workshop content.

string

RCON password

integer
5 to 64
Defaults to 14

Server slots (5 - 64)

string

JSON list of configs to load automatically

boolean
Defaults to false

Disable 1v1 warmup arenas

boolean
Defaults to false

Disable bots

boolean
Defaults to true

Enable cSay plugin (required for eBot)

boolean
Defaults to false

Enable GOTV

boolean
Defaults to false

Enables a secondary GOTV stream on the same server.
Warning: The tv_delay and tv_delay1 shouldn’t be more than 10 seconds apart, otherwise the server runs the risk of a sudden shutdown.

boolean
Defaults to false

Enable Sourcemod

string
enum
Defaults to classic_competitive

Game mode

boolean
Defaults to false

Insecure server

string
Defaults to mg_active

Mapgroup

string
Defaults to de_dust2

Mapgroup start map

string
enum
Defaults to mapgroup

Maps source - mapgroup, workshop or workshop_single_map (in single map mode only workshop_start_map_id is loaded)

Allowed:
string

Server password

boolean
Defaults to false

Private server

boolean
Defaults to false

Pure server

string

RCON password

integer
5 to 64
Defaults to 12

Server slots (5 - 64)

string

This string is written as is to csgo/addons/sourcemod/configs/admins_simple.ini, documentation can be found here: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)

string

JSON list of sourcemod plugin IDs

string

Steam Game Server Login Token

number
enum
Defaults to 128

Server tickrate

Allowed:
string

Workshop collection authkey, leave blank to use our default Authkey

string
Defaults to 435587093

Steam workshop ID

string
Defaults to 125438255

Steam ID of workshop start map

boolean
Defaults to false

Enable GOTV

boolean
Defaults to false

Enable Sourcemod

boolean
Defaults to false

Insecure server

string

Server password

string

Server RCON

integer
5 to 32
Defaults to 12

Server slots (5 - 32)

string

This string is written as is to tf/addons/sourcemod/configs/admins_simple.ini, documentation can be found here: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)

string

Starting map

integer
5 to 1000
Defaults to 50

Server slots (5 - 1000)

string

JSON list of server admins in SteamID64 format

string

JSON list of BepInEx plugin IDs

boolean
Defaults to false

Enable BepInEx

boolean
Defaults to false

Enable crossplay

string

Server password

string

Server branch

string
Defaults to Dedicated

World name

Response
200

Success

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!