Valheim
Install with App

Details

Latest version
1.1.0
Last Updated
First Uploaded
Downloads
41
Likes
0
Size
41KB
Dependants
ADDatHost Valheim hosting
30% off

Saved Server Passwords

Valheim won't remember the password for a password-protected server. This mod does.

Features

  • Remember password tick box on the join password prompt.
  • Auto-join: next time you join that server, the saved password is submitted for you.
  • Wrong or changed password? The saved entry is deleted and the normal prompt comes back.
  • A Passwords (N) button on the Join Game screen (between Back and Connect) opens a panel in the game's own style where you can see, edit and delete saved passwords.
  • A gold PW tag appears next to server-list rows that have a saved password (matched by server name).

Client-side only: servers don't need the mod, and it doesn't change gameplay or sync anything.

Install

Install with r2modman or the Thunderstore app. Requires BepInExPack for Valheim, which installs automatically as a dependency.

Manual install: put SavedServerPasswords.dll in Valheim/BepInEx/plugins/.

Configuration

BepInEx/config/com.slothonmeth.savedserverpasswords.cfg

Setting Default
Enabled true Turns the whole mod on or off.
AutoSend true Submit the saved password automatically. Set to false to keep seeing the prompt.
RememberCheckedByDefault true Whether the tick box starts ticked.
ButtonOffsetX / ButtonOffsetY 0 Nudge the Passwords button on the Join Game screen (pixels).

Security

Passwords are stored in BepInEx/config/SavedServerPasswords.txt as base64. That is encoding, not encryption: anyone who can read the file can read the passwords. Don't share your profile folder or config files without deleting it first.

To forget everything: delete that file, or use the Delete buttons in the panel.

Known limitations

  • Developed against Valheim 1.0.x (BepInEx 5). A game update that renames internals can break a feature; the mod then logs a warning and the normal prompt is used.
  • Server-list tags and entry names depend on the mod learning the server's name when you first save it; entries without a name show their connection id.
  • The checkbox and tag positions are drawn at runtime and may sit slightly off on unusual UI scales.

If something breaks, open an issue with the lines containing Saved Server Passwords from BepInEx/LogOutput.log.

Build from source

Requires the .NET SDK (8.0+). No Valheim install needed:

dotnet build src/SavedServerPasswords.csproj -c Release

To build against your own game files instead: -p:ValheimDir="/path/to/Valheim".

Make the Thunderstore zip (build output goes to dist/):

./package.sh

CI (.github/workflows/build.yml) builds on every push.

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