MidnightMods-AutoConnector icon

AutoConnector

Auto-save password and server info, connect without being prompted.

Last updated 4 days ago
Total downloads 420
Total rating 0 
Categories
Dependency string MidnightMods-AutoConnector-1.0.0
Dependants 3 other packages depend on this package

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
ValheimModding-Jotunn-2.30.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.30.0
ValheimModding-YamlDotNet-16.3.1 icon
ValheimModding-YamlDotNet

Shared version 16.3.0 of YamlDotNet from Antoine Aubry and contributors, net47 package for use in Valheim mods. Maintained by the ValheimModding team.

Preferred version: 16.3.1

README

AutoConnector

Remembers server passwords so you never have to type them again.

Features

  • Servers listed in BepInEx/config/AutoConnector/servers.yaml are added to the Favorites tab of the Join Game screen.
  • When you join a listed server, its password is sent for you and the password prompt is skipped.
  • Join a server that is not listed and type its password, and it is saved to the file once the server accepts it.
  • If a saved password is rejected, you are asked for the new one and reconnected; the file is updated once the new password works.

The file explains its own format at the top. Each server is filed under the name shown in the server list:

My Modpack Server:
  ServerAddress: 192.168.1.20:2456
  ServerAliases:
  - valheim.example.com:2456
  ServerPass: RaidTheRich

ServerAliases is optional: other addresses for the same server, so the password is still sent when you join it by IP instead of by name.

Client side only. Servers do not need the mod.

Installation (manual)

Extract AutoConnector.dll into BepInEx/plugins. Requires Jotunn and YamlDotNet.

FAQ

  • Passwords are stored as plain text in servers.yaml.
  • A server listed by domain name and the same server joined by IP address are different servers unless one is listed in the other's ServerAliases.
  • Removing a server from favorites in game does not remove it from servers.yaml, so it is added back. Delete the entry from the file instead.