set_workspace
Configures the workspace by indexing a game's vanilla files, mods, and script_docs to enable accurate script lookup and validation.
Instructions
Point the server at a vanilla game tree, optional mod trees, and an optional script_docs dump, then index everything.
game_root: the game's install directory (the one containing common/, or a
game/ folder for CK3/Vic3/EU5).
mod_roots: mod directories, in load order — later entries win.
docs_dir: output of the script_docs console command. Strongly recommended;
several checks are skipped without it.
game: override auto-detection (eu5, eu4, vic3, hoi4, ck3, stellaris).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | ||
| docs_dir | No | ||
| game_root | Yes | ||
| mod_roots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||