OdinPlus-OdinsCraftyBoxes icon

OdinsCraftyBoxes

The CraftFromContainers feature from OdinQOL, pulled out for your modular pleasure. WardIsLove compatible

Last updated a year ago
Total downloads 23688
Total rating 16 
Categories Mods Gear Misc Crafting Server-side Client-side Utility Mistlands Update
Dependency string OdinPlus-OdinsCraftyBoxes-1.0.8
Dependants 147 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1901

README

The CraftFromContainers feature from OdinQOL, pulled out for your modular pleasure.

This mod uses ServerSync internally. Settings can change live through the BepInEx Configuration manager (if you are in game) or by directly changing the file on the server. Can be installed on both the client and the server to enforce configuration.

Request of the community to make it modular, resulted in separation of features. This is the CraftFromContainers OdinQOL version. Modified for compatibility with WardIsLove and serversync.

Configuration Options

General

Force Server Config [Synced with Server]

  • Force Server Config
    • Default Value: true

Enabled [Synced with Server]

  • Enable this mod
    • Default Value: true

ContainerRange [Synced with Server]

  • The maximum range from which to pull items from
    • Default Value: 10

ResourceCostString [Not Synced with Server]

  • String used to show required and available resources. {0} is replaced by how much is available, and {1} is replaced by how much is required. Set to nothing to leave it as default.
    • Default Value: {0}/{1}

FlashColor [Not Synced with Server]

  • Resource amounts will flash to this colour when coming from containers
    • Default Value: FFEB04FF

UnFlashColor [Not Synced with Server]

  • Resource amounts will flash from this colour when coming from containers (set both colors to the same color for no flashing)
    • Default Value: FFFFFFFF

PulledMessage [Not Synced with Server]

  • Message to show after pulling items to player inventory
    • Default Value: Pulled items to inventory

FuelDisallowTypes [Synced with Server]

  • Types of item to disallow as fuel (i.e. anything that is consumed), comma-separated. Uses Prefab names.
    • Default Value: RoundLog,FineWood

OreDisallowTypes [Synced with Server]

  • Types of item to disallow as ore (i.e. anything that is transformed), comma-separated). Uses Prefab names.
    • Default Value: RoundLog,FineWood

CraftFromContainers

ItemDisallowTypes [Synced with Server]

  • Types of items to disallow pulling from chests, comma-separated. Uses Prefab names.
    • Default Value:

Station Connections

ShowConnections [Not Synced with Server]

  • If true, will display connections to nearby workstations within range when building containers
    • Default Value: false

ConnectionStartOffset [Not Synced with Server]

  • Height offset for the connection VFX start position
    • Default Value: 1.25

ConnectionRemoveDelay [Not Synced with Server] * * Default Value: 0.05

Hot Keys

SwitchPrevent [Not Synced with Server]

  • If true, holding down the PreventModKey modifier key will allow this mod's behavior; If false, holding down the key will prevent it.
    • Default Value: false

PreventModKey [Not Synced with Server]

PullItemsKey [Not Synced with Server]

FillAllModKey [Not Synced with Server]

Installation Instructions

You must have BepInEx installed correctly! I can not stress this enough.

Windows (Steam)

  1. Locate your game folder manually or start Steam client and :
    • Right click the Valheim game in your steam library
    • "Go to Manage" -> "Browse local files"
    • Steam should open your game folder
  2. Extract the contents of the archive into the BepInEx\plugins folder.
  3. Locate odinplus.qol.CraftyBoxes.cfg under BepInEx\config and configure the mod to your needs

Server

If installed on both the client and the server syncing to clients should work properly.

  1. Locate your main folder manually and : a. Extract the contents of the archive into the BepInEx\plugins folder. b. Launch your game at least once to generate the config file needed if you haven't already done so. c. Locate odinplus.qol.CraftyBoxes.cfg under BepInEx\config on your machine and configure the mod to your needs
  2. Reboot your server. All clients will now sync to the server's config file even if theirs differs. Config Manager mod changes will only change the client config, not what the server is enforcing.

Feel free to reach out to me on discord if you need manual download assistance.

Author Information

Azumatt

DISCORD: Azumatt#2625

STEAM: https://steamcommunity.com/id/azumatt/

For Questions or Comments, find me in the Odin Plus Team Discord or in mine:

https://i.imgur.com/XXP6HCU.png


Update Information (Latest listed first)

v1.0.7/v1.0.8

  • Fixing pulling items into the player inventory from chests
  • Remove debug logs (v1.0.8)

v1.0.6

  • Mistlands

v1.0.5

  • Update ServerSync internally.

v1.0.4

  • Reflect the additions to CFC from OdinQOL.
    • CFC now has a configuration option for ItemDisallowTypes, to prevent certain items from being pulled into the player inventory.

v1.0.3

  • WardIsLove compatibility update for v3.0.1

v1.0.2

  • Reflect the fixes from OdinQOL for these Potentially game breaking fixes:
    • Fix a bug where the requirement was more than the max stack size or the item can't be stacked would cause a rouge item to be left in the chest. (Thanks to Lime18 for the bug report & Bjorn for the fix!)
    • Fix a bug where pulling resources while having the stack size multiplied would cause an increase in the stack size & sometimes the actual item count. (Thanks to Bjorn for the bug report & fix!)
    • Fix for Pulling resources into the player inventory not grabbing all resources needed to craft if the item doesn't stack. (Found when testing Bjorn's fix!)
  • Remove incompatibility with Mod Settings mod. Will add back if issues with that mod arise.

v1.0.1

  • Reflect the changes made in OdinsQOL
    • Fixed FillAllKey not working. Keyboardshortcut was always returning false, not sure why.

v1.0.0

  • Initial Release