ConsoleLibrary
Lets other mods add dev-console commands. Passive registry, no mod scanning. Optional mini-markdown output.Console Library
Lets other Lucky Shot mods add their own dev-console commands.
- Passive: mods call
ConsoleCommands.Register(...)themselves. No scanning. - Custom commands run as fallback (only on "Unknown command"). Built-ins win.
help()lists custom commands automatically.- Optional mini-markdown for pretty output:
Results.Md("# Title\n- a:x").
For mod authors:
ConsoleCommands.Register("hello",
args => new DeveloperConsoleCommandResult(true, "hi!"),
"Says hi.", "hello()");
Requires BepInEx 5. Install: put LuckyShotConsoleLibrary.dll in BepInEx/plugins/.
