CastleLink

版本 v1.1.1·更新於 2026-09-23

Share resources across all castles a player owns: right-click a recipe to pull materials from your other castles, plus gather/deposit commands. Deposit skips your hotbar; blood potions keep their bloo

模組介紹 作者原文

CastleLink

A server-side V Rising mod that lets a player use the

resources stored across all of the castles they own — not just the one they're

standing in.

Because V Rising computes crafting/building affordability on the client, a

server mod cannot make a distant castle's resources appear "available" out of thin

air. CastleLink solves this by physically pulling the resources you need from

your other castles, on demand:

  • Crafting — right-click a recipe at a crafting station and CastleLink pulls

the recipe's missing materials from your other castles into your inventory, so

the craft can proceed.

  • Chat commands — gather resources between your castles, top up stacks, and

deposit items neatly back into their dedicated storage boxes.

This mod is server-side only. Players do not need to install anything.

Features

  • Pull crafting materials from your other castles automatically (right-click a recipe).
  • Gather resources from your other castles straight into the current castle's

storage boxes, or into your inventory.

  • Category-based bulk pull (armor, weapons, herbs, materials, and many more).
  • Smart deposit that only stores items which have a dedicated storage box

(materials, herbs, alchemy, etc.), leaves gear in your inventory, and moves

blood potions as whole item entities so their blood type/quality survives.

  • Only affects castles owned by the same player. Raided castles are skipped.

Commands

All commands use the VampireCommandFramework

prefix (default.).

| Command | Alias | Description |

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

|.clhelp |.clh | List all CastleLink commands and categories. |

|.wolt |.all | Top up this castle's storage boxes to one full stack of each storable item, pulled from your other castles. |

|.pull | | Top up items you already carry to one full stack (storable items only). |

|.pull | | Pull a specific item by PrefabGUID hash. |

|.pullcat |.pc | Pull one stack of each item in a category into your inventory (topping up to a full stack; other castles first, then the current one). |

|.deposit |.dep | Deposit your inventory's items into this castle's dedicated storage boxes (skips your hotbar; leaves armor/weapons; blood potions keep their blood type/quality). |

Categories

armor, weapons, gear, herbs, materials, jewels, consumables, fish,

coins, gems, blood, soulshards, relics, bags, saddles, stables,

magic, lumber, stone, minerals, alchemy, tailoring, flowers,

everything.

Crafting

Just right-click a recipe at a crafting station. If your inventory + the station

don't have enough, CastleLink pulls the shortfall from your other castles.

Requirements

  • A dedicated V Rising server (this mod does not run on the client).
  • BepInEx (IL2CPP pack for V Rising).
  • VampireCommandFramework.
  • The player must own more than one castle for sharing to do anything.

Installation

  • Install the BepInEx pack for V Rising and VampireCommandFramework on your server.
  • Drop CastleLink.dll into BepInEx/plugins.
  • Start the server.

(Or install via a V Rising mod manager.)

Building from source

This mod targets the current V Rising build and uses recent game types that are

not yet present in the public VRising.Unhollowed.Client NuGet package. You must

therefore build against the interop assemblies generated by your own BepInEx install:

  • Run your modded server once so BepInEx generates BepInEx/interop.
  • Copy the DLLs from /BepInEx/interop/ into../server-interop/interop/

(relative to this project), or set the InteropDir property:

dotnet build -c Release -p:InteropDir="C:\path\to\BepInEx\interop"

How it works (short version)

  • Ownership: a castle heart is mapped to its owner via the territory owner's

PlatformId; all hearts with the same owner form the shared pool.

  • Crafting: patches StopCraftingSystem to read the recipe's

RecipeRequirementBuffer and transfer the shortfall from other castles' chests.

  • Storage: enumerates each castle's chests via the heart's

SharedCastleInventories, and uses the game's

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack_V_Risingdeca-VampireCommandFramework

檔案與校驗

檔案名稱
CastleLink-1.1.1.zip
檔案大小
20.6 KiB