remove troll filter

This commit is contained in:
destro174 2022-02-19 20:15:08 +01:00
parent 8a5369d888
commit 4610d39713

View File

@ -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<String, Integer> 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);