Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
WantedExtensions
Experimental Wanted 1.0.2 companion: configurable reward-chest capacity and paid player rerolls with server-controlled settings.
| Date uploaded | 2 days ago |
| Version | 0.1.5 |
| Download link | Azkelad-WantedExtensions-0.1.5.zip |
| Downloads | 13 |
| Dependency string | Azkelad-WantedExtensions-0.1.5 |
This mod requires the following mods to function
ValheimModding-JsonDotNET
Shared version 13.0.3 of Json.NET from Newtonsoft, net45 package for use in Valheim mods. Maintained by the ValheimModding team.
Preferred version: 13.0.4Flap-Wanted
A craftable notice board (bounty board) that posts notices each dawn: slay creatures, gather, bring trophies, deliver food. Hand them in at its box for coins, materials and rare finds. Finds other mods' creatures and items by itself.
Preferred version: 1.0.2denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
Wanted Extensions
An independent companion for Wanted 1.0.2: configurable reward-chest capacity and paid player rerolls. Requires the original Wanted mod and is not affiliated with or endorsed by its author.
Experimental 0.1.5. Builds and automated checks pass, but the current version has not been validated in a live dedicated-server session. Test on a copied world with disposable characters before normal play. Full modpack compatibility is not established.
Features
- Wanted chest defaults to 5 columns × 8 rows, with configurable dimensions and protection against shrinking over occupied cells.
- Shift + Use on the board's wooden face requests a paid reroll. Ordinary Use on notices/chests keeps its normal role.
- Default payment is 100 Coins from the requesting player's inventory. The server can choose another existing inventory-item prefab and quantity; equipped items are excluded.
- Rerolls replace untaken notices: 70% same count, 15% one fewer, 15% one more, limited to at least one and Wanted's configured maximum. An empty board cannot be paid to restock.
- A two-second minimum per-board lock provides busy/wait feedback and prevents overlapping purchases. Pending payment reservations can last longer.
- Normal dawn restocking stays under Wanted's control. Held notices, their promised rewards and chest contents are not rerolled.
Install
Install on the dedicated server and every client, alongside Wanted 1.0.2. Use the same extension version everywhere.
With Gale or another Thunderstore-compatible manager, install this package and its dependencies into the profile used to launch Valheim. If you previously installed the preview manually, remove that older extension DLL/PDB first so there is only one copy; keep its config and receipt files.
For a manual install, copy the package's plugins/WantedExtensions/ folder into your installation/profile's BepInEx/plugins/ directory. Do the same on the dedicated server. Restart the server and game after installation or updates. Hot-reloading the plugin DLL is unsupported; config-file reload is supported.
Settings
Defaults work on the first launch; no first-start/restart cycle is needed. The plugin creates BepInEx/config/friends.valheim.wantedextensions.cfg if missing and preserves existing values on upgrades.
To customise before the first launch, copy BepInEx/plugins/WantedExtensions/friends.valheim.wantedextensions.cfg.example into BepInEx/config/ and remove the .example suffix. The template is optional and is deliberately not installed over an active config.
You can also edit the server's active config while it is running. After saving, stable file contents are checked on the main thread (usually around two seconds); clients receive accepted settings on their next sync, up to about five seconds later. Keep all settings in the file. Invalid, duplicate, incomplete or temporarily unreadable edits retain the last valid running settings and log the reason. Correct the file to recover without restarting. An invalid config at startup has no last-good snapshot, so new rerolls remain unavailable until a complete valid file is saved.
Changes apply to new reroll requests; a pending request keeps its quoted price. Chest resizing waits until the chest is closed and still refuses unsafe shrinking. Clients use the server's settings; local edits do not change the server price. The plugin GUID/config filename stays stable across manual and Thunderstore installations. Updating the plugin DLL itself still requires a restart.
[Chest]
Columns = 5
Rows = 8
[Reroll]
Enabled = true
CostItem = Coins
CostAmount = 100
SameChance = 70
MinusChance = 15
PlusChance = 15
CooldownSeconds = 2
Columns: 1–8; rows: 1–12; cost: 1–100000; cooldown: 2–60 seconds. Chances must total 100. Use exact item prefab names. A custom payment item must exist on the server and all clients. Allow approximately five seconds after joining for settings sync.
Compatibility and limitations
Version 0.1.5 fixes settings sync access errors caused by a private routed-RPC helper. Requests and replies now use the connected server peer, with sender verification preserved. No config or receipt reset is needed. A connection with no server peer waits for the handshake instead of sending a request to a broadcast/invalid ID. Repeated identical sync failures log once per session while retries continue.
- Only Wanted 1.0.2 is enabled. A future Wanted update needs a compatibility review; avoid independently updating that dependency until supported.
- Uses the loaded game's registered chest-open response and supported inventory method signatures. Unsupported bindings prevent new payment and report a diagnostic; notification failures fall back to the log.
- MultiUserChest is not disabled or excluded. No conflict has been reproduced, but simultaneous chest use and the full profile still need in-game testing.
- ServerCharacters save/disconnect/rollback testing is deferred. Its presence does not make player, world and receipt saves atomic.
- Player inventory remains client-owned under Valheim's cooperative networking. This is not an anti-cheat or fully server-authoritative economy. Matching extension installations are not yet enforced at login.
- Interrupted payments use local receipt journals and recent board outcomes. Ambiguous crash/rollback states may require manual reconciliation; do not delete receipts or assume every timeout warrants a refund. Confirmed refunds wait for inventory space.
- Keep
friends.valheim.wantedextensions.receipts.jsonand its backup in each client's config folder. Do not copy one player's receipt files to others. - A larger chest still has finite capacity. Check all reward stacks, coins and bonuses fit; 40 slots is not a guarantee for every possible contract.
- Before uninstalling, resolve pending purchases and empty the expanded Wanted chests. Removing the plugin while extra rows are occupied can strand items outside Wanted's original 5×2 capacity.
Check BepInEx/LogOutput.log for the loaded extension version and errors. When reporting a problem, include the game, BepInEx, Wanted and extension versions, steps to reproduce and the relevant error. Public logs should not include credentials or private server details.
Credits
Requires Wanted by Flap. No Wanted/game/Unity assets or third-party DLLs are redistributed. Code and documentation were developed with AI assistance.
CHANGELOG
Changelog
0.1.9
- Fix multi-stack Wanted rewards being truncated by a single prefab-insertion call. Split only Wanted's reward call into bounded additions using the current item stack limit: 1,600 Coins becomes 999 + 601.
- Verify the actual inventory increase after every addition. Abort instead of treating partial insertion, false success or a runtime insertion error as full payment.
- Checkpoint the chest and Wanted's paid/pouch markers before hand-in. On an insertion failure, restore and verify the entire inventory before restoring paid markers. Pause claims if protection is unsupported or restoration cannot be verified; preserve a private recovery snapshot on restore failure.
- Guard against reentrant hand-ins during inventory callbacks. Preserve Wanted's eligibility, capacity checks, notice IDs and normal reward generation; other Inventory.AddItem callers are not patched.
- Add clamping-backend regressions for coins, small stacks, materials, modded limits, partial stacks, mixed rewards and failure detection. Historical losses are not automatically compensated. Live verification remains pending.
0.1.8
- Add independent, server-controlled daily board and player limits, both disabled by default. Optional amounts default to five per board and three per character; accept 1–1000.
- Share each character's limit across all boards in the world. Use the in-game day/dawn clock, preserve usage across reconnects/restarts, and leave normal dawn restocking uncounted.
- Reserve allowance on the server before payment, confirm successful usage before publishing limited rerolls, and release failed/cancelled reservations. Recheck caps at confirmation, including live edits and requests crossing dawn; keep retries idempotent.
- Store usage in a separate world-scoped server ledger. Invalid/unavailable storage does not silently reset limits; pending paid confirmations retain their receipts and board lock for recovery.
- Migrate existing configs with both new toggles off and preserve existing values. Show enabled caps in the board hover text; keep every client/server on 0.1.8.
- Add quota concurrency, serialization, reset, cancellation, cap-change and migration fixtures. Live dedicated-server/Unity validation remains pending.
0.1.7
- Decline empty-board rerolls immediately in the hover/request/payment checks, before checking inventory cost or creating a receipt. Keep the board-owner rejection as well.
- Explicitly skip minus outcomes at one notice and plus outcomes at Wanted's configured maximum. Blocked outcomes keep the count unchanged; default boundary chances remain 85% unchanged / 15% allowed change.
- Count only valid contracts within Wanted's ten physical slots, matching its board display; ignore empty, invalid or out-of-range saved slots.
- Validate generated notice counts before offering payment, and recheck the actual snapshots, one-notice change and current cap before committing. Invalid or stale paid offers use the existing cancellation/refund path; completed purchases stay idempotent.
- Add count/transaction regression checks, including all 5,500 default roll/count/cap combinations and forced 100% minus/plus settings. In-game verification remains pending.
0.1.6
- Clarify that Wanted Extensions is an unofficial fan-made extension requiring Wanted 1.0.2. Put support for the original mod first and add direct extension feedback/feature-request links.
- License the original extension code and documentation under MIT, include license/attribution notices in both packages, with clear license scope.
- Add the Wanted Extensions logo, a clearer installation/configuration guide and an optional Ko-fi support link. Refresh the package description.
- Add optional SeneaL UI chest-preview compatibility. Aiming at Wanted's wood or notices suppresses the preview; aiming at the attached chest retains SeneaL's normal preview and access checks.
- Detect SeneaL without requiring or bundling it. Unsupported preview APIs or adapter failures warn and retain the original UI behaviour without disabling rerolls or chest capacity.
- Preserve Wanted's root Container and collider hierarchy, hand-in processing and chest ownership. The uploaded SeneaL UI 1.2.10 code uses an ancestor Container lookup; the reason the user's earlier installation differed has not been established.
- Actual in-game verification of the preview fix remains pending.
0.1.5
- Fix
MethodAccessExceptionfromZRoutedRpc.GetServerPeerID()during dedicated-server settings sync. Remove the direct private-method binding from both requests and reply authentication. - Resolve the connected server peer through runtime-resolved
ZNet.GetServerPeerand safely read its UID, tolerating visibility changes; preserve validation that incoming settings come from that peer. - Wait without broadcasting while the connection has no valid server peer, and clear stale settings when the peer changes. Throttle identical settings-sync failures while continuing retries.
- Add peer identity, reconnect, null/zero ID, visibility and compiled-DLL regression checks. Existing config, receipts and plugin identity are preserved.
- In-game verification of the corrected version remains pending.
0.1.4
- Add validated live reload of the server config on the main thread. Stable edits apply without restarting, and clients receive accepted settings through the existing sync.
- Preserve the last valid running settings on incomplete, invalid or unreadable saves; log the reason and recover when corrected. Pending rerolls retain their original quoted price.
- Generate fresh defaults once and preserve existing config values. Include an optional
.cfg.examplebeside the plugin for pre-launch setup; never bundle an active config that could overwrite user settings. - Add config parsing, defaults, debounce, invalid-save and recovery tests. Actual in-game validation of this version remains pending.
0.1.3
- Detect the chest-open response actually registered on the board instead of assuming an older reply name.
- Bind supported inventory payment/refund signatures at runtime, including optional trailing arguments; block unsupported new payments with diagnostics.
- Preserve MultiUserChest behaviour. ServerCharacters persistence testing remains deferred.
- 52 automated checks pass. In-game validation of this version remains pending.
0.1.2
- Resolve loaded notification signatures and isolate HUD failures from payment handling.
0.1.1
- Remove an incompatible inventory-notification call and separate chest/payment failures from server-settings sync.
0.1.0
- Initial experimental chest-capacity and paid-reroll implementation.