You are viewing a potentially older version of this package. View all versions.
Jubaroo-BifrostConnect-1.0.1 icon

BifrostConnect

Direct main menu directory for 1-click connection to Valheim dedicated servers with auto-fill passwords and live-reloading scrollable server list.

By Jubaroo
Date uploaded 19 hours ago
Version 1.0.1
Download link Jubaroo-BifrostConnect-1.0.1.zip
Downloads 6
Dependency string Jubaroo-BifrostConnect-1.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.20.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.20.0

README

Bifrost Connect

Bifrost Connect brings a streamlined, one-click dedicated server browser directly to the Valheim main menu. Stop searching through lists, typing IP addresses, or repeatedly copying and pasting passwords—hop straight into your favorite worlds with a single click.


Features

  • 🌐 Native Main Menu Button: Seamlessly blends into the Valheim main menu right alongside the standard buttons with matching fonts and audio cues.
  • 📜 Scrollable Server Directory: Browse through an unlimited list of your servers inside a custom Valheim woodpanel UI with mouse-wheel scrolling and a smooth vertical scrollbar.
  • 🛡️ Server Join Confirmation: Displays server name, address, and password protection status before connecting so you always know where you're going.
  • 🔑 Automatic Password Injection: Stores your passwords securely in your local JSON config and automatically fills them into the connection request—no password prompt required!
  • 🔄 Live Hot-Reload: Modify BifrostConnect_Servers.json at any time while the game is running. Clicking the BIFROST CONNECT button instantly reloads your servers from disk without restarting Valheim.
  • 💻 100% Client-Side: Only needs to be installed on your client. Completely compatible with all vanilla and modded dedicated servers.

Configuration

When you first launch the game with Bifrost Connect installed, a template configuration file is automatically generated at:

BepInEx/config/BifrostConnect_Servers.json

(If using a mod manager like Gale or r2modman, access this via the Config editor tab in your profile.)

Example Configuration

{
  "Servers": [
    {
      "Name": "My Survival Server",
      "IP": "127.0.0.1",
      "Port": 2456,
      "Password": ""
    },
    {
      "Name": "Community Dedicated Server",
      "IP": "192.168.1.100",
      "Port": 2456,
      "Password": "secretpassword"
    },
    {
      "Name": "Modded World",
      "IP": "valheim.example.com",
      "Port": 2456,
      "Password": "valheim123"
    }
  ]
}

Configuration Fields

Field Description Example
Name The display name shown on the directory button. "My Valheim Server"
IP The IPv4 address or hostname of your server. "192.168.1.50" or "play.myserver.com"
Port Connection port (default Valheim server port is 2456). 2456
Password Server password. Leave as "" if no password is required. "mypassword"

Tip: Comments (// or #) are supported in the JSON file.


Installation

Via Mod Manager (Recommended)

  1. Install r2modman or Gale.
  2. Click Online and search for BifrostConnect.
  3. Click Download with Dependencies.

Manual Installation

  1. Ensure you have BepInExPack Valheim and Jötunn installed.
  2. Download the BifrostConnect zip package.
  3. Extract BifrostConnect.dll into your Valheim/BepInEx/plugins/ directory.

Requirements

  • Valheim
  • BepInExPack Valheim (v5.4.2202 or newer)
  • Jötunn, the Valheim Library (v2.20.0 or newer)

CHANGELOG

Changelog

1.0.3

  • Character Selection Fix: Fixed an issue where connecting to a server forced an immediate join, bypassing the character selection screen and loading an incorrect profile.
  • UI Transition Hardening: Re-architected the connection flow to safely route through Valheim's native ShowCharacterSelection without triggering overlapping main menu glitches.
  • World Select Interception: Added a seamless Harmony patch to intercept the "Start" button post-character selection, bypassing the local world menu and launching directly into the queued Bifrost server.

1.0.2

  • Fix FieldAccessException: Fixed runtime System.FieldAccessException on FejdStartup.m_menuButtons that caused UI injection to fail on un-publicized game runtime assemblies.
  • Reflection Hardening: Safely wrapped menu button injection and server password injection (FejdStartup.ServerPassword and ZNet.m_serverPassword) using Harmony AccessTools reflection with exception handling to prevent future game patch breakages.

1.0.1

  • Fix Empty Server Directory: Resolved issue where the server directory panel opened completely blank in-game.
  • Native ScrollRect & RectMask2D: Replaced Jötunn's nested canvas CreateScrollView with a clean Unity UI ScrollRect and RectMask2D container residing directly within the woodpanel canvas hierarchy, eliminating canvas sorting order culling and stencil mask issues.
  • Immediate Layout Computation: Added LayoutRebuilder.ForceRebuildLayoutImmediate and Canvas.ForceUpdateCanvases() on menu open to guarantee buttons are measured, centered, and visible on the initial frame.
  • Auto-Hiding Scrollbar: Configured responsive vertical scrollbar with mouse-wheel support that dynamically hides when servers fit within the viewport and appears when the list overflows.
  • Trace Logging: Added server directory build logs detailing loaded server count and layout bounds.

1.0.0

  • Initial Public Release
  • Main Menu Integration: Added native "BIFROST CONNECT" button directly to the Valheim main menu matching vanilla layout, font styling, and button audio cues.
  • Scrollable Server Directory: Added authentic Valheim woodpanel server directory with smooth mouse-wheel scrolling.
  • Join Confirmation Dialog: Added dedicated confirmation modal displaying server name, address, and password protection status before connecting.
  • Automatic Password Auto-Fill: Automatically passes saved server passwords into Valheim's connection sequence to eliminate manual entry.
  • Hot-Reloading JSON Configuration: Fast, live-reloading configuration (BepInEx/config/BifrostConnect_Servers.json) using Valheim's bundled Newtonsoft.Json with support for comments (// and #).
  • Auto-Generated Examples: Automatically generates a documented example template with multiple server formats if no configuration file exists.
  • Input & Navigation: Full Escape key support to close custom menus and return seamlessly to the main menu.
  • Distribution & Antivirus Compliance: Fully compliant assembly metadata, disabled unsafe blocks, and clean 7-Zip packaging for false-positive-free distribution across Thunderstore, Nexus Mods, and Hexium.