From 493c4e1c109fcc8f2af9787c0af454acdc931bc0 Mon Sep 17 00:00:00 2001 From: SirDank <52797753+SirDank@users.noreply.github.com> Date: Sat, 27 Apr 2024 11:44:14 +0530 Subject: [PATCH 1/4] Update BackupConfig.java --- .../java/com/osiris/autoplug/client/configs/BackupConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java index 1833bb68..f6aba000 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java +++ b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java @@ -75,7 +75,7 @@ public BackupConfig() throws IOException, DuplicateKeyException, YamlReaderExcep ); backup_path = put(name, "path").setDefValues("./autoplug/backups").setComments( "Where to create your backups."); - backup_include = put(name, "include", "enable").setDefValues("true").setComments( + backup_include = put(name, "include", "enable").setDefValues("false").setComments( "Add specific files or folders you want to include in the backup, to the list below.", "Windows/Linux formats are supported. './' stands for the servers root directory." ); From bd0ebf55b32651c7428efb287945a12dd3edd38f Mon Sep 17 00:00:00 2001 From: SirDank <52797753+SirDank@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:36:46 +0530 Subject: [PATCH 2/4] Update BackupConfig.java --- .../autoplug/client/configs/BackupConfig.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java index f6aba000..684183c7 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java +++ b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java @@ -75,15 +75,14 @@ public BackupConfig() throws IOException, DuplicateKeyException, YamlReaderExcep ); backup_path = put(name, "path").setDefValues("./autoplug/backups").setComments( "Where to create your backups."); - backup_include = put(name, "include", "enable").setDefValues("false").setComments( + backup_include = put(name, "include", "enable").setDefValues("true").setComments( "Add specific files or folders you want to include in the backup, to the list below.", - "Windows/Linux formats are supported. './' stands for the servers root directory." + "Windows/Linux formats are supported. './' stands for the servers root directory.", ); - backup_include_list = put(name, "include", "list").setDefValues( - "./", - "./example/directory", - "./specific-file.txt", - "C:\\Users\\Example Windows Directory" + backup_include_list = put(name, "include", "list").setDefValues("./").setComments( + " - ./example/directory", + " - ./specific-file.txt", + " - C:\\Users\\Example Windows Directory" ); backup_exclude = put(name, "exclude", "enable").setDefValues("true").setComments( "Add specific files or folders you want to exclude from the backup, to the list below.", From 96a921051cb48f0749571083dee8df1b7e709933 Mon Sep 17 00:00:00 2001 From: SirDank <52797753+SirDank@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:40:32 +0530 Subject: [PATCH 3/4] Update BackupConfig.java --- .../java/com/osiris/autoplug/client/configs/BackupConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java index 684183c7..7e3fbe01 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java +++ b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java @@ -77,7 +77,7 @@ public BackupConfig() throws IOException, DuplicateKeyException, YamlReaderExcep "Where to create your backups."); backup_include = put(name, "include", "enable").setDefValues("true").setComments( "Add specific files or folders you want to include in the backup, to the list below.", - "Windows/Linux formats are supported. './' stands for the servers root directory.", + "Windows/Linux formats are supported. './' stands for the servers root directory." ); backup_include_list = put(name, "include", "list").setDefValues("./").setComments( " - ./example/directory", From 655099345ee877bdcb95692dae5e8bbf53128fb8 Mon Sep 17 00:00:00 2001 From: SirDank <52797753+SirDank@users.noreply.github.com> Date: Sat, 27 Apr 2024 19:16:22 +0530 Subject: [PATCH 4/4] Update BackupConfig.java --- .../com/osiris/autoplug/client/configs/BackupConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java index 7e3fbe01..1b897582 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java +++ b/src/main/java/com/osiris/autoplug/client/configs/BackupConfig.java @@ -79,7 +79,10 @@ public BackupConfig() throws IOException, DuplicateKeyException, YamlReaderExcep "Add specific files or folders you want to include in the backup, to the list below.", "Windows/Linux formats are supported. './' stands for the servers root directory." ); - backup_include_list = put(name, "include", "list").setDefValues("./").setComments( + backup_include_list = put(name, "include", "list").setDefValues( + "./", + "./server.properties" + ).setComments( " - ./example/directory", " - ./specific-file.txt", " - C:\\Users\\Example Windows Directory"