Add BackupStoragePatch to wrap save folder backups, ensuring storage writes are paused during backups. Introduce ModStorage and ModTables for per-mod database management, supporting schema migrations and table versioning. Add ForgeInstance as a static reference to server-side Forge. Include relevant tests.

This commit is contained in:
Overlord committed 2026-10-02 13:57:50 +02:00
1 parent c56046469e
commit 68cd9fc4f9
31 files changed
+2124 -42

No files matched your search

+2
View File
@@ -3,11 +3,13 @@ asm = "9.10.1"
junit = "6.1.3"
jetbrains-annotations = "26.0.2"
night-config = "3.9.0"
sqlite-jdbc = "3.48.0.0" # Same version as the SQLite JDBC driver bundled in Project Zomboid (sqlite-jdbc.properties).
[libraries]
#noinspection UnusedVersionCatalogEntry
jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref = "jetbrains-annotations" }
night-config-toml = { module = "com.electronwill.night-config:toml", version.ref = "night-config" }
sqlite-jdbc = { module = "org.xerial:sqlite-jdbc", version.ref = "sqlite-jdbc" }
asm = { module = "org.ow2.asm:asm", version.ref = "asm" }
asm-tree = { module = "org.ow2.asm:asm-tree", version.ref = "asm" }
asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" }