From a806e79abd3ef68e9947b25d95d82923ca63befb Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 5 Nov 2018 09:06:31 +0400 Subject: [PATCH] * Improved chat help about ignore command (it's not only chat, but game joins too); --- Mage.Client/src/main/java/mage/client/util/IgnoreList.java | 4 ++-- Mage.Server/src/main/java/mage/server/ChatManager.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/util/IgnoreList.java b/Mage.Client/src/main/java/mage/client/util/IgnoreList.java index 89906031fa..3fbabab31d 100644 --- a/Mage.Client/src/main/java/mage/client/util/IgnoreList.java +++ b/Mage.Client/src/main/java/mage/client/util/IgnoreList.java @@ -9,8 +9,8 @@ import mage.view.ChatMessage; public final class IgnoreList { - private static final String USAGE = "
\\ignore - shows current ignore list on this server." - + "
\\ignore [username] - add a username to your ignore list on this server." + private static final String USAGE = "
\\ignore - shows your ignore list on this server." + + "
\\ignore [username] - add username to ignore list (they won't be able to chat or join to your game)." + "
\\unignore [username] - remove a username from your ignore list on this server.
"; public static final int MAX_IGNORE_LIST_SIZE = 50; diff --git a/Mage.Server/src/main/java/mage/server/ChatManager.java b/Mage.Server/src/main/java/mage/server/ChatManager.java index 4841a76643..7ef083002a 100644 --- a/Mage.Server/src/main/java/mage/server/ChatManager.java +++ b/Mage.Server/src/main/java/mage/server/ChatManager.java @@ -172,8 +172,8 @@ public enum ChatManager { + "
\\whisper or \\w [player name] [text] - whisper to the player with the given name" + "
\\card Card Name - Print oracle text for card" + "
[Card Name] - Show a highlighted card name" - + "
\\ignore - shows current ignore list on this server." - + "
\\ignore [username] - add a username to your ignore list on this server." + + "
\\ignore - shows your ignore list on this server." + + "
\\ignore [username] - add username to ignore list (they won't be able to chat or join to your game)." + "
\\unignore [username] - remove a username from your ignore list on this server."; final Pattern getCardTextPattern = Pattern.compile("^.card *(.*)");