You are viewing a potentially older version of this package.
View all versions.
ConsoleLibrary
Lets other mods add dev-console commands. Passive registry, no mod scanning. Optional mini-markdown output.
| Date uploaded | 2 weeks ago |
| Version | 1.1.0 |
| Download link | LiamGaming-ConsoleLibrary-1.1.0.zip |
| Downloads | 35 |
| Dependency string | LiamGaming-ConsoleLibrary-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
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/.
CHANGELOG
Changelog
1.1.0
- Mini-markdown output (opt-in):
#headers, bullets,**bold**,*italic*,`code`,[c=#hex]color[/c]. Resultshelpers:Ok,Err,Md,MdErr,OkMd,ErrMd.
1.0.0
- Initial release: passive
ConsoleCommandsregistry, fallback execution,help()appendix.