diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 13:08:14 -0500 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 13:08:14 -0500 |
commit | 27aa4095270f943ddab2a4e4d370e225766c7ff7 (patch) | |
tree | f1d71fe46072cfab38ad833be96600bd26c04cb7 /docs | |
parent | 3470ee81c4444c5955f7899acce226dae14a3da4 (diff) | |
download | Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.tar.gz Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.tar.bz2 Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.zip |
change directory of chat tabs and shortcuts
Diffstat (limited to 'docs')
-rw-r--r-- | docs/chattabs.md | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/chattabs.md b/docs/chattabs.md index 4b9cde6..cb264e5 100644 --- a/docs/chattabs.md +++ b/docs/chattabs.md @@ -2,7 +2,7 @@ ## Syntax -The file for Chat Tabs is in `{MINECRAFT DIRECTORY}/W-OVERFLOW/Chatting/chattabs.json`. The default file will look +The file for Chat Tabs is in `{MINECRAFT DIRECTORY}/OneConfig/profiles/{PROFILE}/chattabs.json`. However, Chatting versions below 1.4.2-beta5 use `{MINECRAFT DIRECTORY}/W-OVERFLOW/Chatting/chattabs.json`. The default file will look something like this: ```json @@ -104,11 +104,10 @@ something like this: { "enabled": true, "name": "PM", - "unformatted": true, + "unformatted": false, "lowercase": false, - "starts": [ - "To ", - "From " + "regex": [ + "^(?<type>§dTo|§dFrom) (?<prefix>.+): §r(?<message>§7.*)(?:§r)?$" ], "color": 14737632, "hovered_color": 16777120, @@ -116,7 +115,7 @@ something like this: "prefix": "/r " } ], - "version": 5 + "version": 6 } ``` @@ -231,6 +230,10 @@ The `lowercase` property makes the message trigger lowercase. ## Chat Tabs JSON Changelogs +### Version 6 (Chatting 1.4.2 beta5) +- Changed PM tab to use regex instead of starts and sets `unformatted` to false +- Changed directory of Chat Tabs JSON to `{MINECRAFT DIRECTORY}/OneConfig/profiles/{PROFILE}/chattabs.json` + ### Version 5 (Chatting 1.4.0 [04363f5]) - The `prefix` property is no longer a required property. - Added `lowercase` property |