From b24ef55b673c4ce120ff184d3d9f2f68afa69a9b Mon Sep 17 00:00:00 2001 From: Sangelo Date: Mon, 4 Dec 2023 19:41:38 +0100 Subject: [PATCH] Bump Quilt version and re-add textile-backup --- config/textile_backup.json5 | 109 ++++++++++++++++++++++++++++++++++++ index.toml | 13 ++++- mods/cloth-config.pw.toml | 10 ++-- mods/qsl.pw.toml | 8 +-- mods/textile_backup.pw.toml | 13 +++++ pack.toml | 4 +- 6 files changed, 144 insertions(+), 13 deletions(-) create mode 100644 config/textile_backup.json5 create mode 100644 mods/textile_backup.pw.toml diff --git a/config/textile_backup.json5 b/config/textile_backup.json5 new file mode 100644 index 0000000..3e90b71 --- /dev/null +++ b/config/textile_backup.json5 @@ -0,0 +1,109 @@ +{ + /* + Should every world have its own backup folder? + */ + "perWorldBackup": true, + /* + Time between automatic backups in seconds + When set to 0 backups will not be performed automatically + */ + "backupInterval": 3600, + /* + Delay in seconds between typing-in /backup restore and it actually starting + */ + "restoreDelay": 30, + /* + Should backups be done even if there are no players? + */ + "doBackupsOnEmptyServer": false, + /* + Should backup be made on server shutdown? + */ + "shutdownBackup": true, + /* + Should world be backed up before restoring a backup? + */ + "backupOldWorlds": true, + /* + A path to the backup folder + */ + "path": "backup/", + /* + This setting allows you to exclude files form being backed-up. + Be very careful when setting it, as it is easy corrupt your world! + */ + "fileBlacklist": [], + /* + Should backups be deleted after being restored? + */ + "deleteOldBackupAfterRestore": true, + /* + Maximum number of backups to keep. If set to 0 then no backup will be deleted based their amount + */ + "backupsToKeep": 8, + /* + Maximum age of backups to keep in seconds. + If set to 0 then backups will not be deleted based their age + */ + "maxAge": 0, + /* + Maximum size of backup folder in kibi bytes (1024). + If set to 0 then backups will not be deleted + */ + "maxSize": 10485760, + /* + Compression level + 0 - 9 + Only affects zip compression. + */ + "compression": 7, + /* + Limit how many cores can be used for compression. + 0 means that all available cores will be used + */ + "compressionCoreCountLimit": 0, + /* + Available formats are: + ZIP - normal zip archive using standard deflate compression + GZIP - tar.gz using gzip compression + TAR - .tar with no compression + */ + "format": "GZIP", + /* + Minimal permission level required to run commands + */ + "permissionLevel": 4, + /* + Player on singleplayer is always allowed to run command. Warning! On lan party everyone will be allowed to run it. + */ + "alwaysSingleplayerAllowed": true, + /* + Players allowed to run backup commands without sufficient permission level + */ + "playerWhitelist": [], + /* + Players banned from running backup commands besides their sufficient permission level + */ + "playerBlacklist": [], + /* + Announce to ALL players when backup starts + */ + "broadcastBackupStart": true, + /* + Announce to ALL players when backup finishes + */ + "broadcastBackupDone": true, + /* + Format of date&time used to name backup files. + Remember not to use '#' symbol or any other character that is not allowed by your operating system such as: + ':', '\', etc... + For more info: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html + */ + "dateTimeFormat": "yyyy.MM.dd_HH-mm-ss", + /* + The Strict mode (default) aborts backup creation in case of any problem and deletes created files + Permissible mode keeps partial/damaged backup but won't allow to restore it + Very Permissible mode will skip the verification process. THIS MOST CERTAINLY WILL LEAD TO DATA LOSS OR CORRUPTION + */ + "integrityVerificationMode": "STRICT" +} diff --git a/index.toml b/index.toml index 3b7bc08..3049ed6 100644 --- a/index.toml +++ b/index.toml @@ -1,5 +1,9 @@ hash-format = "sha256" +[[files]] +file = "config/textile_backup.json5" +hash = "98e029ce16da8cd056ac4bd5e68d3496ea45ae013649d6fadf0eeac1b0b6c4fb" + [[files]] file = "mods/3dskinlayers.pw.toml" hash = "a7c95abc830068cdbd3adf8ec2ee8135b2eb2685f88fa90adda305f2d01205bc" @@ -97,7 +101,7 @@ metafile = true [[files]] file = "mods/cloth-config.pw.toml" -hash = "df83086d160981e8d4e29defe7253d6b2f3339d33dcc2c72e8359bea2f134960" +hash = "b6348f94ec939f563285dc96683e61da8fc17ab2f2897be2751fa24789513691" metafile = true [[files]] @@ -407,7 +411,7 @@ metafile = true [[files]] file = "mods/qsl.pw.toml" -hash = "cdb47756a1453dfcf42b910415308a77b5e57b8f3b80812859ee5794434edd1c" +hash = "db2669fd5202942c0d0514c797c198506470e149542ac9d65e33e04f1a01db23" metafile = true [[files]] @@ -495,6 +499,11 @@ file = "mods/text-utilities.pw.toml" hash = "d348e5b14642c36393ff3ce72e03ef79f709b1af045112211294673c52a47d1a" metafile = true +[[files]] +file = "mods/textile_backup.pw.toml" +hash = "de89d4ffd14c02db24f737055f1f11b784bcb98e7e826efa4bc2329a962b4ba5" +metafile = true + [[files]] file = "mods/toms-storage.pw.toml" hash = "16533ac83d5cd1cb2708e080ad7996b22a595a7184a034516d46ad871776cd9b" diff --git a/mods/cloth-config.pw.toml b/mods/cloth-config.pw.toml index b1332bf..06a50a5 100644 --- a/mods/cloth-config.pw.toml +++ b/mods/cloth-config.pw.toml @@ -1,13 +1,13 @@ -name = "Cloth Config API (Fabric/Forge)" +name = "Cloth Config API" filename = "cloth-config-11.1.106-fabric.jar" side = "both" [download] +url = "https://cdn.modrinth.com/data/9s6osm5g/versions/s7VTKfLA/cloth-config-11.1.106-fabric.jar" hash-format = "sha1" hash = "a05e176326365f2b8e377a35be52a5671491bcfd" -mode = "metadata:curseforge" [update] -[update.curseforge] -file-id = 4633442 -project-id = 348521 +[update.modrinth] +mod-id = "9s6osm5g" +version = "s7VTKfLA" diff --git a/mods/qsl.pw.toml b/mods/qsl.pw.toml index 58bdd37..d3bbfbd 100644 --- a/mods/qsl.pw.toml +++ b/mods/qsl.pw.toml @@ -3,11 +3,11 @@ filename = "qfapi-7.4.0_qsl-6.1.2_fapi-0.90.0_mc-1.20.1.jar" side = "both" [download] +url = "https://cdn.modrinth.com/data/qvIfYCYJ/versions/GjvWb8WQ/qfapi-7.4.0_qsl-6.1.2_fapi-0.90.0_mc-1.20.1.jar" hash-format = "sha1" hash = "d52456c799cc2534331f9cc71532e43c5f886554" -mode = "metadata:curseforge" [update] -[update.curseforge] -file-id = 4787908 -project-id = 634179 +[update.modrinth] +mod-id = "qvIfYCYJ" +version = "GjvWb8WQ" diff --git a/mods/textile_backup.pw.toml b/mods/textile_backup.pw.toml new file mode 100644 index 0000000..c11b31c --- /dev/null +++ b/mods/textile_backup.pw.toml @@ -0,0 +1,13 @@ +name = "Textile Backup" +filename = "textile_backup-3.1.2-1.20.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/wwcspvkr/versions/k3qnR2WS/textile_backup-3.1.2-1.20.jar" +hash-format = "sha1" +hash = "9d78292dcd7f8622cc1163025f033b587bb7b9df" + +[update] +[update.modrinth] +mod-id = "wwcspvkr" +version = "k3qnR2WS" diff --git a/pack.toml b/pack.toml index 3e62c27..d2031c5 100644 --- a/pack.toml +++ b/pack.toml @@ -6,8 +6,8 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "86c5a2751bd9675343e57bc3d698cb7f806b0d4f8fdc9e1a35d1c83ce90b205e" +hash = "17aaa52d559e48dafbcf46b1dfae8bef03e9c923eac0ee5e2b7bb33dfd28c288" [versions] minecraft = "1.20.1" -quilt = "0.22.0-beta.1" +quilt = "0.22.0"