Update a game server

If the server is on this will restart the server to reflect the changes.

Path Params
string
required
Body Params
string

ID of a voice server that was purchased with this server

boolean

Automatically stop server when empty <autostop_minutes> min

integer

Minutes until autostop triggers if is is enabled

boolean

Has the server been ordered yet (used internally)

string

Use a custom domain for the server

boolean

While this is set DELETE operation will be blocked

boolean

Write core dump file on server crash

boolean

Enable MySQL addon

boolean
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 150

Max disk usage excluding base installation in GB, 60 GB included, extra disk space charged at €0.30 / GB / month up to 100 GB, or 150 GB for Minecraft and Project Zomboid. Values from 30 to 59 are raised to 60.

string

Name of the server

boolean

Prefer assignment to dedicated hosts on account

boolean

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

Server image to use for this server

Allowed:
string

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

boolean

Enable ARK Server API

string

Steam Game Server Login Token

boolean

Disable bots

boolean

Enable GOTV

boolean

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

Enable MetaMod

string
enum

Game mode. Rush needs a Rush map, e.g. rush_001.

boolean

Insecure server

string
enum

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

Allowed:
string

Mapgroup

string

Mapgroup start map

string

Steam ID of a workshop map to load at boot. Once every map in the collection is installed, the server switches to the first map in the collection, overriding this map

string

Steam ID of workshop single map

string

Server password

boolean

Private server

boolean

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

Server slots (5 - 64)

string

JSON list of configs to load automatically

boolean

Disable 1v1 warmup arenas

boolean

Disable bots

boolean

Enable cSay plugin (required for eBot)

boolean

Enable GOTV

boolean

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

Enable Sourcemod

string
enum

Game mode

boolean

Insecure server

string

Mapgroup

string

Mapgroup start map

string
enum

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

Allowed:
string

Server password

boolean

Private server

boolean

Pure server

string

RCON password

integer
5 to 64

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/AddingAdmins(SourceMod)

string

JSON list of sourcemod plugin IDs

string

Steam Game Server Login Token

number
enum

Server tickrate

Allowed:
string

Workshop collection authkey, leave blank to use our default Authkey

string

Steam workshop ID

string

Steam ID of workshop start map

boolean

Enable GOTV

boolean

Enable Sourcemod

boolean

Insecure server

string

Server password

string

Server RCON

integer
5 to 32

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/AddingAdmins(SourceMod)

string

Starting map

integer
5 to 1000

Server slots (5 - 1000)

boolean

Enable BepInEx

boolean

Enable crossplay

string

Server password

boolean
Defaults to true

Visible in the in-game server browser

integer
300 to 7200
Defaults to 1800

Seconds between world saves (300 - 7200)

string

Server branch

string

World name

Responses
200

Success

507

Restarting the server after the update was refused because it is over its storage allowance and its grace period has ended, or it uses more than 150 GB. The server is left stopped. Remove files or buy more storage to start it.

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