CommandLib

v1.0.0·Updated 2023-12-07

Custom command library for Lethal Company.

About this mod Author’s original text

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.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
CommandLib-1.0.0.zip
File size
7.7 KiB
SHA-256
9667a6e6df3512eb39b3c1d6a5d3f1af5731ea434b7d44bd7f7e121cad061445
Stored at
2026-10-09 18:35