Config keys (scripting & HUD)
File: opusbot_cmd.txt next to opusbot.dll. Lines are key=value. # starts a comment.
Scripting
| Key | Default | Description |
|---|---|---|
lua_scripts | empty | Comma-separated list of .lua files to load |
scripts_dir | . | Reported by Engine.getScriptsDirectory() |
The Scripts GUI tab rewrites lua_scripts when you Load / Unload.
HUD overlay (script drawing)
| Key | Default | Description |
|---|---|---|
hud_overlay | 1 | 1 show Win32 GDI HUD for text/rects; 0 hide |
Module button bar
| Key | Default | Description |
|---|---|---|
hud_visible | 1 | show/hide the Cave/Heal/… quick bar |
hud_anchor | tl | tl / tr / bl / br |
hud_top_margin | 100 | pixels from top when anchor is top-* |
hud_buttons | (see below) | semicolon-separated button list |
Button format
id:Label:verb|#RRGGBB|itemId;id2:Label2:verb2
id— used for module mapping:cave,heal,spell,target,lootLabel— text on the buttonverb— IPC line, usuallySET cave_enabled 1(the GUI toggles trailing0/1)- optional color and item sprite id
Example:
hud_buttons=cave:Cave:SET cave_enabled 1;heal:Heal:SET heal_enabled 1;target:Target:SET enabled 1;spell:Spells:SET spell_enabled 1;loot:Loot:SET loot_enabled 1
Module setting keys:
| Module | Setting key |
|---|---|
| Targeting | enabled |
| Healing | heal_enabled |
| Spells | spell_enabled |
| Cavebot | cave_enabled |
| Autoloot | loot_enabled |
| Equipment | equip_enabled |
| Reconnect | reconnect_enabled |
Logging (useful while developing scripts)
| Key | Description |
|---|---|
log_enabled | write bot log |
log_console | also print to console |
IPC verbs (Scripts tab / automation)
| Verb | Effect |
|---|---|
SCRIPTS | JSON { "active": [...], "available": [...] } |
DO scriptload <file> | add to lua_scripts |
DO scriptunload <file> | remove from list |
DO scriptreload | force reload of active set |
DO scriptbrowse | file picker → copy into DLL folder |
DO hudtoggle / hudshow / hudhide | module bar visibility |