Load world state on server start

This commit is contained in:
2026-05-18 19:32:25 -07:00
parent a7ca8d10f8
commit 9aa2f8bee3
5 changed files with 114 additions and 1 deletions
+3 -1
View File
@@ -771,7 +771,9 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
authoritative repeating autosave timer from `ServerAutoSaveIntervalSeconds`
and calls `SaveCurrentWorld`, with `0` disabling the MVP timer.
- [x] Add manual admin save command.
- [ ] Add load-on-server-start.
- [x] Add load-on-server-start. `AAgrarianGameGameMode` now registers MVP
persistent actor classes and, when `bLoadWorldOnServerStart` is enabled,
loads the current world on authoritative `BeginPlay` if a save exists.
- [ ] Add initial tile registry persistence for Ground Zero.
- [ ] Add backup-before-save option.
- [ ] Add recovery plan for corrupted save.