From 4610d39713d5330791fece36c58d5da794d50940 Mon Sep 17 00:00:00 2001 From: destro174 <40720638+destro174@users.noreply.github.com> Date: Sat, 19 Feb 2022 20:15:08 +0100 Subject: [PATCH] remove troll filter --- .../java/me/ryanhamshire/GriefPrevention/GriefPrevention.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/me/ryanhamshire/GriefPrevention/GriefPrevention.java b/src/main/java/me/ryanhamshire/GriefPrevention/GriefPrevention.java index 08019cf..e0ff800 100644 --- a/src/main/java/me/ryanhamshire/GriefPrevention/GriefPrevention.java +++ b/src/main/java/me/ryanhamshire/GriefPrevention/GriefPrevention.java @@ -213,7 +213,6 @@ public class GriefPrevention extends JavaPlugin public int config_ipLimit; //how many players can share an IP address - public boolean config_trollFilterEnabled; //whether to auto-mute new players who use banned words right after joining public boolean config_silenceBans; //whether to remove quit messages on banned players public HashMap config_seaLevelOverride; //override for sea level, because bukkit doesn't report the right value for all situations @@ -629,7 +628,6 @@ public class GriefPrevention extends JavaPlugin String whisperCommandsToMonitor = config.getString("GriefPrevention.WhisperCommands", "/tell;/pm;/r;/whisper;/msg"); whisperCommandsToMonitor = config.getString("GriefPrevention.Spam.WhisperSlashCommands", whisperCommandsToMonitor); - this.config_trollFilterEnabled = config.getBoolean("GriefPrevention.Mute New Players Using Banned Words", true); this.config_ipLimit = config.getInt("GriefPrevention.MaxPlayersPerIpAddress", 3); this.config_silenceBans = config.getBoolean("GriefPrevention.SilenceBans", true); @@ -802,7 +800,6 @@ public class GriefPrevention extends JavaPlugin outConfig.set("GriefPrevention.AdminsGetWhispers", this.config_whisperNotifications); outConfig.set("GriefPrevention.AdminsGetSignNotifications", this.config_signNotifications); - outConfig.set("GriefPrevention.Mute New Players Using Banned Words", this.config_trollFilterEnabled); outConfig.set("GriefPrevention.MaxPlayersPerIpAddress", this.config_ipLimit); outConfig.set("GriefPrevention.SilenceBans", this.config_silenceBans);