jaqobb / message-editor

Spigot plugin that allows editing in-game messages that were previously unmodifiable
MIT License
13 stars 2 forks source link

"Remove message" bug(?) #13

Closed pintoso closed 3 years ago

pintoso commented 3 years ago

I've been using message-editor for months, but after updating my server and the plugin I'm not able to remove messages

for example if I use

- ==: MessageEdit
  message-before-pattern: \{"translate":"commands\.gamemode\.success\.self"\,"with":\[\{"translate":"gameMode\.creative"\}\]\}
  message-before-place: SYSTEM_CHAT
  message-after: ''
  message-after-place: SYSTEM_CHAT

nothing changes

but if i use

- ==: MessageEdit
  message-before-pattern: \{"translate":"commands\.gamemode\.success\.self"\,"with":\[\{"translate":"gameMode\.creative"\}\]\}
  message-before-place: SYSTEM_CHAT
  message-after: test
  message-after-place: SYSTEM_CHAT

works

message-editor-2.4.2-all paper 1.16.4 #404

jaqobb commented 3 years ago

Hey, I have been unable to reproduce this issue on my test server. Make sure you only edit this message once (so that there are not multiple message edits that have the same message before pattern). You can also try updating Paper / reinstalling Message Editor. There is not much more I can suggest, sorry.