From 828e20cba8251144419aac6cd950afd3bcc763ba Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Tue, 30 Aug 2016 20:39:45 -0700 Subject: [PATCH] Disable delayed logout messages by default. This feature has value in anti-spam, but too many new GP installers are confused by it. Disabling by default to save support cost - also I figure at least some are installing the plugin, seeing this as a "bug" and uninstalling without bothering to get educated, and that's bad for their players. --- src/me/ryanhamshire/GriefPrevention/GriefPrevention.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java index c9e7a89..277e0aa 100644 --- a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java +++ b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java @@ -571,7 +571,7 @@ public class GriefPrevention extends JavaPlugin String slashCommandsToMonitor = config.getString("GriefPrevention.Spam.MonitorSlashCommands", "/me;/global;/local"); slashCommandsToMonitor = config.getString("GriefPrevention.Spam.ChatSlashCommands", slashCommandsToMonitor); this.config_spam_deathMessageCooldownSeconds = config.getInt("GriefPrevention.Spam.DeathMessageCooldownSeconds", 120); - this.config_spam_logoutMessageDelaySeconds = config.getInt("GriefPrevention.Spam.Logout Message Delay In Seconds", 10); + this.config_spam_logoutMessageDelaySeconds = config.getInt("GriefPrevention.Spam.Logout Message Delay In Seconds", 0); this.config_pvp_protectFreshSpawns = config.getBoolean("GriefPrevention.PvP.ProtectFreshSpawns", true); this.config_pvp_punishLogout = config.getBoolean("GriefPrevention.PvP.PunishLogout", true);