You are viewing a potentially older version of this package. View all versions.
BzzzThe18th-CommandLib-1.0.0 icon

CommandLib

Custom command library for Lethal Company.

Date uploaded 11 months ago
Version 1.0.0
Download link BzzzThe18th-CommandLib-1.0.0.zip
Downloads 18567
Dependency string BzzzThe18th-CommandLib-1.0.0

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.