Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
3 days ago
Downloads
4.1K
Size
208KB
ADDatHost Valheim hosting
€1

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

  1. Disable other mods that provide overlapping crafting or resource consumption from chests to avoid conflicts.
  2. Install this package and its BepInEx dependency with your mod manager. For manual installation, copy BepInEx/plugins/CraftFromContainers/CraftFromContainers.dll into the matching folder of your game or mod profile.
  3. 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.
  4. 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 пока нет.

Возможности

  • Количества ресурсов кэшируются с учётом качества предметов и уровня мира. Изменение инвентаря обновляет данные затронутого сундука; окружение и сетевые изменения проверяются с заданным интервалом.
  • Проверки рецептов используют общий кэш без повторного физического поиска по постройкам. Для самого действия выбираются сундуки с нужными материалами.
  • Сундуки остаются общими. При списании ресурсов мод временно согласует доступ между игроками, включая одновременные запросы.
  • Учитываются права частных сундуков и обереги. Открытые сундуки, могилы и временные контейнеры, исчезающие после опустошения, исключены.
  • Интерфейс может показывать нужное и доступное количество материалов. Ремонт сохраняет обычное поведение игры; обновление списка ресурсов использует тот же кэш.

Установка и совместная игра

  1. Отключите другие моды с пересекающимся крафтом или списанием ресурсов из сундуков, чтобы избежать конфликтов.
  2. Установите пакет и зависимость BepInEx через менеджер модов. При ручной установке скопируйте BepInEx/plugins/CraftFromContainers/CraftFromContainers.dll в соответствующую папку игры или профиля.
  3. Хост и все подключающиеся игроки должны установить одинаковую версию. Выделенный сервер не нужен. Если вы всё же используете выделенный сервер, установите на него ту же версию. Смешанная игра с участниками без мода не поддерживается.
  4. После первого запуска появится 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 секунд

Изменения, сделанные другим игроком, могут отображаться в меню с задержкой до интервала проверки. Перед списанием ресурсы проверяются заново. Совместимость с другими модами крафта/инвентаря и следующими версиями игры не проверена.

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro