HearthstoneMod

版本 v1.0.5·更新於 2026-09-13

Adds a craftable Hearthstone that teleports you to your bed spawn point. 10 minute cooldown, reusable, never consumed, no gear loss, bypasses all portal restrictions since it never uses the portal sys

模組介紹 作者原文

HearthstoneMod (Valheim 1.0)

A craftable Hearthstone item. Activate it to teleport instantly to your bed

spawn point with your full inventory intact. It's a reusable keepsake, not a

consumable, with a short cooldown between uses. It never goes through

Valheim's portal system, so none of the usual portal restrictions apply

(no ore/metal blocking, no linked-portal pairing needed) - it just moves you.

How to use

  • Craft one at a Workbench: 5 Fine Wood, 5 Leather Scrap, 5 Greydwarf Eye

(tunable by the server/pack owner - see Configuration below).

  • Set a spawn point the normal way - sleep in or claim any bed. That's

where the Hearthstone sends you.

  • Activate it - right-click the Hearthstone in your inventory, or drop

it on a hotbar slot and press your use key. You'll teleport straight to

your bed, gear and all.

  • Cooldown: 10 minutes between uses by default. You keep the item

forever - it's never consumed, just wait out the cooldown to use it again.

Requirements

Needs BepInEx

and Jotunn, and

because it registers a new item/recipe, everyone connecting to the same

world needs the mod installed - it's marked EveryoneMustHaveMod, so

mismatched clients won't be able to connect. If you're playing with friends

by having one person host directly (no separate dedicated server), that host

needs it too, same as everyone else. If you run a separate dedicated server

process, install it there as well.

Configuration

After the first run, BepInEx writes a config file under BepInEx/config/

named after this plugin. Edit it while the game is closed (or with a

config-manager mod while it's running):

[General]

CooldownSeconds = 600

RequireBedSpawnPoint = true

[Recipe]

FineWood = 5

LeatherScraps = 5

GreydwarfEye = 5

Why it bypasses portal restrictions and doesn't drop your gear

Both fall out naturally from how it's built, not from special-casing:

  • It never calls into Valheim's Portal/TeleportWorld system at all, so

none of the checks that system applies (linked portal required, certain

ores/metals blocked, etc.) ever run for this item.

  • Valheim doesn't drop your gear on a direct position teleport - that's only

a death mechanic. This mod just moves your character; your inventory comes

with you.

Building from source

This is an open BepInEx + Jotunn mod project; the source (.cs.csproj

files) isn't included in the packaged download but is available if you want

to modify or rebuild it. In short: it's a net472 class library referencing

BepInEx, Jotunn, and Valheim's own game assemblies (from your local install -

those are never redistributed), built with dotnet build. See the project's

HearthstoneMod.csproj for the exact reference paths - they're driven by

VALHEIM_INSTALL and BEPINEX_ROOT properties/environment variables so they

can point at any install location, including a Mod Manager or

r2modman profile folder rather than the game's own top-level BepInEx

folder (mod managers commonly nest the actual active plugins folder under a

per-profile path).

If you hit a compile error after a Valheim update renamed or reshuffled an

internal field, the fix is usually small: open your own

valheim_Data\Managed\assembly_valheim.dll in a free decompiler (dnSpy or

ILSpy) - this is your own legally-owned copy, so inspecting it locally is

fine - find the closest-named current member, and update the corresponding

line in the source.

License

No explicit license is currently set for this project (all rights reserved

by default). Contact the author if you'd like to reuse or bundle it.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_ValheimValheimModding-Jotunn

檔案與校驗

檔案名稱
HearthstoneMod-1.0.5.zip
檔案大小
107.7 KiB