BzzzThe18th-CommandLib icon

CommandLib

Custom command library for Lethal Company.

Last updated a year ago
Total downloads 18828
Total rating 0 
Categories Libraries
Dependency string BzzzThe18th-CommandLib-1.0.0
Dependants 29 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Command Library

Simple, probably bad library to register terminal commands.

How do I register a command?

Use Commands.RegisterCommand and pass in the word that you want to trigger the command, the text to return when it is executed, the name of the terminal event (if you don't want to use this, just input an empty string), and your terminal instance.

Why the fuck did you make such a small library?

I don't like having something that could be separated and reused incorporated in a mod.