Wicks-QuickLogout icon

QuickLogout

Shortens ServerManager's logout freeze from 65 s to 10 s (configurable). Near a busy base the final-save wait can never finish; this only lowers the deadline. Client mod, needs ServerManager.

By Wicks
Last updated 6 days ago
Total downloads 24
Total rating 0 
Categories Mods Tweaks Client-side
Dependency string Wicks-QuickLogout-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 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.2351

README

QuickLogout

Shortens the freeze when you log out (or quit) on a server running ServerManager.

Why

On Logout / Quit, ServerManager holds your game until every world change your game still has queued has reached the server, then makes a final character save. Near a busy base, the tames and animals your game is handling change every frame, so that queue never empties - ServerManager waits out its full 65-second limit and then logs you out anyway.

QuickLogout lowers that one limit to 10 seconds (configurable). Nothing else about ServerManager changes, and its files are not touched.

What happens when the wait runs out

Exactly what ServerManager does after 65 seconds without this mod: it keeps the last save the server already confirmed. Inventory changes are confirmed every few seconds, so they are kept; your position is only saved with the periodic full saves, so you may rejoin where you were a few minutes earlier. Log out away from busy tames and the final save completes normally.

Install

Client mod - install it on every player's game (servers that use ServerManager's mod list need to allow it). Requires ServerManager; without it the mod does nothing.

Configuration

BepInEx/config/wick.quicklogout.cfg:

Setting Default Meaning
TimeoutSeconds 10 [Logout] - longest wait on Logout / Quit (5-65; ServerManager's own value is 65)

Changelog

  • 1.0.0 - First release. Tested with ServerManager 1.2.2 (also works with 1.1.6).