From 1547c16093c642414b816c08d37bbf11e4340bc1 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Mon, 12 Dec 2022 11:38:45 +0100 Subject: [PATCH] 3.0.7 | Bugfix - noOpPlayerDeop.enable' was missing in opWhitelist.yml and was read in incorrectly - kick.customCommand.Enable' was corrected to 'kick.customCommand.enable' in config.yml --- OpSecurity V3/pom.xml | 2 +- .../main/java/net/t2code/opsecurity/config/config/Config.java | 2 +- .../net/t2code/opsecurity/config/opWhitelist/OPWhitelist.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpSecurity V3/pom.xml b/OpSecurity V3/pom.xml index 97f8b34..a847f3c 100644 --- a/OpSecurity V3/pom.xml +++ b/OpSecurity V3/pom.xml @@ -6,7 +6,7 @@ net.t2code T2C-OPSecurity - 3.0.6 + 3.0.7 jar diff --git a/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/config/Config.java b/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/config/Config.java index a171822..531b139 100644 --- a/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/config/Config.java +++ b/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/config/Config.java @@ -19,7 +19,7 @@ public enum Config { checkOnChat("check.onChat", true, ConfigParam.BOOLEAN), checkTimerEnable("check.timer.enable", true, ConfigParam.BOOLEAN), checkTimerRefreshInSec("check.timer.refreshInSec", 60, ConfigParam.INTEGER), - kickCustomCommand("kick.customCommand.Enable", false, ConfigParam.BOOLEAN), + kickCustomCommand("kick.customCommand.enable", false, ConfigParam.BOOLEAN), kickCommand("kick.customCommand.command", "minecraft:kick [player] [reason]", ConfigParam.STRING), notifyJoinWarning("notify.joinWarn.enable", true, ConfigParam.BOOLEAN), notifyBungee("notify.allBungeePlayer.enable", false, ConfigParam.BOOLEAN), diff --git a/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/opWhitelist/OPWhitelist.java b/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/opWhitelist/OPWhitelist.java index c55ec9d..d893864 100644 --- a/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/opWhitelist/OPWhitelist.java +++ b/OpSecurity V3/src/main/java/net/t2code/opsecurity/config/opWhitelist/OPWhitelist.java @@ -9,7 +9,7 @@ import java.util.List; public enum OPWhitelist { enable("opWhitelist.enable", false, ConfigParam.BOOLEAN), playerMustBeOnlineToOp("opWhitelist.playerMustBeOnlineToOp", true, ConfigParam.BOOLEAN), - noOpPlayerDeopEnable("opWhitelist.enable", true, ConfigParam.BOOLEAN), + noOpPlayerDeopEnable("noOpPlayerDeop.enable", true, ConfigParam.BOOLEAN), noOpPlayerDeopPlayerSendMessage("opWhitelist.noOpPlayerDeop.playerSendMessage", true, ConfigParam.BOOLEAN), noOpPlayerKickEnable("opWhitelist.noOpPlayerKick.enable", true, ConfigParam.BOOLEAN), noOpPlayerSetGameModeEnable("opWhitelist.noOpPlayerSetGameMode.enable", true, ConfigParam.BOOLEAN),