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.
ImprovedBeltBag
Configurable belt bags: choose which item types they hold (tools, shotgun, knife, signs, scrap) with per-type limits, capacity, weight, and a resizable slot grid. Host-authoritative.
| Date uploaded | a month ago |
| Version | 1.3.0 |
| Download link | Solon-ImprovedBeltBag-1.3.0.zip |
| Downloads | 606 |
| Dependency string | Solon-ImprovedBeltBag-1.3.0 |
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
ImprovedBeltBag
Language / Язык: English · Русский
A BepInEx mod for Lethal Company that makes Belt Bags configurable — decide exactly which item types they accept, cap each type, add weight, and resize the slot grid.
- Per-type item categories, each with its own
Allow+Max Amount:Tools,Shotgun,Knife,Signs,One Handed Scrap,Two Handed Scrap,Deny, plus per-item overrides. So you can, say, let the bag carry tools/shotguns/knives but not generic metal loot — and limit how many one-handed vs two-handed junk items fit. - Capacity and grab range (host-enforced).
- Weight: the bag weighs you down by its contents (vanilla bags are weightless).
- Resizable slot grid: the inventory UI shows the configured number of slots, centred with the original spacing.
- HUD tips + an "empty bag" action (right-interact while holding it).
Multiplayer (host-authoritative)
Bigger/permissive bags are a competitive advantage, so this is host-authoritative: the tweaks stay off on a client until the host confirms it has the mod, and every add is validated server-side against the host's config. A lone modded client in a vanilla lobby gets no advantage, and clients can't exceed the host's limits. Vanilla clients can still join.
Compatibility with other belt bag mods
This mod only touches the vanilla belt bag. Mods that add their own bag do it by cloning the vanilla prefab, so their bag runs the same code and would otherwise be caught by every patch here — having its items rejected, its weight counted twice and its slot grid resized. The vanilla bag is identified once at startup, and any other bag is left to the mod that owns it.
Install
- Install BepInEx 5 (BepInExPack for Lethal Company).
- Put
Iron.ImprovedBeltBag.dllinLethal Company/BepInEx/plugins/. - Launch once to generate
BepInEx/config/Iron.ImprovedBeltBag.cfg.
Config (Iron.ImprovedBeltBag.cfg)
| Section | Key | Default | Meaning |
|---|---|---|---|
| General | Enabled |
true |
Master switch. |
| Slots | Capacity |
15 |
How many items fit. |
| Slots | Resize Inventory UI |
true |
Rebuild the slot grid to match Capacity. |
| Slots | Slots Per Row |
5 |
Columns in the rebuilt grid. |
| Items | Per-Item Overrides |
Body: Deny, Apparatus: Deny |
ItemName: Category map. |
| Category.* | Allow / Max Amount |
— | Per-category toggle + cap. Tools/Shotgun/Knife/Signs on; scrap off. |
| Weight | Enabled / Multiplier |
true / 1.0 |
Contents add weight. |
| Misc | Grab Range / Tooltips / Empty Bag Action |
4 / on / on |
Empty is a double tap of right-interact (E). |
| Misc | Empty Bag Double Tap Window |
0.4 |
Seconds the second press has to land in. |
| Host | Enforce Capacity / Restrictions / Range |
on | Server-side checks. |
Credits
The networking model and item-category system are adapted from BagConfig by
The Matty (mattymatty) (MIT) — https://github.com/mattymatty97/LTC_BagConfig. The
weight feature and resizable slot grid are original. See THIRD_PARTY_LICENSES.md.
Build
dotnet build -c Release → bin/Release/Iron.ImprovedBeltBag.dll. Uses the publicized
LethalCompany.GameLibs.Steam NuGet package (match the version to your build).
ImprovedBeltBag — Русское описание
Мод на BepInEx, делающий belt bag (поясную сумку) настраиваемой — ты сам решаешь, какие типы предметов она принимает, ставишь лимиты, вес и меняешь число слотов.
- Категории по типам, у каждой свои
Allow+Max Amount:Tools(инструменты),Shotgun,Knife,Signs(знаки),One Handed Scrap,Two Handed Scrap,Deny, плюс пер-предметные оверрайды. Можно, например, разрешить инструменты/дробовик/ножи, но запретить металлолом — и отдельно ограничить, сколько влезает одноручного и двуручного хлама. - Вместимость и дальность захвата (энфорсятся хостом).
- Вес: сумка тяжелеет от содержимого (ванильные — невесомые).
- Настраиваемая сетка слотов: инвентарь показывает заданное число слотов, по центру и с оригинальными отступами.
- HUD-подсказки + «высыпать всё» (правый interact держа сумку).
Мультиплеер (host-authoritative)
Более вместительная сумка — это преимущество, поэтому мод управляется хостом: твики выключены на клиенте, пока хост не подтвердит наличие мода, а каждое добавление проверяется на сервере по конфигу хоста. Одиночный клиент преимущества не получает и не может превысить лимиты хоста. Ваниль-клиенты при этом могут заходить.
Установка
- Поставь BepInEx 5 (BepInExPack for Lethal Company).
- Положи
Iron.ImprovedBeltBag.dllвLethal Company/BepInEx/plugins/. - Запусти раз — создастся
BepInEx/config/Iron.ImprovedBeltBag.cfg.
Авторство
Сетевая модель и система категорий адаптированы из BagConfig от The Matty
(mattymatty) (MIT) — https://github.com/mattymatty97/LTC_BagConfig. Вес и настраиваемая
сетка слотов — оригинальные. См. THIRD_PARTY_LICENSES.md.
CHANGELOG
Changelog
1.4.0
- Belt bags found on a moon are now managed too. Mods that turn store items into scrap (Remnants) build them through LethalLib, which clones the Item and gives the clone its own prefab — so a found bag was a different Item than the one the shop sells, slipped past the vanilla-bag check added in 1.2.0 and ran on bare vanilla rules: no categories, no capacity, no weight. A clone keeps the id and name it was copied from, which is what identifies it now.
1.3.0
- Emptying the bag now takes a double tap of right-interact (E) instead of a single press.
The key sits next to the ones you use constantly and the action throws away everything inside,
so one press only arms it and shows a tip; a second press within
Empty Bag Double Tap Window(0.4s by default, configurable) actually empties it. Holding the key never empties the bag.
1.2.0
- Compatibility: the mod now only manages the vanilla belt bag. Mods that add their own belt
bag do it by cloning the vanilla prefab, so their bag carries the same
BeltBagItemcomponent and every patch here used to apply to it as well — silently rejecting its items, double-counting its weight and resizing its slot grid. The vanilla bag is now identified once at startup and everything else is left to the mod that owns it.
1.1.1
- Fix: the Easter Egg category now matches the actual "EasterEgg" collectible by name (was mistakenly matching the Kiwi egg).
1.1.0
- Added a separate
Easter Eggcategory (off by default) so the Kiwi egg (laid by the Giant Kiwi) has its own Allow + Max, apart from generic scrap.
1.0.0
- Initial release.
- Configurable belt bags with host-authoritative networking (host validates every add server-side; a lone modded client gets no advantage).
- Per-type item categories, each with Allow + Max Amount: Tools, Shotgun, Knife, Signs, One-Handed Scrap, Two-Handed Scrap, Deny, plus per-item overrides. Default: equipment on, generic metal loot (scrap) off.
- Capacity and grab range (both host-enforced), HUD tips, empty-bag action.
- Weight: the bag weighs you down by its contents (configurable).
- Resizable slot grid: the inventory UI shows the configured number of slots, centred with the original spacing.
- Networking + item-category system adapted from BagConfig (MIT) by The Matty — see THIRD_PARTY_LICENSES.md.