Add server autosave interval

This commit is contained in:
2026-05-18 19:29:35 -07:00
parent 06666b1dc3
commit a7ca8d10f8
5 changed files with 100 additions and 1 deletions
+3 -1
View File
@@ -767,7 +767,9 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
item stacks, and owner player ID; 0.1.M has no placed container actor yet, so
the current craftable `simple_container` remains covered by player inventory
persistence until placed containers arrive.
- [ ] Add server-side save interval.
- [x] Add server-side save interval. `AAgrarianGameGameMode` now starts an
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.
- [ ] Add initial tile registry persistence for Ground Zero.