Worlds are identified by a UUID and every table is keyed by it, so many worlds can share one database. The schema is created and migrated automatically. Autosaves are written on a background tokio runtime; exit saves block until done. Singleplayer saves are one SQLite file per save game in the platform data directory. The dedicated server takes --database URL (default sqlite://saves/server.sqlite) and --world NAME|UUID. BREAKING CHANGE: the rsn save format and the server's --save FILE option are removed; existing saves are not migrated. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| game_client | ||
| game_core | ||
| game_server | ||