You are viewing a potentially older version of this package. View all versions.
TheLukoMan-TargetPortal-1.0.0 icon

TargetPortal

Link each Valheim portal directly to one specific target portal.

Date uploaded 2 months ago
Version 1.0.0
Download link TheLukoMan-TargetPortal-1.0.0.zip
Downloads 72
Dependency string TheLukoMan-TargetPortal-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

TargetPortal

TargetPortal lets one Valheim portal point to one specific portal. The link is stored as the destination portal's world ID, not as a shared portal tag.

What it changes

Vanilla Valheim finds a portal with the same tag. A portal linked by TargetPortal always uses its saved target instead. Tags are still available as friendly labels, but they no longer decide travel for that linked portal.

Installation

Install TargetPortal with Thunderstore. The mod is required on the server/host and every player who joins the world. It depends on BepInExPack_Valheim, which Thunderstore installs automatically.

Link two portals

  1. In Valheim, open the developer console with F5. (Enable it in Steam launch options with -console if necessary.)
  2. Aim at the source portal and enter tp select.
  3. Travel to the portal that should be the destination, aim at it, and enter tp link.
  4. Repeat the same process in reverse if you want the return trip to be direct too.

The source and target can be on different islands. The source need not still be loaded when tp link is entered.

Commands

Command Action
tp select Save the portal you are aiming at as the source.
tp link Make the selected source point at the aimed portal.
tp clear Remove the direct link from the aimed portal.
tp info Show whether the aimed portal has a direct target.
tp cancel Forget the currently selected source.
tp help Show the command list.

Multiplayer and safety

The server is authoritative and stores links in the world data. Install the same version on the server and all clients. Version 1.0 is intended for trusted co-op worlds: any player who can use the console can create or clear a link.

Compatibility

TargetPortal changes only portal destination resolution. It does not add a map, world generation, locations, or items. A link can be cleared at any time, returning that portal to vanilla tag matching.

Manual installation

Unzip the package, then place plugins/TargetPortal.dll in BepInEx/plugins/.

CHANGELOG

Changelog

1.0.1

  • Initial release of the portal-network map.
  • Using any portal opens a minimap of all named portals.
  • Clicking a map marker or list item teleports to that portal.
  • Removes the obsolete ZRoutedRpc patch from the earlier prototype.