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.
Valheim Donations
Valcoin donation economy for dedicated servers: Ko-fi/PayPal/Patreon/PayMongo donations become in-game currency, spendable in a configurable shop via one in-game panel (press F4). Requires the plugin client-side too — no chat commands.
| Date uploaded | a month ago |
| Version | 5.15.0 |
| Download link | TaegukGaming-Valheim_Donations-5.15.0.zip |
| Downloads | 64 |
| Dependency string | TaegukGaming-Valheim_Donations-5.15.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333ValheimModding-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.4README
Valheim Donations
Lets Valheim players donate via Ko-fi, PayPal, Patreon, or PayMongo and get Valcoins credited in-game automatically, redeemable in a configurable in-game shop for perks and weekly-limited consumables. Requires the plugin installed on both server and client — donations happen entirely through an in-game panel, not chat commands.
What it does
- One in-game panel, opened with F4 — a browsable, offline-resilient home for donating, the shop, gifting, and the patron leaderboard, that lights up automatically once the server's donation backend comes online. All actions (donate, buy, gift, admin give/remove) happen here, over a silent RPC — nothing is typed into public chat.
- Simple donate flow — click one button to get your code, copy it, and open the donation portal in your browser; your Valcoins credit automatically.
- Any of four providers (Ko-fi, PayPal, Patreon, PayMongo) can be wired up independently; each webhook verifies its own signature and credits Valcoins automatically within seconds.
- A configurable shop (
valcoin_shop.yaml) sells:- Soulkeeper Charm (
add_charges) — death insurance: on death you keep your skills (no drain) and a Valkyrie carries you back to your tombstone, scattering nearby creatures on arrival. Capped at 10 charges per player per week. - Familiars (
armor_vfx) — a miniature flying creature (Bat, Ghost, Deathsquito, Drake, Wraith, Volture, Gjall, Fallen Valkyrie) hovers at your shoulder, bound to your equipped helmet. Grants feather fall and a small flat attack bonus. Other players see it too. - Weekly-capped, boss-gated consumables (
grant_item) — feasts, meads, and bulk materials spawned directly into the buyer's inventory server-side.
- Soulkeeper Charm (
- Gift Valcoins to other players from the panel; a built-in Top Patrons leaderboard shows lifetime donors.
- Admin tab (admin-only) to manually give/remove a player's balance.
Quick setup
- Install this mod on your dedicated server AND every player's client — the client copy is required, not optional; there's no chat-command fallback for un-modded players.
- Deploy the companion FastAPI backend (see the GitHub repo — deploys to Fly.io in a few commands).
- Launch the server once. It writes a template
BepInEx/config/valcoin_config.json— fill inbackend_urlandplugin_tokenfrom your backend deploy, then restart. - Edit
BepInEx/config/valcoin_shop.yamlto set your shop catalog (also auto-templated on first run). - List admin Steam64 IDs in
BepInEx/config/valcoin_admins.yamlto unlock the panel's Admin tab for them.
That's the minimum. Everything else — provider webhooks, weekly-capped consumables — is documented in the repo.
Documentation
Full setup, provider configuration, and shop schema are in the GitHub repo docs.
Try it out
This mod was built for the TaegukGaming community server running the Hearthbound modpack.
Disclaimer
This mod is created using AI. No other mods were copied during the process. All feature ideas come from the uploader and are mainly to cater the needs of the TaegukGaming community server. If any features or ideas look similar to other mods, these are not intentional.
This mod is free to use as is. Voluntary support is appreciated.
Version: 5.15.0 Source / issues: https://github.com/yesu0725/valheim-donations-plugin Backend (required, self-hosted): https://github.com/yesu0725/valheim-donations-backend
CHANGELOG
Changelog
5.19.1
- "Get my donation code" no longer hangs. If the server didn't answer, the panel sat on "Requesting your code..." forever — no error, no way to retry short of restarting the game, so a server-side hiccup looked like a dead button. It now gives up after 20 seconds, tells you what happened, and lets you press again immediately.
5.19.0
Everything in 5.18.0 below ships with this release too — 5.18.0 was never published, so upgrading from 5.17.0 gets you both.
- The donation steps now tell you the truth. The F4 Donate tab used to say your code would already be filled in for you. On Ko-fi it never was — Ko-fi can't prefill its message box — so donations arrived with no code attached and credited nothing until an admin sorted it out by hand. The panel now says plainly: on Ko-fi, paste your code into the message box yourself.
- It also tells you what the other providers need. GCash/Maya carries your code automatically, and Patreon needs a one-time account link. The panel never mentioned that Patreon step before, even though first-time patrons can't be credited without it.
- Forgot to paste your code? The donation portal now has an "Already donated?" box on the Ko-fi card — enter the email you donated with and your Valcoins are credited on the spot, no admin needed.
- PayPal removed. Reliable auto-crediting needs a PayPal business account, which this server doesn't have; without one, PayPal donations could never credit themselves. Ko-fi, Patreon and GCash/Maya are unaffected.
Server operators: the Ko-fi rescue form needs backend 0.7.1 or later. Everything else here is panel text and works against any backend. The 5.18.0 quest system below still needs 0.7.0+ and ValheimServerGuide.
5.18.0
- Earn Valcoins by playing. A one-time welcome quest worth 30 Valcoins introduces the donation system, and a pool of daily quests gives a small amount each day — so there's a reason to log in, and a way to try the shop without spending anything.
- The welcome quest: "The Patron's Welcome." Use a crafting station, cook at a fire, then find Haldor in the Black Forest and ask him about the patrons. He explains what Valcoins are and hands over the welcome share. If a trader camp has already been discovered nearby, a map pin points the way.
- Dailies. Be online a while (2), cull 15 common creatures (3), tame any creature (2), fell a Biome Lord (8), or recruit/level/duel a Dvergr companion (5). You can earn at most 8 per day — the pool adds up to more than that on purpose, so you do whatever suits the session rather than grinding a checklist. Resets at 00:00 UTC.
- Streak bonus. Claim a quest on 7 days in a row for +20 Valcoins, and again every 7 days after.
- Check your standing any time. The F4 panel shows "Daily quests: 5/8 · resets in 6h 12m · 4-day streak" under your balance, on every tab.
- Quest earnings do not appear on the Top Patrons board — that stays a record of actual donations.
Server operators: this needs a backend running 0.7.0 or later; against an older one every completed quest silently pays nothing. It also needs ValheimServerGuide, which provides the quests themselves — copy
guidance.valcoin-quests.yamlfrom the repo into your server'sBepInEx/config/ValheimServerGuide/. ServerGuide itself needs no modification. Payout values live inBepInEx/config/valcoin_quests.yaml, auto-templated on first run; the daily cap, streak length and streak bonus are backend settings.Without ServerGuide installed, nothing here activates and the rest of the mod is unaffected.
5.17.0
- Familiars now survive armor upgrades. Upgrading the helmet your familiar is bound to no longer makes it disappear. The familiar (and the helmet's name suffix) carries over to the upgraded piece, and the helmet goes straight back on, so your companion is there without you having to re-equip anything.
- The crafting panel tells you before you upgrade. Selecting a helmet that carries a familiar now shows its familiar name — e.g. Bronze Helmet of the Bat — along with the familiar's attack bonus and a note that it's kept through the upgrade. No more wondering whether you're about to lose it.
Nothing to do on the server side: this release is client-side only and needs no backend update. Familiars bought before 5.17.0 are unaffected and will now survive upgrades like any other.
5.16.0
- Shop preview images. Shop items can now show a picture. A new optional
preview_imagefield on each SKU invalcoin_shop.yamltakes either anhttpsURL or a path relative toBepInEx/config(e.g.shop_images/Bat.png). The shipped Familiars catalog uses it, so you can finally see what you're buying. - Click to enlarge. Preview images appear as a thumbnail in the Shop row and larger in the purchase-confirm dialog — clicking either opens a full-size view, fitted to your window and never blown up past the image's real size. Close it with the Close button, a click outside, or Escape.
- Exchange rate on the Donate tab. The Donate tab now leads with a large
$1 USD = 50 Valcoinscallout plus a worked example, so you know what a donation is worth before you open your wallet. The Shop tab carries the same rate as a one-line note. The rate comes from the server, so it can never drift from what donations actually credit.
Server operators: the exchange-rate callout needs a backend running 5.16.0 or later (it serves the new
coins_per_usdfield). Older backends make the callout read "Exchange rate unavailable". Preview images set as config-relative paths only resolve on machines that hold the image files — usehttpsURLs so every connecting client can load them.
5.15.0
- Familiars now grant small perks. While a familiar helmet is equipped you get feather fall (the Feather Cape's own effect — wearing both doesn't stack) and a tiny flat attack bonus matched to the creature: Bat/Ghost/Wraith +2 slash, Deathsquito +2 pierce, Drake Hatchling +2 frost, Volture +3 pierce, Gjall +2 blunt & +1 fire, Fallen Valkyrie +2 spirit. The bonus is a fraction of a percent of endgame weapon damage — flavor, not power — and applies to melee, bows, and magic alike.
- Overwrite warning. If your equipped helmet already carries a familiar, the purchase-confirm modal now warns that buying a new one overwrites it, before you spend.
- Soulkeeper Charm: 10 charges per week. The charge pool is now capped at 10 per player per week, shared across the x1/x5/x10 tiers. Over-cap purchases are rejected with no coins spent and a "resets in …" note.
- Tomb creature repel. When the Valkyrie sets you down at your tombstone, hostile creatures nearby are staggered and shoved away so you aren't instantly mobbed. (Not a lasting safe zone — they can wander back.)
- Gjall familiar no longer drips tar, and its (and the Fallen Valkyrie's) particle effects are scaled down to match the mini-pet size.
5.14.0
- Familiar fixes. The Drake Hatchling now animates instead of freezing; a harmless "Can't remove Humanoid" log spam on some familiars is gone; Volture, Gjall, and Fallen Valkyrie hover a bit higher and read more clearly.
- Spawn/despawn effect. A small puff of effect plays when a familiar appears (helmet equipped) or disappears (unequipped).
5.13.0
- Familiars. The armor-effect category is now eight miniature flying creatures — Bat, Ghost, Deathsquito, Drake Hatchling, Wraith, Volture, Gjall, and Fallen Valkyrie — that hover at your shoulder, bound to your equipped helmet (which gains a matching name suffix). Other players running the mod see them too. Priced by progression tier (400–1300 Valcoins).
5.10.0
- Armor effects. New
armor_vfxshop effect attaches a cosmetic aura to a chosen equipped armor piece, broadcast to other players via ZDO. (Reworked into Familiars in 5.13.)
5.9.0
- Native panel skin + purchase confirmation. The donation panel is restyled to match Valheim's own UI, and clicking Buy now opens a Yes / Cancel confirmation before any Valcoins are spent.
5.8.0
- Grouped shop. The Shop tab now groups items into categories (Soulkeeper Charms, Familiars, Feasts, Meads, Supplies) with one description per category, instead of one long flat list.
5.7.0
- Soulkeeper Charm. A new death-insurance consumable: on death you keep your skills (no skill drain) and a Valkyrie carries you from the spawn point back to your tombstone. Bought as stackable charges; backend-tracked.
- Removed cosmetic chat perks. The donor badge and chat title were removed — on a dedicated server their chat rendering was unreliable. Replaced by the Soulkeeper Charm and other consumables.
5.3.0
- One combined panel, one hotkey. The separate F4 "Codex" and F8 "quick panel" are merged into a single donation panel — open it with F4 (the F8 hotkey was removed). Tabs: Donate, Shop, Gift, Patrons, and Admin (admins only).
- Reworked Donate tab. Clicking "Get my donation code" now shows the code inline, right below the button, with a Copy code button and an Open donation portal button that launches your default web browser (no more copy-pasting a raw link). Clear step-by-step instructions live on the same tab.
- Anti-spam cooldown on generating a donation code (30s), with a live countdown.
- Terms of Use link on the Donate tab opens an in-game modal with the donation terms.
- Fixed the "square" icons. Valheim's in-game font can't render emoji, so every emoji in the UI and server messages was replaced with clean text — no more blank squares.
- More readable buttons — the primary donate action uses a high-contrast gold style.
5.2.0
- Removed all chat and console commands (
/donate,/coins,/shop,/buy,/gift,/topdonors,/title,/givecoins,/removecoins). The chat-command hook proved unreliable on servers running other chat-patching mods; the F4 Codex and F8 panel already covered every action over a reliable silent RPC. - ⚠️ Breaking: the plugin is now required client-side to use the donation system at all. Vanilla (un-modded) clients can no longer donate/shop/gift — only players running the plugin can open the F4/F8 panels. A passive donor-badge/chat-title chat prefix still works for everyone.
- New Admin tab (F8 panel): give/remove a player's Valcoin balance from the UI, replacing the removed
/givecoins//removecoinscommands. Only visible to Steam64 IDs listed invalcoin_admins.yaml.
5.1.0
- F8 panel now tracks live backend reachability, same as the F4 Codex: it polls periodically while open, flips an online/offline state on real fetch success/failure (not just "config has a URL"), and dims the Buy/Donate/Gift buttons while offline.
- Shop catalog now syncs to remote clients over RPC. Previously
valcoin_shop.yamlonly existed on whichever machine loaded it, so vanilla/remote clients connecting to a dedicated server saw an empty shop. The server now broadcasts its parsed catalog to every connected client every 30 seconds.
5.0.0
Initial public release.
- Valcoin economy:
/donate,/coins,/shop,/buy,/gift,/topdonors,/title, plus admin/givecoinsand/removecoins. - Four donation providers: Ko-fi, PayPal, Patreon, PayMongo — each independently optional, verified via its own webhook signature.
- F4 Donation Codex: browsable, offline-resilient home for the economy, shop catalog, and patron leaderboard. Lights up automatically when the backend comes online — no client update needed.
- F8 quick panel: Donate / Shop / Gift / Top tabs for players who also run the plugin.
- Mouse-cursor fix for both panels — click and navigate with the mouse instead of hotkeys only.
grant_itemshop effect: weekly-capped, boss-gated consumable items (hard-to-cook food, meads, rare materials) spawned directly into the buyer's inventory — works for vanilla clients too.- Vanilla-client compatible: every command works via chat even without the plugin installed client-side.