Tool tree
Half-Life Dedicated Server powered by Docker, supporting all the classic GoldSrc Half-Life games and mods-including Counter-Strike 1.6, Team Fortress Classic, Day of Defeat and more.
Implementation
gradeNot graded
gradeNot graded
generate_docker_run_commandAction
Generates a docker run command to start a Half-Life Dedicated Server for a given GoldSrc game and settings.
View tool JSON
{
"name": "generate_docker_run_command",
"kind": "act",
"impl": "imperative",
"description": "Generates a docker run command to start a Half-Life Dedicated Server for a given GoldSrc game and settings.",
"inputSchema": {
"type": "object",
"properties": {
"game": {
"type": "string",
"description": "The game/mod to run.",
"enum": [
"valve",
"cstrike",
"czero",
"dmc",
"gearbox",
"ricochet",
"dod",
"tfc",
"valve-legacy",
"cstrike-legacy",
"czero-legacy",
"tfc-legacy"
]
},
"map": {
"type": "string",
"description": "Starting map. Defaults to the game's first map if omitted."
},
"servername": {
"type": "string",
"description": "Server hostname shown in the server browser."
},
"maxplayers": {
"type": "integer",
"description": "Maximum number of players (1-32).",
"minimum": 1,
"maximum": 32
},
"rcon": {
"type": "string",
"description": "RCON password for remote console access. Omit to disable RCON."
},
"password": {
"type": "string",
"description": "Password required to join the server. Omit for a public server."
},
"lanmode": {
"type": "boolean",
"description": "Restrict the server to LAN-only (sv_lan 1)."
},
"cheats": {
"type": "boolean",
"description": "Enable cheats (sv_cheats 1)."
},
"autoupdate": {
"type": "boolean",
"description": "Re-check Steam for updated game files on every container start (AUTO_UPDATE)."
}
},
"required": [
"game"
]
},
"page": "/hlds-docker/"
}