Valheim
Install with App

Details

Latest version
1.0.1
Last Updated
First Uploaded
Downloads
34
Likes
0
Size
109KB
Dependants
ADDatHost Valheim hosting
30% off

Budyliv Reconnect

When your connection to a server drops, vanilla Valheim throws you back to the main menu with "Disconnected", and you have to pick the server again, type the password and wait. This mod does it for you: it joins the same server with the same character again on its own.

About the "AI Generated" tag. The code of this mod was written by AI. The idea, the design decisions and the testing are done by hand.

What happens

  1. The connection drops. The game saves your character and returns to the menu, as usual.
  2. The "Disconnected" panel shows a countdown: Reconnecting in 3 s (attempt 1 of 8). Press Esc or OK to cancel.
  3. The game joins the server again. If the server asks for a password, the one you typed earlier is sent automatically.
  4. If the server can't be reached (for example, it is restarting), the mod tries again after 5, 10, 15, 20 and then 30 seconds, up to 8 attempts in all (about two and a half minutes).

It does not reconnect when you leave the game yourself, are kicked or banned, typed a wrong password, or your game version doesn't match. The password is kept in memory only, never written to disk.

Installation

Client-only. The server needs nothing. Works with dedicated servers and with games hosted by a friend.

Configuration

BepInEx/config/com.budyliv.reconnect.cfg:

Setting Default
Enabled true
DelaySeconds 3 countdown before the first attempt
MaxAttempts 8 give up after this many attempts
Language Auto Auto / English / Ukrainian (countdown text)

Tip for server owners

How long a dead connection takes to be noticed is the game's connection timeout (30 s in vanilla). With NetworkPerformanceSystem you can lower it on the server ([Connection Timeout] Connection Timeout Seconds), so players get back sooner.

License

MIT. See LICENSE.

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