summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/simplebackup.json565
-rw-r--r--index.toml9
-rw-r--r--mods/lithostitched.pw.toml13
-rw-r--r--pack.toml2
4 files changed, 88 insertions, 1 deletions
diff --git a/config/simplebackup.json5 b/config/simplebackup.json5
new file mode 100644
index 0000000..9bab081
--- /dev/null
+++ b/config/simplebackup.json5
@@ -0,0 +1,65 @@
+{
+ //True to enable automatic backups in intervals. False to disable. [default = true]
+ //In single player, only backs up if the game is not paused.
+ "enableAutomaticBackups": true,
+ //Delay in seconds between automatic backups. [default = 3600] [minimum = 10]
+ "backupIntervalInSeconds": 43200,
+ //Only backup if players were online for the backup interval. [default = true]
+ //You might want to set this to false if the server is loading chunks even when no one is online.
+ "onlyBackupIfPlayersOnline": true,
+ //True to trigger a backup when server is stopped. False to disable [default = true]
+ //If backup takes longer than max-tick-time set in server.properties, the server thread will wait until backup finishes.
+ //Note: this may not properly finish the backup if you try to terminate the process with an interruption
+ // such as CTRL+C! Double check the backup file is the size you expect
+ "enableServerStoppedBackup": true,
+ //Backup format. Supports simply backing up as a direct copy of the folder, or ZIP [default = "ZIP"]
+ //Supported formats: "DIRECTORY", "ZIP", "LZ4"
+ // DIRECTORY: copies the world folder as-is
+ // ZIP: copies the world folder and zips it into a .zip file
+ // LZ4: archives the world folder into a .tar, then compresses using lz4, making a .tar.lz4 file
+ //LZ4 can be extracted/decompressed using 7-Zip-zstd: https://github.com/mcmilk/7-Zip-zstd
+ //See https://github.com/spoorn/SimpleBackup/blob/main/README.md for more information on the backup formats
+ "backupFormat": "LZ4",
+ //Number of threads to execute backup. Allows for parallel compression. Only applies for LZ4 format currently! [default = 1]
+ //Recommend only increasing this value if your world is very large and backups take a while.
+ //Recommend setting numThreads for multi-threaded processing to the number of cores in your CPU, or a multiple of that number.
+ //This is capped to number of processors * 4 for your safety!
+ "numThreads": 1,
+ //Buffer size in bytes for multi-threading (when numThreads > 1) used for compressing and merging files [default = 8192]
+ "multiThreadBufferSize": 8192,
+ //Percentage of disk space available required before creating a backup. [default = 20]
+ //This will prevent generating backups if your disk space is getting close to maxing out.
+ "percentageAvailableDiskSpaceRequirement": 20,
+ //Backup folder. If this is set to a relative path, it will be relative to the game directory [default = "backup"]
+ //This can be an absolute path as well if you want to store backups in a different location.
+ //Note: If you are using backslashes '\' instead of forward slash, you will need to escape it with double backslash '\\'.
+ //Examples:
+ // "backupPath": "F:/mybackups/backup",
+ // "backupPath": "F:\\mybackups\\backup",
+ "backupPath": "backup",
+ //Maximum number of backups to keep at a given time. [default = 10]
+ //If we generate a backup, but have more backups than this number, the oldest backup will be deleted.
+ "maxBackupsToKeep": 10,
+ //True to enable manual backups, false to disable [default = true]
+ "enableManualBackups": true,
+ //Permission level to allow manual backups. [4 = Ops] [0 = everyone] [default = 4]
+ "permissionLevelForManualBackups": 4,
+ //True to broadcast across the server when backups are triggered and finished. False to disable. [default = true]
+ "broadcastBackupMessage": true,
+ //Percentage (%) interval to log to server console the backup progress. [default = 10]
+ //Set this to a value <= 0 or > 100 to not print anything.
+ "intervalPercentageToLogBackupProgress": 10,
+ //Broadcast messages when server is backing up and success/failed. These are in the config file to allow
+ //servers to use whatever language they want without updating the mod source directly. Default language is english
+ "broadcastMessages": {
+ "simplebackup.backup.failed.broadcast1": "Server failed to backup to ",
+ "simplebackup.backup.success.broadcast": "Server was successfully backed up to ",
+ "simplebackup.backup.failed.broadcast2": ". Please check the server logs for errors!",
+ "simplebackup.backup.broadcast": "Starting server backup...",
+ "simplebackup.manualbackup.disabled": "Manual backups are disabled by the server!",
+ "simplebackup.manualbackup.alreadyexists": "There is already an ongoing manual backup. Please wait for it to finish before starting another!",
+ "simplebackup.manualbackup.started": " triggered a manual backup",
+ "simplebackup.manualbackup.notallowed": "You don\u0027t have permissions to trigger a manual backup! Sorry :("
+ }
+}
+
diff --git a/index.toml b/index.toml
index 8aba954..59e917d 100644
--- a/index.toml
+++ b/index.toml
@@ -21,6 +21,10 @@ file = "config/iris.properties"
hash = "7224d422c4329c3cedad644491433d0dcca0b5b6277051e14305463218f27498"
[[files]]
+file = "config/simplebackup.json5"
+hash = "e5216140385d954b93552952e7babc90dfa3d7075426c3cced318be2a67626b5"
+
+[[files]]
file = "mods/addadd.pw.toml"
hash = "d6c10a41620fa751e4c8aeee37b69adcbb107c72ebbd4e63d6966ae19d6c3ee0"
metafile = true
@@ -346,6 +350,11 @@ hash = "c8695e51366b601c5e9118a5d5650d234cc25fc8d1f90ebd186c17c199ba7fca"
metafile = true
[[files]]
+file = "mods/lithostitched.pw.toml"
+hash = "55167e582fd4841cd6c581beb53d341e94285c216e04b1d7bff0068e875be2a6"
+metafile = true
+
+[[files]]
file = "mods/make_bubbles_pop.pw.toml"
hash = "f531a8ee70e9d78ee62a84e3fd18088070dcf8f2cee2384a8aabed16dbfafe6c"
metafile = true
diff --git a/mods/lithostitched.pw.toml b/mods/lithostitched.pw.toml
new file mode 100644
index 0000000..e8ea4ec
--- /dev/null
+++ b/mods/lithostitched.pw.toml
@@ -0,0 +1,13 @@
+name = "Lithostitched"
+filename = "lithostitched-fabric-1.20.1-1.4.11.jar"
+side = "server"
+
+[download]
+url = "https://cdn.modrinth.com/data/XaDC71GB/versions/9bbVphAR/lithostitched-fabric-1.20.1-1.4.11.jar"
+hash-format = "sha512"
+hash = "d8e840907e3f7326c1e6605b65c46eb4e920e4790ab4074884ad21913f0c097dcacf4b813091239eb58bd65b7c75b96d04bb4df6eec830f89a21e217e3c0fdec"
+
+[update]
+[update.modrinth]
+mod-id = "XaDC71GB"
+version = "9bbVphAR"
diff --git a/pack.toml b/pack.toml
index 6c1ade0..0b94110 100644
--- a/pack.toml
+++ b/pack.toml
@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
-hash = "8a261281c7bbb9c203cf454027d2f3c086c77e15fbc13043b35fcf5b313560a4"
+hash = "77ec338ce0d00db3c4e5d4e15bbcf6b882d22bee28f3ff340348d135f99c6a2c"
[versions]
fabric = "0.18.4"