kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
43 stars 22 forks source link

1.8, 1.12, 1.17, 1.20: Receivers still get empty messages when display conditions #2651

Closed gre3x closed 2 months ago

gre3x commented 2 months ago

"/version ChatControlRed" - plugin version

10.25.6

Are you using MySQL?

Yes

Are you using BungeeCord?

Yes

Error log (if applicable)

None

"/chc debug" output (strongly recommended)

debug.zip

Information about the issue/bug

After updating to version 10.25.6 from 10.24.5, these features no longer work:

Specifically, the format that has stopped working for filtering out the messages is 'global-chat.ymlin my configs (see debug.zip). The is not supposed to not send a message to the player if all parts of the message are filtered out by theReceiver_Condition`. In 10.24.5, that has stopped working.

Below is the full filter that does work as a condition, but still sends the empty message (even though it is not supposed to send an empty message according to the above change logs). And it used to not send an empty message in version 10.24.5:

    Receiver_Condition: '''{advanciuschat_canview_{sender}}'' == ''true'''

Note that this did NOT happen in version 10.24.5

image

kangarko commented 2 months ago

Duplicate of https://github.com/kangarko/ChatControl-Red/issues/2647