Confirm with your password

DrakesItemShop

Armor and weapon racks, display cases, a player trading menu (beta), and mailboxes, drop boxes and PO boxes for RP servers and shops.

Client-only Role Play Storage Trader
Changelog & versions

· Website · 💗 Donate

Stars
0
Downloads
12
Version
0.3.0
Updated
Author
DrakeMods
Virus scan
—
Runs on
Client-only

Compatibility

Required 2

Install these too — Gale pulls them in for you.

Description

DrakesItemShop

DrakesWorkshop: pieces for shops, stalls and post offices on Valheim RP servers and small groups. Everything is in the Drake Shop hammer tab.

Features

  • Armor and weapon racks: finewood racks with iron hooks and pegs. Free-standing armor racks and weapon racks (6 or 4 slots) take only armor or only weapons and shields; wall racks (5 or 3 slots) take both. What's inside hangs on the rack: weapons and shields the way an item stand shows them, armor upright on its hook. Poses can be tuned per weapon type and per item.
  • Display cases: glass and wood cases (6 or 3 slots) that show what's inside lying on jute. Stock them from the door side: the glass door slides open while you do. From the glass side they're just looked at.
  • Trading menu (beta): press Shift+T near another player (a picker appears if several are near). They get a request; if they accept, you both offer items in one trade window and swap when you both confirm. The trade ends if you move too far apart.
  • Mailbox and Drop Box: a post-mounted mailbox and a tabletop box for a shop stall. Anyone can send up to 3 stacks and a note through the front slot (one way: they can't take it back out). The back is a plain 10-slot chest with its own door, opened by whoever the ward or LockSmith allows. The owner can set an allow list, an item filter, and close the slot (Shift+E, or the Lock menu with LockSmith).
  • PO boxes and the Post Hall: a post hall frame with 5x2 sockets that PO boxes snap into. Each PO box has one door: its assigned owner (and anyone they delegate to) opens it like a chest, everyone else gets the send window. The builder can act as postmaster. A flag shows mail waiting (green) or a full box (red).

BepInEx config

Synced (server settings):

Setting Default Description
AdminOnlyBuildPieces false When true, only server admins can place Drake Shop hammer pieces.
DisplayCaseCost FineWood:10,JuteRed:2,Crystal:2 Display Case build cost: Item:amount pairs, comma separated (prefab names).
SmallDisplayCaseCost FineWood:5,JuteRed:1,Crystal:1 Small Display Case build cost.
ArmorRackCost / SmallArmorRackCost FineWood:12,BronzeNails:6 / FineWood:8,BronzeNails:4 Free-standing armor racks.
WallRackCost / SmallWallRackCost FineWood:8,BronzeNails:5 / FineWood:5,BronzeNails:3 Wall racks (armor and weapons).
WeaponRackCost / SmallWeaponRackCost FineWood:10,BronzeNails:6 / FineWood:7,BronzeNails:4 Free-standing weapon racks.

Local (per player) settings: 06 Trade (shortcut, request seconds, cancel distance, nearby range), 07 Mailbox (skip the send warning).

Mailbox, drop box and PO box costs are fixed in code for now.

Dependencies

  • BepInEx, Jotunn
  • DrakeModsLibs
  • Optional: LockSmith (Lock menu for mailboxes and chests)

Build

Open DrakesItemShop.csproj, restore NuGet, build. Requires environment.props with Valheim paths (see environment.props.example).

The display cases' look is a Drakes Asset Forge pack in Forge/DisplayCase (models, recipes, the Blender script that makes them); see its README to change them. The racks' look is the pack in Forge/ItemRack, the same way.

Releases

Hexium only. Push a tag matching <Version> in mod.package.props (v0.1.0, or v0.1.0-beta.1 for a beta) and .github/workflows/release.yml builds, makes the GitHub release from that version's CHANGELOG section, and publishes to https://valheim.hexium.gg/mods/DrakeMods/DrakesItemShop.

Changelog

0.3.0 Latest
  • Requires DrakeModsLibs 1.0.0-beta.2 (the new windows use its UI kit and DockRight).
  • Trading menu (beta): Shift+T near another player to ask them to trade. WoW-style trade window, both sides confirm, ends if you drift too far apart.
  • Mailbox and Drop Box (Drake Shop tab): anyone can send up to 3 stacks and a note through the front slot; the back is a 10-slot chest for the owner. Opening flap and door animate, and the cavity is black inside. The send window sits to the right so you can watch the box open. Allow list, item filter and open/closed switch in the Mail settings (Shift+E, or the Lock menu with LockSmith).
  • PO boxes and Post Hall: PO boxes snap into a post hall. One door per box: the assigned owner and their delegates open it, everyone else sends mail. Name plate, mail flag, postmaster access for the builder.
  • Item rack poses: weapon poses are tunable per weapon type and per item; common tuned items are built in.
  • Display cases and racks no longer reuse the wood chest's icon.
  • Removed the old shop system: Merchant Box, Shop Sign, Shop Ledger, NPC Spawner and the silent trader, the JSON catalogs/shops/npcs, ward modes, price tags, the shop_* console commands and the shop buy/sell windows are gone. Pieces already placed from them disappear. Old files in BepInEx/config/com.drakesworkshop.itemshop/ItemShop/ are no longer read and can be deleted. Racks, display cases, trading and mail are unchanged.
  • README and description rewritten to cover only what the mod offers now (racks, display cases, trading, mail).
0.2.0
  • Beta. Requires DrakeModsLibs 1.0.0-beta.1 (the trade window uses its new UI kit).
  • Armor, weapon and wall racks (Drake Shop hammer tab): finewood racks with iron hooks and pegs: free-standing armor racks and weapon racks (6 or 4 slots), which take only armor or only weapons and shields, and wall racks (5 or 3 slots) that take both. What's inside hangs on the rack; weapons and shields are posed like on an item stand. Costs are FineWood plus one BronzeNails per slot, configurable (03 Pieces, synced).
  • Display cases and racks have their own hammer icons, rendered from the piece, instead of the wood chest's.
  • Display cases now have real default costs: big FineWood 10, Red jute 2, Crystal 2; small FineWood 5, Red jute 1, Crystal 1. Configs still on the old placeholder wood costs are moved over automatically; custom costs are kept.
0.1.0

First release.

  • Display cases (Drake Shop hammer tab): a big case (6 slots) and a small one (3 slots), glass and wood in Valheim style.
    • Stock them from the door side: the glass door slides open while the chest is open. From the glass side they're just looked at.
    • What's inside lies on the jute, one spot per slot, flat and sized to fit. Everyone sees the same.
    • Build costs are configurable (03 Pieces, synced), wood by default.
  • JSON catalogs, shops and NPC definitions (BepInEx/config/com.drakesworkshop.itemshop/ItemShop/), created with examples on first run.
  • Merchant Box (vending: stock, treasury, sell hold, dispense slot), Shop Sign, Shop Ledger, NPC Spawner.
  • Shop UI for buying and selling; server-authoritative transactions (coins plus optional item currencies).
  • Silent configurable trader NPC.
  • Per-shop ward modes and permissions (none, vanilla, BetterWards, WardIsLove).
  • Price tags on purchased items through DrakeModsLibs' display layer.

Full version history & older downloads →

Manual download
Just this mod One .zip — DrakesItemShop 0.3.0
Files you'll get 3

Your browser may ask permission to download several files at once. How to install these manually

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2351 · View mod page

Check out the mod page for detailed installation instructions.

2

Install DrakesItemShop

This mod only needs to be installed on the client.

Download DrakesItemShop 0.3.0

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.