Skip to content

Commit

Permalink
2.1.3 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
LOOHP committed Apr 29, 2020
1 parent cf27621 commit f2fd7a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/com/loohp/interactivechat/Utils/MessageUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static String preprocessMessage(String message) {
regex = regex.replaceAll("\\\\?.", "(?:§.)?(?:$0)");
message = message.replaceAll(regex, placeholder);
}
message = message.replaceAll(CustomStringUtils.escapeMetaCharacters(placeholder), InteractiveChat.aliasesMapping.get(placeholder));
message = message.replaceAll(placeholder, InteractiveChat.aliasesMapping.get(placeholder));
}
return message;
}
Expand Down
8 changes: 4 additions & 4 deletions src/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ItemDisplay:
#The keyword to trigger the item display function
Keyword: "[item]"
Aliases:
- "[i]"
- "(?i)(\\[i\\])"
#The text to replace the keyword
#Special Placeholders:
#Use {Item} for item display name
Expand All @@ -130,7 +130,7 @@ ItemDisplay:
#The keyword to trigger the inventory display function
Keyword: "[inv]"
Aliases:
- "[inventory]"
- "(?i)(\\[inventory\\])"
#The text to replace the keyword
Text: "&f[&b%player_name%'s Inventory&f]"
#The title of the inventory view
Expand All @@ -149,7 +149,7 @@ ItemDisplay:
#The keyword to trigger the ender chest display function
Keyword: "[ender]"
Aliases:
- "[e]"
- "(?i)(\\[e\\])"
#The text to replace the keyword
Text: "&f[&d%player_name%'s Ender Chest&f]"
#The title of the ender chest inventory view
Expand Down Expand Up @@ -199,7 +199,7 @@ CustomPlaceholders:
#The keyword to look for in the chat
Text: "[money]"
Aliases:
- "[m]"
- "(?i)(\\[m\\])"
#Parse Placeholders in the keyword text
ParseKeyword: false
#Whether or the keyword check is case sensitive
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: InteractiveChat
author: loohp
version: 2.1.2
version: 2.1.3
main: com.loohp.interactivechat.InteractiveChat
api-version: 1.13
description: Make the chat interactive
Expand Down

0 comments on commit f2fd7a2

Please sign in to comment.