MrGlim-ShipLightsTerminal icon

ShipLightsTerminal

Terminal commands lights / lightson / lightsoff to control ship lights.

Last updated 5 hours ago
Total downloads 12
Total rating 0 
Categories
Dependency string MrGlim-ShipLightsTerminal-1.0.0
Dependants 0 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

ShipLightsTerminal

Terminal commands to turn the ship lights on, off, or toggle them.

Website: github.com/ben-hough/lc-ship-lights-terminal
Game: Lethal Company v81 (and compatible)

Install

  1. Install BepInEx Pack for Lethal Company.
  2. Drop ShipLightsTerminal.dll into BepInEx/plugins/ (or install via r2modman / Gale).

Commands

Command Action
lights / light / ship lights Toggle ship lights
lightson / lights on / turn on lights Turn on
lightsoff / lights off / turn off lights Turn off
togglelights / toggle lights Toggle

On the real help catalog (STORE / BESTIARY / …) you will also see:

>LIGHTS
Toggle ship lights on/off.
Also: LIGHTSON / LIGHTSOFF

The first-boot terminal tip does not list LIGHTS (by design).

Behaviour notes

  • Calls ShipLights.SetShipLightsServerRpc so the state syncs (RequireOwnership=false)
  • Falls back to Object.FindObjectOfType<ShipLights>() if StartOfRound.shipRoomLights is null
  • Reactivates terminal input after a lights command (no blank Enter)

Config

Key Default Notes
Enabled true Master toggle
VerboseLogging false Trace Parse/OnSubmit/LoadNewNode

Build

dotnet build -c Release

License

MIT — see LICENSE.