HardheimTimedSave
Scheduled Valheim world saving, backups and restart support with client-side character position save before restart.
About this mod Author’s original text
Hardheim Timed Save
🇭🇺 Magyar
Automatikus szerver mentési és backup rendszer Valheimhez.
⚠️ 1.4.0-tól a mod kliens oldalon is szükséges!
A karakter pozíció mentés miatt minden játékosnak telepítenie kell.
Funkciók
- Pontos időpontokban történő mentés (nem időközönként)
- Időzóna támogatás (UTC, CET, CEST, Europe/Budapest)
- Játékon belüli figyelmeztetés mentés előtt
- Harc érzékelés (harc közben halasztja a mentést)
- Automatikus biztonsági mentések (backup)
- ZIP vagy mappa alapú backup
- Backup rotáció (keepLast)
- Backup késleltetés állítható (delaySeconds)
- Discord webhook támogatás (siker / hiba / restart / online)
- 🌍 Világnév megjelenítése webhookban
- 🕒 Időzített szerver restart
- 👢 Játékosok automatikus kirúgása restart előtt
- Többlépcsős értesítések:
- restart figyelmeztetés
- kick előtti üzenet
- végső üzenet
- Szerver online webhook (csak egyszer indulás után)
- Kommentált YAML konfiguráció (könnyen érthető)
Konfig példa
timezone: "Europe/Budapest"
saveTimes:
- "23:55"
backup:
enabled: true
zip: true
keepLast: 3
delaySeconds: 2
restart:
enabled: true
restartTimes:
- "04:00"
secondsBefore: 60
kickPlayersBeforeRestart: true
kickBeforeSeconds: 30
kickMessage: "Játékosok kirúgása a szerverről, újraindítás miatt"
kickMessageLeadSeconds: 2
timezone: "Europe/Budapest"
saveTimes:
- "23:55"
backup:
enabled: true
zip: true
keepLast: 3
delaySeconds: 2
restart:
enabled: true
restartTimes:
- "04:00"
secondsBefore: 60
kickPlayersBeforeRestart: true
kickBeforeSeconds: 30
kickMessage: "Játékosok kirúgása a szerverről, újraindítás miatt"
kickMessageLeadSeconds: 2
Megjegyzés
- A mod MOST MÁR kliens oldalon is szükséges
- ⚠️ A játékosoknak is telepíteni kell (ugyanazt a verziót)
- Ez szükséges a karakter pozíció mentéséhez restart előtt
- A játék eredeti save parancsát nem módosítja
- Backup csak az automatikus mentések után készül
❗ Fontos
- A mod csak leállítja a szervert
- A szerver újraindítását külső eszközzel kell megoldani
- pl. systemd, screen, tmux, vagy.bat script
- Frissítés után a config fájlt törölni kell
- Új beállítások kerültek bele
- A config automatikusan újragenerálódik
🇬🇧 English
Automatic scheduled server saving and backup system for Valheim.
⚠️ Since version 1.4.0 this mod requires client installation!
All players must install it to ensure proper character position saving.
Features
- Scheduled saves at exact times (not intervals)
- Timezone support (UTC, CET, CEST, Europe/Budapest)
- In-game warning before save
- Combat detection (delays save if players are fighting)
- Automatic backups
- ZIP or folder-based backups
- Backup rotation (keepLast)
- Configurable backup delay (delaySeconds)
- Discord webhook support (success / error / restart / online)
- 🌍 World name included in webhook
- 🕒 Scheduled server restart
- 👢 Automatic player kick before restart
- Multi-stage notifications:
- restart warning
- kick message
- final message
- Server online webhook (sent once after startup)
- Commented YAML config (easy to understand)
Config example
timezone: "Europe/Budapest"
saveTimes:
- "23:55"
backup:
enabled: true
zip: true
keepLast: 3
delaySeconds: 2
restart:
enabled: true
restartTimes:
- "04:00"
secondsBefore: 60
kickPlayersBeforeRestart: true
kickBeforeSeconds: 30
kickMessage: "Players are being kicked due to server restart"
kickMessageLeadSeconds: 2
Notes
- The mod now REQUIRES client-side installation
- ⚠️ All players must install the same version
- This is required for proper character position saving before restart
- Does NOT override the game's save command
- Backups are only created after scheduled saves
❗ Important
- This mod only shuts down the server
- Restart must be handled externally
- e.g. systemd, screen, tmux, or.bat script
- You must delete your config file after updating
- New config options were added
- Config will regenerate automatically
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: