Moved one perWorldBackup to the top so that General category appears on the top. I might rearrange other settings in more logical way

2.x-1.16
szymon 2021-07-07 14:28:51 +02:00
parent 47f8c5cbc3
commit 585dd01c02
1 changed files with 6 additions and 6 deletions

View File

@ -29,6 +29,11 @@ import java.util.*;
@Config(name = TextileBackup.MOD_ID) @Config(name = TextileBackup.MOD_ID)
public class ConfigPOJO implements ConfigData { public class ConfigPOJO implements ConfigData {
@Comment("\nShould every world have its own backup folder?\n")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Excluded
public boolean perWorldBackup = true;
@Comment(""" @Comment("""
\nTime between automatic backups in seconds \nTime between automatic backups in seconds
When set to 0 backups will not be performed automatically When set to 0 backups will not be performed automatically
@ -57,17 +62,12 @@ public class ConfigPOJO implements ConfigData {
@ConfigEntry.Category("Restore") @ConfigEntry.Category("Restore")
public boolean backupOldWorlds = true; public boolean backupOldWorlds = true;
@Comment("\nShould every world have its own backup folder?\n")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Excluded
public boolean perWorldBackup = true;
@Comment("\nA path to the backup folder\n") @Comment("\nA path to the backup folder\n")
@ConfigEntry.Gui.NoTooltip() @ConfigEntry.Gui.NoTooltip()
public String path = "backup/"; public String path = "backup/";
@Comment(""" @Comment("""
\nThis setting allows you to exclude files form being backedup. \nThis setting allows you to exclude files form being backed-up.
Be very careful when setting it, as it is easy corrupt your world! Be very careful when setting it, as it is easy corrupt your world!
""") """)
@ConfigEntry.Gui.NoTooltip() @ConfigEntry.Gui.NoTooltip()