ServerSideSave
Saves characters server-side and enforces one character per Steam account, so players can't bring in edited or pre-loaded saves.
模組介紹 作者原文
ServerSideSave
Saves player characters server-side instead of trusting each player's local
save file, so a character can't be edited offline and brought back with
extra items, stats, or skills. Install on both the dedicated server and
every client that connects to it.
What it does
- Server-authoritative character storage. When a player logs out (or
autosaves), their character data is sent to the server and stored there.
On the next connect, the server sends that stored copy back down and it's
applied before the character spawns, overriding whatever the player's
local file contains. The server's copy is always what's used going
forward.
- One character per Steam account. Once a Steam ID has joined as a
given character name, it can only ever reconnect as that same character
on this server. Trying to join as a different local character gets
rejected with an explanation instead of a generic connection error.
- New players are forced to start fresh. A Steam ID that has never
connected to this server before spawns with a brand-new default
character, ignoring whatever loot or stats their local character file
already has. Steam IDs that already had a character on this server
before this mod was installed are unaffected.
- Rotating backups. Before overwriting a character's stored save, the
previous version is kept as a timestamped backup (a configurable number
of the most recent ones are retained).
Install
Both the server and every connecting client need this mod (and the same
version — the mod enforces this automatically and will reject clients that
don't have it or are out of date). Drop it into BepInEx/plugins/ like any
other BepInEx mod. Requires BepInEx (5.4.2350 or compatible).
Server config
After the server has been run once, settings appear in
BepInEx/config/ServerSideSave.cfg:
| Setting | Default | Description |
|---|---|---|
| SingleCharacterMode | true | Restrict each Steam ID to the one character name it first connected with. |
| ForceFreshCharacter | true | Force Steam IDs that have never connected before to spawn with a default character instead of their local save. |
| MaxBackups | 10 | Number of rotating timestamped backups to keep per character. |
Where data is stored
Server-side character data is stored in the world's characters_local
folder alongside the normal.fch files, using the extension.sss
(e.g. Steam__.sss) so it never conflicts with
or gets confused for a regular Valheim character file. Backups use the
naming pattern..._backup_auto-.sss.
Notes
- This mod does not provide a web API, admin commands, or a maintenance
mode — it's intentionally narrow in scope: save, load, protect.
- Existing characters that were already playing on a server before this
mod was installed are automatically grandfathered in wherever the mod
can tell (single-character-mode and the fresh-character check both key
off whether a character file already existed) — nobody needs to do
anything manually for that to work.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: