Valheim · Jötunn · 1.0.15
Town Portal
A blue wood portal back to the bed you have claimed. Anyone can follow. The caster's trip home closes both ends.
Download 1.0.15Thunderstore package. The dll is already inside. Upload the zip as-is.
Vmod field manual
No. 04
Valheim · Jötunn · 1.0.15
A blue wood portal back to the bed you have claimed. Anyone can follow. The caster's trip home closes both ends.
Download 1.0.15Thunderstore package. The dll is already inside. Upload the zip as-is.
Turn on devcommands, open the console, and drop either book at your feet. No Elder, chest, or workbench required.
spawn TownPortal_MysteriousTome 1 spawn TownPortal_Tome 1
The first is the ruined Mysterious Tome, the recipe piece. The second is the finished Tome of Town Portal.
If a door, the cooldown, or an old map marker gets stuck, the same console clears every town portal in the world, both buffs, and the markers. Save once afterward. They stay gone.
townportal_clear
Opening a door starts The Tome Rests for 5 minutes. A new door replaces your previous one, including a return field in an unloaded area. Followers go to your bed, not theirs. Each person is checked for portal-blocked cargo.
Craft Tome of Town Portal at a level 1 workbench. There are no upgrade levels.
| Ingredient | Amount |
|---|---|
| Mysterious Tome | 1, consumed |
| Surtling core | 10 |
| Greydwarf eye | 25 |
| Leather scraps | 15 |
| Deer hide | 5 |
Restored to its former glory. While it is in your inventory, Alt+H opens a door back to the bed you have claimed.
A ruined book. The way home is still written in it, for someone willing to make it whole.
On the ground both tomes are the strapped leather book. The finished tome uses that icon. The mysterious tome keeps a plain brown icon so the two are easy to tell apart.
These match a wood portal. The mod does not call portal code to do it.
BepInEx/config/com.townportal.mod.cfg. The server's copy wins for every row except the open key. A saved Alt+T or Shift+T binding is switched to H + LeftAlt the next time the game starts. Restart after changing cooldown or duration.
| Section | Key | Default |
|---|---|---|
| Client | Open | Left Alt + H |
| Server | CooldownSeconds | 300 |
| Server | DurationSeconds | 900 |
| Server | MysteriousTomeDropChance | 0.25 |
| Server | HaldorPrice | 250 |
| Server | HaldorRequiresElder | true |
| Server | SearchRadius | 6 |
| Server | PortalYawOffset | 0 |
| Debug | LogChestPrefabs | false |
If the wood frame faces the wrong way, set PortalYawOffset to 180. LogChestPrefabs writes one line per container prefab the first time it is seen.
Requires denikson-BepInExPack_Valheim 5.4.2333 and ValheimModding-Jotunn 2.30.2. The download is the Thunderstore zip. Upload it as-is. r2modman places plugins/TownPortal.dll under BepInEx/plugins. Install the same dll on a dedicated server. Everyone connected needs the mod.
Not in this version: a PVP lock, a custom book mesh, and translations. Custom lines are English. The cargo refusal uses the game's own message.