PerkShop
Server-side V Rising perk shop with persistent stat perks, renewable timed buffs, blood-buff slots, admin tools, and Bloodcraft-compatible defaults.
模組介紹 作者原文
PerkShop
PerkShop is a server-side V Rising mod that adds a configurable perk shop through VampireCommandFramework commands.
Players can buy persistent buffs and stat perks. Admins can grant, revoke, whitelist, inspect, validate, reload, and sync player perks. Stats acquired via PerkShop may not all appear in the player's UI, but they still have gameplay effects.
Current packaged source version: 0.3.0
Highlights in this release:
- per-entry currency overrides for buffs and stats
- relic tower buffs included in the default config
- relic category standardized to relic
- expanded command/config/key documentation
Command prefix:.perk
Credits
PerkShop was inspired by and built with reference to the V Rising modding community's work:
- Bloodcraft by zfolmt — inspiration/reference for the buff and stat systems.
- PrisonerBlood by GGs — inspiration/reference for the command-based shop flow.
Transparency
The original working code for the mod is human made, but it has been greatly tinkered with AI for debugging and optimization.
Features
- Configurable buff shop.
- Configurable permanent stat shop.
- Renewable timed buffs for potions, elixirs, blood buffs, and relics.
- Blood-buff category defaults to five slots.
- Relic category defaults to four slots.
- Purchased ownership persists across relogs/restarts, with manual session sync available.
- Admin-given buffs and flat stats.
- Buff/stat whitelist support.
-.perk validate,.perk diag,.perk reload, and.perk syncall for live-server administration.
- Debounced JSON persistence and throttled periodic reapply.
- Bloodcraft-safe default stat carrier.
- Optional per-entry currency override while keeping a global default currency.
Dependencies
Install these before PerkShop:
- BepInExPack for V Rising
- VampireCommandFramework
This repository does not include game, BepInEx, VCF, or interop DLLs.
Installation
Copy the compiled DLL to the server:
BepInEx/plugins/PerkShop/PerkShop.dll
Start the server once to generate:
BepInEx/config/PerkShop/perkconfig.json
BepInEx/config/PerkShop/ownedbuffs.json
BepInEx/config/PerkShop/playercache.json
Then edit the config and reload in game:.perk reload.perk validate.perk diag
Command Reference
Player commands
| Command | Description |
|---|---|
|.perk menu | Shows the main PerkShop command menu. |
|.perk status [page] | Shows your owned buffs, purchased stats, admin grants, and slot usage. |
|.perk search | Searches configured buff and stat entries by key or name. |
|.perk sync | Reapplies your owned buffs and stats for the current session. |
|.perk bufflist [page] | Lists available buff purchase keys. |
|.perk buffdet | Shows detailed information for a buff entry, including cost, category, and notes. |
|.perk buffbuy | Buys a buff entry using its configured currency. |
|.perk buffremove | Removes one owned buff entry from your active setup. |
|.perk statlist [page] | Lists available stat purchase keys. |
|.perk statdet | Shows detailed information for a stat entry. |
|.perk statbuy | Buys one rank of a stat entry. |
|.perk statremove | Removes all purchased ranks of one stat entry. |
Admin commands
| Command | Description |
|---|---|
|.perk admin | Shows the admin command menu. |
|.perk info | Shows PerkShop ownership and status info for a player. |
|.perk reload | Flushes pending saves, reloads config, and rebuilds runtime caches. |
|.perk diag | Shows runtime diagnostics for troubleshooting. |
|.perk validate | Validates config entries and reports risky or invalid settings. |
|.perk syncall | Reapplies PerkShop buffs and stats for cached online users. |
|.perk giftbuff | Grants purchased-style buff ownership to a player. |
|.perk revokebuff | Removes purchased-style buff ownership from a player. |
|.perk addbuff | Grants an admin-only buff entry to a player. |
|.perk clearbuff | Removes an admin-only buff grant and clears the active buff. |
|.perk giftstat | Grants purchased-style stat ranks to a player. |
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: