XPortalSharedMapPins

版本 v0.2.0·更新於 2026-09-20

Keeps shared XPortalNetworks portals visible as map pins for every player with the mod installed.

模組介紹 作者原文

XPortal Shared Map Pins

Standalone companion mod for Vapok XPortalNetworks 2.0.8.

It reads the portal list maintained by XPortalNetworks and creates matching Portal pins on each player's local map. The pins are refreshed automatically, and pins for renamed, moved, or destroyed portals are removed.

Behavior

  • Public/global XPortalNetworks portals are pinned automatically.
  • Private and personal-network portals are excluded by default.
  • Set IncludePrivatePortals = true in the generated config to include them locally.
  • Pins are client-local map data. Install this mod for every player who should see the pins; no world or ZDO data is changed.
  • The mod does not alter portal routing, ownership, permissions, or XPortalNetworks settings.
  • Actions/RestoreXPortalPins: set to true to recreate only XPortal-generated portal pins, then it resets. Vanilla player pins are not touched.
  • General/PinColor: a Color setting with a Configuration Manager color picker.
  • General/ShowPortalPins: toggle all portal pins from the configuration. Disabled mode removes only this mod's pins.
  • General/ShowNetworkInPinName: when enabled, map pins use a name such as [Trade Hub] North Base; disabled by default.
  • Portal pins use a separate internal category with the native portal icon when available. Visibility is controlled through configuration, not the map legend.

Build

From this directory:.\build.ps1 -ValheimDir 'D:\Steam\steamapps\common\Valheim'

Copy dist/XPortalSharedMapPins.dll into BepInEx/plugins alongside XPortalNetworks.

Requirements

  • Valheim 1.0.15 references
  • BepInEx 5.4.2350
  • XPortalNetworks 2.0.8

安裝與使用 安裝:BepInEx 外掛

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

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

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

denikson-BepInExPack_ValheimVapok-XPortalNetworks

檔案與校驗

檔案名稱
XPortalSharedMapPins-0.2.0.zip
檔案大小
19.3 KiB