Clarify message that auto-muted the player

This commit is contained in:
RoboMWM 2016-05-09 11:10:03 -07:00
parent 42c8119953
commit 126cb366f1

View File

@ -164,7 +164,7 @@ class PlayerEventHandler implements Listener
//otherwise assume chat troll and mute all chat from this sender until an admin says otherwise //otherwise assume chat troll and mute all chat from this sender until an admin says otherwise
else if(GriefPrevention.instance.config_trollFilterEnabled) else if(GriefPrevention.instance.config_trollFilterEnabled)
{ {
String notificationMessage = "(Muted " + player.getName() + "): " + message; String notificationMessage = "(Auto-Muted " + player.getName() + "): " + message;
GriefPrevention.AddLogEntry("Auto-muted new player " + player.getName() + " for profanity shortly after join. Use /SoftMute to undo.", CustomLogEntryTypes.AdminActivity); GriefPrevention.AddLogEntry("Auto-muted new player " + player.getName() + " for profanity shortly after join. Use /SoftMute to undo.", CustomLogEntryTypes.AdminActivity);
GriefPrevention.AddLogEntry(notificationMessage, CustomLogEntryTypes.MutedChat, false); GriefPrevention.AddLogEntry(notificationMessage, CustomLogEntryTypes.MutedChat, false);
GriefPrevention.instance.dataStore.toggleSoftMute(player.getUniqueId()); GriefPrevention.instance.dataStore.toggleSoftMute(player.getUniqueId());