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.
CraftFromContainers
Craft, upgrade, build and supply smelters from nearby shared chests, with cached resource counts and coordinated multiplayer access.
| Date uploaded | 2 days ago |
| Version | 0.1.0 |
| Download link | friendly_neighbor-CraftFromContainers-0.1.0.zip |
| Downloads | 112 |
| Dependency string | friendly_neighbor-CraftFromContainers-0.1.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350README
Craft From Containers
Author: vladislav-savko · Version: 0.1.0
Craft, upgrade items, build and supply smelters with materials from nearby shared chests. Materials in your own inventory are used first; the remaining materials can come directly from accessible containers.
English
First release
Version 0.1.0 was built against Valheim 1.0.15 and BepInEx 5.4.23.5. Compilation, offline automated checks and installed-game API checks passed. The mod has not yet been tested in a running game or a live multiplayer session. No measured FPS improvement is claimed.
Features
- Crafting, item upgrades, building, and smelter ore/fuel use nearby resources.
- Resource counts are cached by item name, quality and world level. Inventory changes update the affected container; nearby containers and remote changes are refreshed at a configurable interval.
- Recipe checks reuse the cache, without repeated physics searches through the surrounding base. Actual actions select containers holding the required materials.
- Shared chests remain shared. Access is coordinated temporarily when materials are consumed, including concurrent requests from other players.
- Private-container permissions and wards are respected. Open containers, graves and temporary containers that destroy themselves when empty are excluded.
- Recipe requirements can show the required and available amounts. Repair keeps its normal game behavior and reuses the cached resource display.
Installation and co-op
- Disable other mods that provide overlapping crafting or resource consumption from chests to avoid conflicts.
- Install this package and its BepInEx dependency with your mod manager. For manual installation, copy
BepInEx/plugins/CraftFromContainers/CraftFromContainers.dllinto the matching folder of your game or mod profile. - The host and every joining player must install the same version. A dedicated server is not required. If you choose to use a dedicated server, install the same version there too. Sessions mixing players with and without this mod are unsupported.
- Start the game once to generate
BepInEx/config/local.craftfromcontainers.cfg. Use the same search radius for all participants.
Settings
| Section / setting | Default | Meaning |
|---|---|---|
General / SearchRadius |
40 |
Container search radius in metres; range 1–100 |
Performance / RefreshInterval |
0.5 |
Seconds between proximity, access and remote-inventory checks; range 0.1–5 |
Interface / ShowAvailable |
true |
Show required/available material amounts |
Diagnostics / Enabled |
false |
Write cache counters to the BepInEx log every 30 seconds |
Remote inventory changes may take up to the refresh interval to appear in the menu. Resources are checked again before consumption. Other crafting/inventory mods and later game versions have not been validated.
Русский
Автор: vladislav-savko · Версия: 0.1.0
Мод позволяет создавать и улучшать предметы, строить, загружать руду и топливо в плавильни из ближайших общих сундуков. Сначала используются материалы в инвентаре игрока, затем — в доступных контейнерах.
Первая версия
Версия 0.1.0 собрана под Valheim 1.0.15 и BepInEx 5.4.23.5. Сборка, автономные автоматические проверки и проверка API установленной игры прошли. Запуск в игре и настоящий мультиплеер ещё не проверены. Измеренного прироста FPS пока нет.
Возможности
- Количества ресурсов кэшируются с учётом качества предметов и уровня мира. Изменение инвентаря обновляет данные затронутого сундука; окружение и сетевые изменения проверяются с заданным интервалом.
- Проверки рецептов используют общий кэш без повторного физического поиска по постройкам. Для самого действия выбираются сундуки с нужными материалами.
- Сундуки остаются общими. При списании ресурсов мод временно согласует доступ между игроками, включая одновременные запросы.
- Учитываются права частных сундуков и обереги. Открытые сундуки, могилы и временные контейнеры, исчезающие после опустошения, исключены.
- Интерфейс может показывать нужное и доступное количество материалов. Ремонт сохраняет обычное поведение игры; обновление списка ресурсов использует тот же кэш.
Установка и совместная игра
- Отключите другие моды с пересекающимся крафтом или списанием ресурсов из сундуков, чтобы избежать конфликтов.
- Установите пакет и зависимость BepInEx через менеджер модов. При ручной установке скопируйте
BepInEx/plugins/CraftFromContainers/CraftFromContainers.dllв соответствующую папку игры или профиля. - Хост и все подключающиеся игроки должны установить одинаковую версию. Выделенный сервер не нужен. Если вы всё же используете выделенный сервер, установите на него ту же версию. Смешанная игра с участниками без мода не поддерживается.
- После первого запуска появится
BepInEx/config/local.craftfromcontainers.cfg. Задайте одинаковый радиус поиска у всех участников.
Настройки
| Секция / параметр | По умолчанию | Значение |
|---|---|---|
General / SearchRadius |
40 |
Радиус поиска контейнеров в метрах; диапазон 1–100 |
Performance / RefreshInterval |
0.5 |
Интервал проверки окружения, доступа и сетевых изменений; 0.1–5 секунд |
Interface / ShowAvailable |
true |
Показывать нужное/доступное количество материалов |
Diagnostics / Enabled |
false |
Записывать счётчики кэша в журнал BepInEx раз в 30 секунд |
Изменения, сделанные другим игроком, могут отображаться в меню с задержкой до интервала проверки. Перед списанием ресурсы проверяются заново. Совместимость с другими модами крафта/инвентаря и следующими версиями игры не проверена.
CHANGELOG
0.1.3
- Added the friendly_neighbor Discord support and updates link to the project and Thunderstore descriptions.
- Updated package and plugin version to 0.1.3; gameplay behavior is unchanged from 0.1.2.
0.1.2
- Removed custom 15-second reservations and delayed ownership-gated responses for normal chest opening and stacking.
- Normal chest interaction takes priority over a pending crafting transfer; interrupted crafting can be retried without waiting for a chest-use cooldown.
- Added optional MultiUserChest 0.6.2 integration to preserve shared opening and coordinate its inventory operations with pending crafting transfers.
- Kept normal private-container and ward permissions; placing a public chest or opening it last gives no additional restriction through this mod.
Install the same version on the host and all players, then restart the game.
0.1.1
- Native-fuel refilling of campfires, hearths, torches and lamps using Fireplace from nearby accessible containers, preserving normal light toggles.
- Pending smelter/fireplace refills track the player's position relative to the target, allowing shared movement and rotation on buildable boats.
- Configurable allowed-resource list for charcoal recipes, including backpack, container and explicit-item use. The default preserves all existing recipes;
KilnAllowedResources = Woodprotects fine wood and core wood. Other smelter recipes are unchanged.
0.1.0
Initial independent implementation for Valheim 1.0.15 / BepInEx 5.4.23.5.
- Registered container index and cached resource totals with quality/world-level filters.
- Inventory-change invalidation and bounded network/proximity refresh.
- Scoped resource queries retain native recipe, station, discovery and upgrade logic.
- Owner-approved temporary multiplayer leases, ordered acquisition, contention retries and cancellation.
- Fresh stock planning, payment before crafting output, and synchronous inventory rollback for incomplete payments.
- Building, smelter ore/fuel and charcoal kiln inputs from nearby accessible containers.
- Shared requirement UI and diagnostic counters.
- Standalone planner/cache/transaction checks and installed-game API verification.