From eba66f37a7f6df60b8e4a42c027f2d7ceb3d14cb Mon Sep 17 00:00:00 2001 From: Heliosares Date: Mon, 7 Nov 2022 06:58:52 -0500 Subject: [PATCH] Fix Inv-DiffInterval being enabled by default --- config.yml | 3 ++- pom.xml | 2 +- src/dev/heliosares/auxprotect/core/APConfig.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config.yml b/config.yml index 1d1c195..b03a499 100644 --- a/config.yml +++ b/config.yml @@ -37,7 +37,8 @@ Actions: WorldChange: false Interval: 3600000 # Enables differential logging and searching of inventories down to the second. - # This feature is experimental and will consume more disk space. + # This feature is experimental and will consume significantly more disk space. + # Do not use this feature if your server is medium to large. Diff-Interval: 0 # Use this if you run into issues with death inventories being empty. # This is usually due to a plugin like DeathChests clearing the inventory before AuxProtect sees it. diff --git a/pom.xml b/pom.xml index d37a556..618c4fb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 AuxProtect AuxProtect - 1.2.1 + 1.2.2 AuxProtect ${project.artifactId}-${project.version} diff --git a/src/dev/heliosares/auxprotect/core/APConfig.java b/src/dev/heliosares/auxprotect/core/APConfig.java index 699bb66..5ba4c7d 100644 --- a/src/dev/heliosares/auxprotect/core/APConfig.java +++ b/src/dev/heliosares/auxprotect/core/APConfig.java @@ -56,7 +56,7 @@ public class APConfig { inventoryOnWorldChange = config.getBoolean("Actions.inventory.WorldChange", false); posInterval = config.getLong("Actions.pos.Interval", 10000); inventoryInterval = config.getLong("Actions.inventory.Interval", 3600000); - inventoryDiffInterval = config.getLong("Actions.inventory.Diff-Interval", 1000); + inventoryDiffInterval = config.getLong("Actions.inventory.Diff-Interval", 0); moneyInterval = config.getLong("Actions.money.Interval", 600000); } for (EntryAction action : EntryAction.values()) {