ServerEmptyStopSave
Stops dedicated servers from saving when empty, auto-detects backup intervals, and silences on-screen save notification spam.
模組介紹 作者原文
\# ServerEmptyStopSave
Stops your dedicated server from saving when nobody is online, and lets you hide or customize the annoying "World saved" message spam.
Vanilla Valheim keeps saving on a timer even when the server is totally empty, which quickly overwrites all your backup slots with useless saves. If you run a short save interval (like every 3 minutes), it also constantly spams "World saved" across everyone's screen while they're trying to play. This mod fixes both.
\### What it does
\* Stops autosaves and automated backups when 0 players are online
\* Does one final save right after the last player logs off so you never lose progress
\* Starts saving normally again as soon as someone joins
\ \\New in 1.1.0:\\* Lets you filter or mute the "World saved" on-screen popups (silence the 3-minute fast saves, only show actual backups, or turn them off completely)
\* 100% server-side so your friends don't need to install anything
\### Install
Drop 'ServerEmptyStopSave.dll' into your server's 'BepInEx/plugins' folder and you're good to go.
\### Config
A config file is generated automatically at 'BepInEx/config/pico.serveremptystopsave.cfg' the first time you run it.
Everything defaults to 'false' so it won't change your notifications until you want it to.
\ \\General\\*
  \* 'EnableLogging' (Default: 'true') — Set to 'false' if you want a quiet console.
\ \\Notifications\\*
  \* 'HideFastSaveMessage' (Default: 'false') — Set to 'true' to stop the frequent 3-minute autosave popups.
  \* 'LogBlockedMessages' (Default: 'true') — Prints a console entry whenever a save message is suppressed.
  \* 'ShowShortBackupMessage' (Default: 'false') — Set to 'true' if you want an on-screen notice when a short backup triggers.
  \* 'ShowLongBackupMessage' (Default: 'false') — Set to 'true' if you want an on-screen notice when a long backup triggers.
  \* 'ShowManualSaveMessage' (Default: 'true') — Keeps alerts visible when someone runs '/save' or during shutdown.
  \* 'MuteAllSaveMessages' (Default: 'false') — Master mute switch for all save popups.
\ \\Timers\\*
  \* 'ShortBackupIntervalSeconds' (Default: '900') — Match this to your '-backupshort' server argument.
  \* 'LongBackupIntervalSeconds' (Default: '7200') — Match this to your '-backuplong' server argument.
\ \\Messages\\*
  \* Customize what text shows on screen for each save type (or make it just '.' to keep it tiny).
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: