You are viewing a potentially older version of this package. View all versions.
IronLabs-SavesCharactersOnStop-1.0.0 icon

SavesCharactersOnStop

With this mod ServerCharacters will automatically save all connected characters when the server stops or restarts.

Date uploaded a day ago
Version 1.0.0
Download link IronLabs-SavesCharactersOnStop-1.0.0.zip
Downloads 1
Dependency string IronLabs-SavesCharactersOnStop-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333
Smoothbrain-ServerCharacters-1.4.16 icon
Smoothbrain-ServerCharacters

Saves your character on the server, instead of your computer, to prevent you from messing with it.

Preferred version: 1.4.16

README

SavesCharactersOnStop

With this mod ServerCharacters will automatically save all connected characters when the server stops or restarts.

Features

  • Requests a profile save from every connected client.
  • Waits for ServerCharacters to confirm each transfer.
  • Processes up to four profile saves at a time.
  • Disconnects saved players before shutdown.
  • Performs the normal Valheim world save and exit afterward.
  • Logs unconfirmed profiles and continues after a 90-second timeout.
  • Intercepts a private dedicated-server exit request without a separate supervisor.
  • Detects its private exit request immediately through filesystem notifications.

Installation

Install ServerCharacters and this mod on the dedicated server and every client.

Client required Server required
Yes Yes

The server service must write its Valheim PID to saves_characters_on_stop.drp when stopping and wait at least 100 seconds before forcing termination. Copy the stop script and systemd configuration from the GitHub README.

Read the full documentation on GitHub.

Contact

Report bugs through GitHub Issues. For questions, feedback, and other discussions, use GitHub Discussions.