DeathResistance

版本 v1.0.0·更新於 2026-09-09

Server-only: each qualifying death gives 10% less eligible damage taken for an hour, stacking to 100% and refreshing the timer. Admins tune reduction, duration, cap, level allowance and sun/PvP/V Bloo

模組介紹 作者原文

Death Resistance

A configurable damage reduction buff that builds up as you die. It was built to let casual players keep having fun when "git gud" is not an option.

Each qualifying death grants a stack of damage reduction and restarts the timer, so the more you die, the less damage you take. Stacks build up to a limit the server sets, and they all expire together when the timer runs out. The clock runs in real time, so it keeps counting down while you are offline.

Protection covers creatures at or near your own level, not enemies far above you. PvP and sunlight are left out. Admins can change every one of these rules.

Install

Server: install BepInEx for V Rising and VampireCommandFramework 0.10.4 or later. Copy DeathResistance.Server.dll into the server's BepInEx/plugins folder and restart the server.

Players: no client mod or client dependencies are needed.

The release contains only the server DLL. Dependencies are not bundled.

Commands

Enter commands in game chat. The mod provides these six commands:

| Command | Permission | What it does |

|---|---|---|

|.dr status | All players | Show your participation, current damage reduction, stacks and remaining time. Does not grant stacks or refresh the timer. |

|.dr settings | All players | Show configured reduction per death, duration, effective stack cap, protection/death restrictions and default participation. Read-only. |

|.dr on | All players | Opt in for future qualifying deaths. Does not grant stacks, refresh the timer or restore cleared stacks. |

|.dr off | All players | Immediately clear your resistance and opt out of future grants. |

|.dr config | Admin | List every setting name and its current value, including diagnostic logging. |

|.dr set | Admin | Validate, save and apply one server setting without restarting. |

Explicit on/off preferences persist across reconnects and server restarts. Changing the default does not override explicit player choices. Being On with zero stacks means participation is enabled, but protection has not yet been earned.

Admin settings reference

Use.dr set followed by a setting name and value. Setting names are case-insensitive. Use true or false for toggles, and a decimal point for fractional numbers. Defaults below are new-install defaults;.dr config shows your server's actual values.

| Setting | Default | Allowed value / effect |

|---|---|---|

| EnabledByDefault | true | true/false: participation for players without an explicit on/off preference. |

| ReductionPerStack | 10 | 0.01–100 additive percentage points, up to two decimal places. |

| LevelAllowance | 3 | Integer 0–1000: maximum source levels above the player. All lower levels qualify. |

| MaxStacks | 0 | Integer 0–10000. Zero means stack until 100% eligible-damage immunity. |

| DurationSeconds | 3600 | 1–31536000 real seconds. Offline time counts. |

| ReduceSunDamage | false | true/false: reduce sun damage without a level check. |

| SunDeathsGrantStacks | false | true/false: sun deaths grant stacks and refresh the timer. |

| ReducePvpDamage | false | true/false: reduce PvP damage subject to the source-level check. |

| PvpDeathsGrantStacks | false | true/false: completed PvP deaths grant stacks and refresh the timer. |

| PvpDowningsGrantStacks | false | true/false: PvP downings grant a stack; the same episode cannot grant another on death. |

| OnlyVBloodDeathsGrantStacks | false | true/false: only V Blood deaths grant/refresh; overrides sun/PvP grants without restricting damage coverage. |

| LogDamage | false | true/false: log damage, health changes, lethal/downed attribution, release outcomes and award/rejection decisions. |

Examples (each changes one setting):.dr config.dr set ReductionPerStack 15.dr set LevelAllowance 5.dr set MaxStacks 5.dr set DurationSeconds 1800.dr set OnlyVBloodDeathsGrantStacks true.dr set EnabledByDefault false.dr set LogDamage true.dr set LogDamage false

Reduction, cap, level allowance and damage-coverage changes affect existing

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_V_Risingdeca-VampireCommandFramework

檔案與校驗

檔案名稱
DeathResistance-1.0.0.zip
檔案大小
74.5 KiB