DeathRoulette
When a player dies, a random event fires for everyone. Server-side; players need nothing, admins use Server Devcommands for in-game control.
模組介紹 作者原文
DeathRoulette
Every death remakes the evening. A player falls, and the whole server gets one random event — a gift, a curse, or a cruel cosmic joke.
Server-side only. Install it once on the dedicated server, and every vanilla client plays along. Nobody installs anything, nothing changes about saves, and unmodded players connect and leave without a trace.
Built and verified against game build l-1.0.12 (network 40, world 41), BepInEx 5.4.23.5.
Source:
Why you'll like it
- Zero client install. The server does everything. Your friends need nothing, and you never re-sync a modpack.
- One death, one event. No death goes unremarked: the server names the fallen -- and the
cause when it can see it -- counts down 3, 2, 1 in the raid-banner slot, and then the roulette fires. A global cooldown (default 30 s) stops a wipe from piling five events at once.
- 63 events in four personalities. Quick buffs, real raids, wild travel, visible comedy — with a default weight that leans into fun.
- Deadly but never cheap. Damage events cap at a fraction of current health, so the roulette can knock you down but never kill you itself. The fun kills you, not the mod.
- Tune everything from a config file. Change any weight, disable any event, flip raid gating — no rebuild, and admin commands can reload it live.
- Admins stay in control. Trigger any event on demand, see the odds, end raids, and audition effects — all from the in-game console.
Quick start
- On your dedicated server, make sure BepInEx 5 and Server Devcommands are installed (Devcommands is optional but recommended — it's how admins drive the mod).
- Drop DeathRoulette.dll into the server's BepInEx/plugins/ directory.
- Restart the server. That's it. Players need nothing.
On first run the mod writes BepInEx/config/geckuss.deathroulette.cfg — every event with its weight, ready to tune.
A restart kicks everyone online.
Docker (lloesche/valheim-server)
The image re-syncs plugins from its persistent /config/bepinex/plugins/ bind mount at startup, so install the DLL there (not just into the live container layer) or it silently reverts on the next restart:
docker cp DeathRoulette.dll valheim:/config/bepinex/plugins/Geckuss-DeathRoulette/DeathRoulette.dll
docker restart valheim
The event table
All 63 events and their default weights. Weight 0 disables; changing a weight needs no rebuild. The armour-set and standalone potion events ship disabled (weight 0) so they can be called directly (server dr fire ) without rolling on their own — armour fitting and witch's brews dish them out at random instead.
Kind — the gods give back. (29)
| Event | Id | W | What happens |
| ----- | -- | - | ------------ |
| Forsaken Gift | forsaken_gift | 7 | A random forsaken power is granted to everyone. |
| Windfall | windfall | 7 | Scatters a pile of materials on the ground at the corpse. |
| Second Wind | second_wind | 6 | Every surviving player is healed to full. |
| Called to the Grave | corpse_run | 5 | Fifteen seconds after dying -- once the fallen player has respawned -- they are pulled back to their grave. |
| Adrenaline | adrenaline_rush | 4 | A surge for everyone: full heal, a stamina-regen buff, and Ashlands adrenaline. |
| Fenris Blessing | fenris_blessing | 0 | The fenris set bonus, callable directly: faster on foot for five minutes. |
| Wolf Set | wolf_set | 0 | The wolf set bonus, callable directly: frost resistance and truer blades for five minutes. |
| Root Set | root_set | 0 | The root set bonus, callable directly: arrows and poison slide off for five minutes. |
| Troll Set | troll_set | 0 | The troll set bonus, callable directly: sneaking sharpens for five minutes. |
| Lox Set | lox_set | 0 | The lox set bonus, callable directly: a lox's hide for five minutes. |
| Harvester Set | harvester_set | 0 | The harvester set bonus, callable directly: gathering comes swifter for five minutes. |
| Berserk | berserk_fury | 0 | The berserker set bonus, callable directly: hits land harder for 45 secon
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: