You are viewing a potentially older version of this package. View all versions.
Allifreyr-AutoServerPassword-1.0.2 icon

AutoServerPassword

Remembers server passwords and skips the password prompt for known servers. Automatically handles changed passwords.

Date uploaded 2 weeks ago
Version 1.0.2
Download link Allifreyr-AutoServerPassword-1.0.2.zip
Downloads 853
Dependency string Allifreyr-AutoServerPassword-1.0.2

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

AutoServerPassword

A client-only quality-of-life mod for Valheim 1.0 that remembers server passwords and automatically enters them when connecting, skipping the password dialog for seamless logins.

Features

  • Auto-Enter & Dialog Skip: When connecting to a known server with a saved password, the mod submits the password automatically and skips displaying the password prompt.
  • Auto-Save: The first time you connect to a server, enter the password as normal. Once authentication succeeds, the mod saves the password for future logins.
  • Changed / Wrong Password Handling: If a saved password fails (for example, if the server admin changed the password), the mod automatically purges the outdated password. On your next join attempt, the password prompt is displayed again so you can enter the new password.
  • In-Game GUI Password Manager (F7 by default):
    • Press the configurable toggle key (default F7) anytime in the Main Menu or In-Game to open the Password Manager GUI!
    • View all saved servers and their keys.
    • Show / Hide passwords with one click.
    • Copy passwords directly to your clipboard.
    • Delete individual saved servers or clear all.
    • Rebindable to any key you want in the config to avoid conflicts with F5 dev console mods.
  • Server Browser Indicator: Servers in the server list with saved passwords have their lock icon tinted green with a tooltip indicator: Password Saved (Auto-login enabled).
  • Multi-Backend Support: Works seamlessly with Dedicated Servers (IP:Port), PlayFab / Crossplay servers, and Steam servers.
  • In-Game Console Commands (F5 or custom console key):
    • savedpasswords list - Lists all remembered servers and their last used timestamp (passwords masked by default).
    • savedpasswords list --show - Lists all remembered servers revealing full passwords.
    • savedpasswords remove <name/key> - Removes a saved password for a server.
    • savedpasswords clear - Clears all saved passwords.
  • Human-Editable Storage: Passwords are saved in clean, readable JSON format at BepInEx/config/AutoServerPassword/passwords.json.

Configuration

Settings can be customized in BepInEx/config/Allifreyr.AutoServerPassword.cfg:

Setting Default Description
Enabled true Master switch to enable or disable the mod.
ToggleHotkey F7 Hotkey to toggle the in-game Password Manager GUI window. Can be rebound to any key to avoid conflicts with dev console mods.
ConsoleHotkey None Optional alternate key to toggle Valheim's developer console (useful if another mod overrides or hijacks F5).
AutoSubmit true Automatically submit the saved password when connecting to a known server.
HidePasswordDialog true Skip rendering the password input dialog completely when a saved password is used.
AutoSave true Automatically save the password after a successful connection.
PurgeOnWrongPassword true Automatically remove saved password if rejected by the server so you can re-enter it.
ShowNotifications true Show top-left in-game HUD notification when a password is auto-entered or saved.
HighlightSavedInServerList true Highlight lock icon green in server browser for servers with saved passwords.

Installation

  1. Install BepInExPack Valheim.
  2. Extract the contents of the zip file into your Valheim/BepInEx/plugins/ directory.
  3. Launch Valheim and enjoy seamless server joining!

CHANGELOG

Changelog

1.0.2

  • Added in-game Password Manager GUI window accessible with the toggle key in both the Main Menu and In-Game.
  • Added optional alternate console toggle hotkey (ConsoleHotkey).

1.0.1

  • Added customizable toggle key (ToggleHotkey, defaults to F7) to avoid conflicts with F5 dev console mods.

1.0.0

  • Initial release for Valheim 1.0.
  • Remembers passwords for servers upon successful connection.
  • Automatically enters and skips the password prompt for known servers.
  • Automatically purges saved password if the server rejects it (e.g. password changed), allowing user to input the new password on next attempt.
  • Server browser indicator: password-protected servers with saved passwords show a green lock icon and tooltip indicator.
  • Configurable settings via BepInEx config (AutoSubmit, HidePasswordDialog, AutoSave, PurgeOnWrongPassword, ShowNotifications, HighlightSavedInServerList).
  • In-game console commands via F5 (savedpasswords list, savedpasswords remove, savedpasswords clear).
  • Clean, human-editable JSON storage located in BepInEx/config/AutoServerPassword/passwords.json.