Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
351
Size
17KB
ADDatHost Valheim hosting
30% off

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/.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.