Notable changes:
-
Make default configuration include newly added message-before-place setting
-
Fix default message before place
-
Start working on editing message positions
-
Fix deserializing and add serializing message after place
-
Add missing special regex characters
-
Initial support for editing message positions
This update adds initial support for editing message positions. Editing message positions allows you to i.e. make chat message appear on an action bar instead.
Default configuration has been updated to showcase the new feature:
Code (YAML):
# Messages that should be edited.
# For in-depth tutorial check here:
# https://github.com/jaqobb/message-editor#usage
message-edits:
- ==
: MessageEdit
message-before-pattern
: '\
{
"extra":\
[\
{
"bold":false,
"italic":false,
"underlined":false,
"strikethrough":false,
"obfuscated":false,
"color":
"yellow",
"text":
"([a-zA-Z0-9_]{3,16}) joined the game"\
}\
],
"text":
""\
}'
message-before-place
: CHAT
message-after
: '
{
"extra":
[
{
"bold":true,
"italic":true,
"underlined":false,
"strikethrough":false,
"obfuscated":false,
"color":
"red",
"text":
"$1 joined the game"
}
],
"text":
""
}'
message-after-place
: ACTION_BAR
The new option I am talking about is:
Code (YAML):
message-after-place
: ACTION_BAR
Right now editing message positions is limited. You can only edit chat and action bar messages and new message positions are limited to chat and action bar as well. What that means is you can currently only update chat message to appear on an action bar and vice versa.
If you need help or you found a bug or issue with the plugin, please post an issue on the project's
issue tracker.
In case you do not have a GitHub account you can also DM me on Discord: jaqobb#4611 or use
discussion thread.
If Message Editor made customizing your server easier and better or you just appreciate my work, consider
donating or leaving a positive review below. It really means a lot!