Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Simultaneous Terminal Usage
Use the ship terminal at the same time as other players. Lets multiple crewmates access the vanilla terminal simultaneously without kicking each other off.
By Zaliteam
| Last updated | 17 minutes ago |
| Total downloads | 1 |
| Total rating | 0 |
| Categories | Mods BepInEx Server-side Tweaks & Quality Of Life AI Generated |
| Dependency string | Zaliteam-Simultaneous_Terminal_Usage-1.0.0 |
| Dependants | 0 other packages depend on this package |
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.2100README
SimultaneousTerminalUsage — Shared Simultaneous Ship Terminal
Use the ship terminal at the same time as your crewmates.
No more waiting in line or accidentally kicking your friend off the computer when checking the store, moons, radar, or bestiary.
What It Does
In vanilla Lethal Company, only one player can sit at the ship's terminal at a time—the prompt disappears while someone is using it, and forcing an entry kicks the current user off.
MultiTerminal removes that single-user lock so multiple players can open and use the vanilla terminal simultaneously:
- Independent screens: Each player gets their own local terminal screen, input field, and command history—typing or navigating pages won't overwrite anyone else's view.
- Synced ship state: Credits, dropship orders, moon routing, ship upgrades, and signal translator messages still sync through the host as normal.
- Smart terminal state: The terminal light stays on and the terminal stays locked against moving (
Build Mode) until the last player exits (or disconnects/dies). - Mod-friendly: Does not replace the terminal UI or touch command parsing, so custom terminal UIs and command mods (such as
darmuhsTerminalStuff,OpenLib,TerminalApi, etc.) continue to work normally.
Requirements & Installation
- Requires: BepInEx 5 (
BepInExPack) - Multiplayer: Host + all players who want to share the terminal simultaneously need this mod installed.
- Why? Vanilla clients automatically kick themselves off the terminal when another player triggers
UpdateUsedByPlayerClientRpc, and a vanilla host broadcastsKickOffTerminalClientRpc()if a second player enters whileplaceableObject.inUseistrue.
- Why? Vanilla clients automatically kick themselves off the terminal when another player triggers
Manual Install
- Install BepInEx 5 for Lethal Company.
- Copy
MultiTerminal.dllintoLethal Company/BepInEx/plugins/.
Configuration
A config file is generated at BepInEx/config/MultiTerminal.cfg after launching the game once:
| Setting | Default | Description |
|---|---|---|
General.Enabled |
true |
Allow multiple players to access the ship terminal at the same time. |
Technical Details (For Developers)
MultiTerminal uses Harmony patches in MultiTerminal.TerminalPatches across three layers of Lethal Company's terminal interaction pipeline:
-
Local Hover & Interact Bypass (
PlayerControllerB&InteractTrigger)- Patches
PlayerControllerB.SetHoverTipAndCurrentInteractTrigger,PlayerControllerB.InteractTriggerUseConditionsMet, andInteractTrigger.Interact. - When the terminal's
InteractTriggerhasisPlayingSpecialAnimation == trueand the local player is not already ininTerminalMenu, prefixes temporarily clearisPlayingSpecialAnimationso the hover prompt ([E]) and interaction succeed, then finalizers restore it.
- Patches
-
Client Animation Lock Preservation (
InteractTriggerClientRpcs)- Patches
InteractTrigger.UpdateUsedByPlayerClientRpcandInteractTrigger.StopUsingClientRpc. - Vanilla
UpdateUsedByPlayerClientRpccallsStopSpecialAnimation()iflockedPlayer == localPlayerController.transform, andStopUsingClientRpcclearsisPlayingSpecialAnimationandlockedPlayerwhen any player leaves. - While
localPlayer.inTerminalMenuistrue, prefix/finalizer hooks preserve the local player'slockedPlayer,playerScriptInSpecialAnimation,playerUsingId, andisPlayingSpecialAnimation = trueso other players entering or leaving do not interrupt or soft-lock the local user's exit flow.
- Patches
-
Server-Side Active User Tracking (
Terminal&InteractTriggerServerRpcs)- Patches
InteractTrigger.UpdateUsedByPlayerServerRpc,InteractTrigger.StopUsingServerRpc,Terminal.SetTerminalInUseServerRpc, andStartOfRound.OnPlayerDC. - Tracks active terminal users in a server-side
HashSet<int>(filtering forNetworkBehaviour.__rpc_exec_stage == 1so RPC send calls on the host are not double-counted) and prunes dead or uncontrolled players (!isPlayerControlled || isPlayerDead). - Replaces the vanilla
Terminal.SetTerminalInUseServerRpcbehavior that callsKickOffTerminalClientRpc()wheneverplaceableObject.inUseis alreadytrue. Instead,SetTerminalInUseClientRpc(true)keeps the terminal active for all users, andSetTerminalInUseClientRpc(false)is only sent once the last active user exits or disconnects.
- Patches
-
Custom Terminal UI & Command Compatibility (
darmuhsTerminalStuff,OpenLib, etc.)- Uses
Priority.First/Priority.Laston shared hooks and avoids patchingBeginUsingTerminal,QuitTerminal,ParsePlayerSentence,OnSubmit, orLoadNewNode, preserving custom terminal UIs, commands, keybinds, andAlwaysOnDisplay/placeableObject.inUsescreen behavior. - When
darmuhsTerminalStuffis detected (TerminalStuff.Networking.NetHandler), optionally patchesSyncNodesRpcso incoming networked node syncs still mirror to non-terminal spectators without overwriting the screen of another player who is actively using the terminal.
- Uses
Credits
- Simultaneous terminal interact-bypass logic extracted and adapted from
CrackedTerminal(TerminalHook.cs), expanded with full vanilla RPC & lock-state handling so it works directly with the vanilla ship terminal.