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.
This commit is contained in:
ryanhamshire 2016-08-30 20:39:45 -07:00
parent 0d4b7c5f04
commit 828e20cba8

View File

@ -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);