changed built fle names and moved errorErrorHandlingMode to the end of config, so it appears as far down as possible
This commit is contained in:
parent
458ab01822
commit
3af7d75042
@ -7,7 +7,7 @@ sourceCompatibility = JavaVersion.VERSION_17
|
|||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
||||||
archivesBaseName = project.archives_base_name
|
archivesBaseName = project.archives_base_name
|
||||||
version = "${project.mod_version}-${getMcMinor(project.minecraft_version)}"
|
version = "${project.mod_version}-${project.minecraft_version}"
|
||||||
group = project.maven_group
|
group = project.maven_group
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -123,14 +123,6 @@ public class ConfigPOJO implements ConfigData {
|
|||||||
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
|
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
|
||||||
public ArchiveFormat format = ArchiveFormat.ZIP;
|
public ArchiveFormat format = ArchiveFormat.ZIP;
|
||||||
|
|
||||||
@Comment("""
|
|
||||||
\nThe 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
|
|
||||||
""")
|
|
||||||
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
|
|
||||||
public ErrorHandlingMode errorErrorHandlingMode = ErrorHandlingMode.STRICT;
|
|
||||||
|
|
||||||
@Comment("\nMinimal permission level required to run commands\n")
|
@Comment("\nMinimal permission level required to run commands\n")
|
||||||
@ConfigEntry.Category("Manage")
|
@ConfigEntry.Category("Manage")
|
||||||
@ConfigEntry.Gui.NoTooltip()
|
@ConfigEntry.Gui.NoTooltip()
|
||||||
@ -170,6 +162,14 @@ public class ConfigPOJO implements ConfigData {
|
|||||||
@ConfigEntry.Gui.Tooltip()
|
@ConfigEntry.Gui.Tooltip()
|
||||||
public String dateTimeFormat = "yyyy.MM.dd_HH-mm-ss";
|
public String dateTimeFormat = "yyyy.MM.dd_HH-mm-ss";
|
||||||
|
|
||||||
|
@Comment("""
|
||||||
|
\nThe 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
|
||||||
|
""")
|
||||||
|
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
|
||||||
|
public ErrorHandlingMode errorErrorHandlingMode = ErrorHandlingMode.STRICT;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void validatePostLoad() throws ValidationException {
|
public void validatePostLoad() throws ValidationException {
|
||||||
if(compressionCoreCountLimit > Runtime.getRuntime().availableProcessors())
|
if(compressionCoreCountLimit > Runtime.getRuntime().availableProcessors())
|
||||||
|
Loading…
Reference in New Issue
Block a user