Source-checkedWeapons, items & crafting

LootWindow

by dannanboi · for Valheim

Adds a loot window to Valheim's native UI similar to MMORPGs. With item-triggers or loot table calls (coming soon) you can define reward quantities, chances and item levels through YAML. In multiplayer, the server controls gameplay settings.

29Downloads
28d agoLast updated
BepInExLoaders
ThunderstoreSource

About LootWindow

From Thunderstore

Adds a loot window to Valheim's native UI similar to MMORPGs. With item-triggers or loot table calls (coming soon) you can define reward quantities, chances and item levels through YAML. In multiplayer, the server controls gameplay settings.

Description

Loot Window turns configured trigger items into rewards in a compact eight-slot window alongside Valheim's native inventory and crafting menus. Define reward quantities, chances and item levels through YAML. In multiplayer, the server controls loot tables, rolls and trigger pickup settings; interface preferences stay local.

Overview

| Feature | Description | | --- | --- | | Loot tables | Connect a trigger item to fixed or random rewards. | | Automatic pickup | dblw_ items go to the closest eligible player within 3 metres by default. | | Hidden trigger slot | Holds one pending token even with a full inventory or while encumbered. | | Native inventory | Drag rewards, collect individual stacks, loot all or drop items on the ground. | | Optional Auto Loot | Collect one reward stack at a time with configurable delays. | | Saved rewards | Pending loot survives normal character saves and reconnects without rerolling. |

Configuration and values

Edit BepInEx/config/dannanboi.lootwindow.cfg. Loot tables are in BepInEx/config/LootWindow/loottables.yaml. Solo play uses local settings; multiplayer uses the server's gameplay settings and tables.

| Section / option | Default | Meaning | | --- | --- | --- | | [Settings] Enable Mod | true | Server-controlled switch for new triggers; pending loot remains collectable. | | [Settings] Trigger pickup radius | 3 | Server-controlled horizontal metres for dblw_ items; range 1–6, with a 2-metre height allowance. | | [Keybindings] Loot All | F | Collect rewards that fit. | | [Keybindings] Discard Loot | O | Confirm before destroying remaining loot. | | [Keybindings] Input-block interval | 0.25 | Seconds to reserve loot keys after release; range 0–2. | | [UI] Auto Loot | false | Automatically collect one stack at a time. | | [UI] Auto Loot interval | 1 | Seconds between pickups; range 0.5–2. | | [UI] Sleep before auto-loot | 0.5 | Additional delay before the first pickup interval; range 0–60 seconds. | | [UI] Auto Loot Autoclose | true | Close inventory when loot ends with Auto Loot enabled. | | [UI] Autoclose | true | Close inventory when loot ends with Auto Loot disabled. | | [UI] Window scale | 1 | Loot window size; range 0.7–2. | | [UI] Window X / Window Y | 0.35 / 0.62 | Screen position; dragging the title bar saves it. | | [UI] Loot All text / Discard Loot text | Loot All / Discard Loot | Button labels. |

All keybindings and UI options are local. Shortcuts accept modifiers such as LeftShift + F; None disables a shortcut.

Usage

Award a configured triggerItem through another reward mod, or test with the console command spawn dblw_Test2 1. Missing trigger prefabs are generated from Wisp. Items starting with dblw_ are automatically picked up by the closest living, non-teleporting player in range, even with a full inventory or while encumbered. One token is processed at a time; collecting rewards still requires normal inventory space.

Drag rewards into your inventory or outside the windows to drop them. Ctrl-click or right-click collects a stack; F collects all that fit. O, ESC or TAB asks “Discard loot?” while rewards remain. Cancelling keeps them. Drag the title bar to move the window.

Loot table YAML

Use a flat list with two-space indentation. Prefab names are case-sensitive. Add multiple entries to the same file; [] disables all tables.

- triggerItem: dblw_Test2
  itemDisplayTitle: ""
  triggerCall:
  alwaysLoot: false
  emptyLootText: "Nothing was found."
  lootTableName: "Boss reward"
  lootTable: Coins[50-100],Ruby[1-2:5],Amber[2]

| Field | Meaning | Missing/empty value | | --- | --- | --- | | triggerItem | Exact trigger prefab name. | Required. | | itemDisplayTitle | Trigger item display name. | Empty; omitting it preserves existing non-dblw_ item names. | | triggerCall | Reserved identifier for future function calls; currently inactive. | Empty. | | alwaysLoot | Guarantee at least one successful reward. | false. | | emptyLootText | Message when no reward succeeds. | No loot. | | lootTableName | Loot window title. | Loot. | | lootTable | Comma-separated reward entries. | Required. |

Reward syntax

| Entry | Meaning | | --- | --- | | Coins[20] | Always 20 coins. | | Coins[50-100] | Random quantity from 50 through 100. | | Ruby[1-2:5] | One or two rubies at a 5% chance. | | Ruby[2:0.5] | Two rubies at a 0.5% chance. | | BronzeSword(2)[1:0.1] | One level-2 Bronze Sword at a 0.1% chance. |

A range is optional: [1:0.1] and [1-1:0.1] mean the same thing. Chances are percentages; 0.1 or 0,1 means 0.1%, and omitting :chance means 100%. (level) is optional and defaults to level 1; the item must support the requested level.

With alwaysLoot: false, each entry rolls independently. With true, the table is guaranteed nonempty, so the final chances change. An empty roll consumes its trigger and shows emptyLootText without opening a window.

Reward prefabs must exist. Use at most eight distinct item/level entries, amounts 1–10000 and chances above 0 through 100%. Every possible result must fit eight native stacks. Mapped trigger items cannot be rewards. Quote text containing : or #. Earlier displayTitle, name and loot fields remain accepted; use one spelling per field.

Live updates

Valid config and YAML edits apply automatically; server changes synchronize to clients. Invalid YAML keeps the last valid tables. Prepared loot keeps its original roll. Existing installed files are preserved when upgrading.

Manual Installation

Read the full description on Thunderstore →

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 28d ago.

LootWindow on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.1, released 2026-10-07

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 2 recorded builds of LootWindow.

Recent builds

BuildReleasedGame versionsLoaders
1.0.12026-10-07n/aBepInEx
1.0.02026-10-07n/aBepInEx

Run LootWindow on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Works on a server

From source side support

Thunderstore lists server-side support for LootWindow as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-08Open ↗
  • ✓Authordannanboi, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

LootWindow, answered

Generated from the mod’s own source data.

Do my players need to install LootWindow?

Thunderstore lists server-side support for LootWindow as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. LootWindow is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run LootWindow on a Valheim server.

Deploy in about a minute from $9.99 a month, then add LootWindow in one click.