RecycleCore

v1.1.0·Updated 2026-09-22

Recycle multiple items or an entire chest with a redesigned UI, resource preview, item protection and safe batch processing. Materials stay in the source inventory. English/Russian. Based on RecyclePl

About this mod Author’s original text

RecycleCore

Recycle several items or an entire chest in one operation, with a redesigned interface, resource preview and item protection.

By Ketanol. Built for Valheim 1.0.7 and BepInExPack Valheim 5.4.2350.

See VALIDATION.md for the build, accounting, in-game checks and remaining compatibility limits.

Features

  • Pick up an item with the inventory cursor and press Delete to preview recycling.
  • With an empty cursor, Delete or RecycleCore opens the multi-item window. With a held item, it opens the quantity preview.
  • Choose the quantity and see each returned material before confirming.
  • Upgrade costs are included. Returns are rounded down per selected stack after combining its complete batches and upgrade costs.
  • Complete crafting batches are consumed; any remainder stays in the inventory.
  • No room for all returned materials means the operation is cancelled.
  • Ctrl + Delete toggles protection on the held item. Protection can also be changed in the preview.
  • Equipped and quest items are protected; optional hotbar and prefab exclusions are configurable.
  • Permanent deletion has its own explicit confirmation and returns no resources.
  • Russian and English interface; automatic selection follows the game language.
  • ServerSync synchronizes resource percentage, exclusions and deletion policy when the mod is installed on the server.

Installation

  • Install BepInExPack Valheim 5.4.2350 or later.
  • Disable RecyclePlus before enabling RecycleCore. RecycleCore declares the original mod incompatible to prevent overlapping actions.
  • Put RecycleCore.dll in BepInEx/plugins/RecycleCore.
  • Launch once to create BepInEx/config/Ketanol.RecycleCore.cfg.

No separate ServerSync DLL is required: its source is compiled into this plugin.

Behaviour and boundaries

  • Select several stacks from your inventory or an opened chest. Select entire chest selects every recyclable stack; it does not destroy the chest object.
  • Chest materials remain in the same chest. Protected items, recipe-less items and incomplete crafting batches remain untouched.
  • Batch recycling has a resource preview and a second confirmation. Permanent deletion remains a separate single-item action.
  • All selected inputs are removed in staging before rewards are allocated. If the complete result does not fit, the whole batch is rejected.
  • Open-chest access, distance, network ownership, ward permissions and contents are checked before committing. The mod never claims chest ownership itself.
  • Hotbar protection applies only to the player inventory, not the first row of a chest.
  • Each stack is calculated separately: partial crafting batches are not combined across stacks. Fractional returns round down per stack.
  • Recipes with alternative ingredients are not automatically refunded: the original ingredient cannot reliably be inferred.
  • If a crafting recipe does not exist or its return is zero, recycling is disabled. Deletion remains a separate choice if server policy permits it.
  • The inventory is staged using Valheim's own stacking methods, then committed in one change while preserving existing ItemData identities.
  • The commit updates the inventory list and invokes its change notification once. Mods which rely specifically on intercepting Inventory.AddItem/RemoveItem on the live player inventory require compatibility testing.
  • Client-side recycling is not a server anti-cheat system. ServerSync synchronizes policy; it does not move item ownership to the server.
  • Item protection is saved in item custom data. Compatibility with other mods that overwrite custom data or merge stacks needs verification.
  • Keyboard and mouse are the initial input target; controller navigation has not been implemented.

Development

Full source code and the runtime test harness are distributed separately from this installable package. See VALIDATION.md for the checks performed and compatibility limits.

Credits

Based on RecyclePlus by TastyChickenLegs, published under the Unlicense:

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
RecycleCore-1.1.0.zip
File size
70.2 KiB