XPortal
Select portal destination from a list of existing portals. No more tag pairing, and no more portal hubs! XPortal is a complete rewrite of the popular mod AnyPortal.
About this mod Author’s original text
XPortal
An AnyPortal revamp.
Description
XPortal lets you select a portal destination from a list of existing portals.
No more tag pairing, and no more portal hubs!
Features
Select a destination
When interacting with a portal, instead of entering a tag which has to match another portal's, XPortal lets you choose the portal's destination from a list.
For your convenience, this list also shows you how far away the portals are.
Default destination
A Portal can be marked as the "Default Portal". When a Default Portal has been set, all newly built portals will immediately connect with that portal, without you having to go into the portal configuration panel.
Longer names
XPortal completely removes the character length restriction on portal names, so that you can give your portals clear and descriptive titles.
Ping a portal location
Forgot where you put your portal? You don't need to teleport to it to find out. Just click the Ping button next to the list, and XPortal will show the selected portal on your map, while also pinging its location to all players on the server.
If you prefer to play without a map, this button can be hidden, either by using the nomap global key, or by setting PingMapDisabled to True.
Multiplayer
XPortal has been built with multiplayer support at its core. All players must run the same version of XPortal. If you play on a dedicated server, that too needs to have same version of XPortal installed.
Gamepad support
The XPortal UI will respond to gamepad input when configuring your portal. As of v1.2.10 it even shows you the gamepad keyhints!
Note: Currently gamepad hints are not showing correctly, and opening the Portal configuration panel will show some warnings in the console. I aim to address this in a future update.
The controls are as follows:
- A / Cross - Submit (i.e. press the OK button)
- B/ Circle - Cancel
- Y / Triangle - Ping the selected portal
- X / Square - Show/hide the contents of the dropdown
- D-Pad Up / D-Pad Down - Select the previous / next item in the dropdown
Mod compatibility and integration
XPortal has been made fully compatible with the following mods:
- Update Check by aedenthorn
- Stone Portal by Jere Kuusela
- Advanced Portals by Randy Knapp
Furthermore, XPortal has a configuration option to fully integrate with Advanced Portals. If you set DisplayPortalColour to True, each portal in XPortal's dropdown list will be prepended by a ">>" tag that has the same colour as the light that the portal emits. As of v1.2.10, Stone Portals also get their own colour!
XPortal is known to be fully incompatible with:
- AnyPortal by sweetgiorni
- ComfyGizmo by redseiko
- Custom Meshes by aedenthorn
Configuration
XPortal's config file, which can be found at Valheim\BepInEx\config\yay.spikehimself.xportal.cfg, contains the following settings:
PingMapDisabled
Disable the Ping Map button completely. For players who wish to play without a map. This setting is enforced (but not overwritten) by the server.
DisplayPortalColour
Show a coloured ">>" tag in the list of portals to indicate the portal type (integration with Advanced Portals and Stone Portal).
DoublePortalCosts
Since XPortal is essentially a cheat, in that you only need half the amount of portals now, this setting allows you to compensate for that by doubling portal costs. This setting is enforced (but not overwritten) by the server.
HidePortalDistance
If you don't want to see how far away the portals in the list are, you can use this option to remove that. This setting is enforced (but not overwritten) by the server.
DefaultPortal
This configuration option exists to save your personal Default Portal. Its value will be set by checking the Default Portal checkbox on the portal configuration panel. This value should not be manually edited in the file.
Installation instructions
XPortal is a BepInEx plugin. As such, you must have BepInEx installed. Most other Valheim mods are also BepInEx plugins, so chances are yo
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: