ImprovedTABSlot

版本 v2.1.1·更新於 2026-08-07

Lets Shovel, Ammo, Clipboard, Sticky note, Key, Shotgun & Knife into the v80 utility (Tab) slot. Host-authoritative, per-item config.

模組介紹 作者原文

ImprovedTABSlot

Language / Язык: English · Русский

A BepInEx mod for Lethal Company (v80+, "The Blooming Update", which added the utility

slot). It lets items that the vanilla utility-slot blacklist normally rejects be carried

in the Tab slot:

  • Shovel (and its reskins: Stop sign / Yield sign)
  • Ammo (shotgun shells)
  • Clipboard
  • Sticky note
  • Key
  • Shotgun (two-handed — see caveat)
  • Kitchen knife
  • Maneater (baby cave dweller) — opt-in, off by default

Each item can be toggled individually.

Multiplayer (host-authoritative)

Because a client-side "extra slot" can be a competitive advantage, the feature is

host-authoritative: it stays inert on a client until the host confirms it also has the

mod (via a Netcode named-message handshake). A lone modded client in a vanilla lobby gets

no change; when the host has the mod, the utility slot uses the vanilla, fully-networked

slot path (ItemOnlySlot, index 50) so all players stay in sync.

How it works

The blacklist lives in PlayerControllerB.FirstEmptyItemSlot, which routes a grabbed item

to slot 50 only when!isScrap &&!twoHanded &&!disallowUtilitySlot. A Harmony Prefix

reproduces that "return 50" branch for enabled items (when the slot is empty and the host

has the mod), bypassing those gates. The Tab handler only toggles the active slot and

never re-validates, so this covers both auto-pickup and Tab swapping.

Shotgun caveat: it's two-handed, so vanilla's two-handed switching lock still applies

once it's in your hands (you must drop it to switch away).

Install

  • Install BepInEx 5 (BepInExPack for Lethal Company).
  • Put Iron.ImprovedTABSlot.dll in Lethal Company/BepInEx/plugins.
  • Launch once to generate BepInEx/config/Iron.ImprovedTABSlot.cfg.

Config (Iron.ImprovedTABSlot.cfg)

| Section | Key | Default | Meaning |

|---------|-----|---------|---------|

| General | Enabled | true | Master switch. |

| Items | Shovel … Knife | true | Per-item toggles. |

| Items | Maneater | false | Allow the Maneater (off by design). |

| Debug | VerboseLogging | false | Log routed items + networking state. |

Build

dotnet build -c Release → bin/Release/Iron.ImprovedTABSlot.dll. Game references come

from the LethalCompany.GameLibs.Steam NuGet package (match the version to your build).

Compatibility

Only patches vanilla FirstEmptyItemSlot; doesn't touch ReservedItemSlotCore. If you run

another utility-slot manager, watch for a Tab-keybind conflict.

ImprovedTABSlot — Русское описание

⤴ English

Мод на BepInEx для Lethal Company (v80+), позволяющий носить в Tab-слоте предметы,

которые ваниль туда не пускает:

  • Лопата (и рероллы: Stop/Yield sign)
  • Патроны (для дробовика)
  • Планшет, Стикер, Ключ
  • Дробовик (двуручный — см. оговорку)
  • Кухонный нож
  • Манчер (детёныш cave dweller) — опция, по умолчанию выкл.

Каждый предмет включается отдельно.

Мультиплеер (host-authoritative)

Так как «лишний слот» на клиенте — это преимущество, фича управляется хостом: на

клиенте она выключена, пока хост named-message'ем не подтвердит, что мод есть и у него.

Одиночный клиент в ванильном лобби ничего не получает; когда мод у хоста — используется

штатный сетевой путь слота (ItemOnlySlot, индекс 50), и все синхронизированы. Это и есть

фикс правила Lethal Company про клиентское преимущество.

Как работает

«Чёрный список» — в PlayerControllerB.FirstEmptyItemSlot: предмет уходит в слот 50

только если!isScrap &&!twoHanded &&!disallowUtilitySlot. Harmony-Prefix повторяет

ветку «вернуть 50» для включённых предметов (когда слот пуст и мод у хоста), обходя эти

проверки. Клавиша Tab предмет не перепроверяет — покрыт и авто-подбор, и обмен по Tab.

Оговорка про дробовик: он двуручный, поэтому ванильная блокировка смены слота для

двуручных сохраняется (чтобы переключиться назад — выбросить).

Установка

  • Поставь BepInEx 5 (BepInExPack for Lethal Company).
  • Положи Iron.ImprovedTABSlot.dll в Lethal Company/BepInEx/plugins.
  • Запусти раз — создастся BepInEx/config/Iron.ImprovedTABSlot.cfg.

Совместимость

Патчит только ванильн

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
ImprovedTABSlot-2.1.1.zip
檔案大小
11.4 KiB
SHA-256
6e95f9567bbf95e4a9750c0c7fa3775ee927c4b36e6b239591d5edee54c696cd
入庫時間
2026-10-10 18:41