validate_cfg
Validate .cfg commands for CS2 or Deadlock against indexed convars and commands to catch unknown names, out-of-range values, and cheat/devonly or client/server context issues.
Instructions
Check every command in a .cfg against the indexed convars/commands: unknown names (with suggestions), out-of-range values, cheat/devonly flags, and client-vs-server context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game id: one of cs2, deadlock | |
| text | Yes | Contents of a .cfg file | |
| context | No | Where the cfg runs (affects warnings) | server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| errors | Yes | ||
| commands | Yes | ||
| warnings | Yes | ||
| diagnostics | Yes |