diff --git a/Mage.Server/src/main/java/mage/server/ChatManager.java b/Mage.Server/src/main/java/mage/server/ChatManager.java
index 1b5e1a212d..117f845575 100644
--- a/Mage.Server/src/main/java/mage/server/ChatManager.java
+++ b/Mage.Server/src/main/java/mage/server/ChatManager.java
@@ -121,8 +121,8 @@ public class ChatManager {
private boolean performUserCommand(User user, String message, UUID chatId) {
String command = message.substring(1).trim().toUpperCase(Locale.ENGLISH);
- if (command.startsWith("I ") || command.startsWith("INFO ")) {
- message = UserManager.getInstance().getUserHistory(message.substring(command.startsWith("I ") ? 3 : 6));
+ if (command.startsWith("H ") || command.startsWith("HISTORY ")) {
+ message = UserManager.getInstance().getUserHistory(message.substring(command.startsWith("H ") ? 3 : 8));
chatSessions.get(chatId).broadcastInfoToUser(user, message);
return true;
}
@@ -147,9 +147,9 @@ public class ChatManager {
}
if (command.equals("L") || command.equals("LIST")) {
message += new StringBuilder("
List of commands:")
- .append("
\\info [username] - shows the history of a player")
- .append("
\\list - Show a list of commands")
- .append("
\\whisper [player name] [text] - whisper to the player with the given name").toString();
+ .append("
\\history or \\h [username] - shows the history of a player")
+ .append("
\\list or \\l - Show a list of commands")
+ .append("
\\whisper or \\w [player name] [text] - whisper to the player with the given name").toString();
chatSessions.get(chatId).broadcastInfoToUser(user, message);
return true;
}