DiscordSRV

DiscordSRV

86.8k Downloads

Relay still sending canceled chat messages

Firav opened this issue ยท 1 comments

commented

While using a chat filtering plugin that stop chat events, when the chat filter is triggered, the message is still sent to the Discord relay chat, even through the chat message has been canceled.
Debug log: https://bin.scarsz.me/f819bb30-55e5-4284-99e9-23b8c0fc682b#mslDRf4vJZ1zPTCG1clWZ6IRezzKX6H1
The phrase used for this testing was testword, which was caught by the filter and canceled.
Versions overview:

Minecraft version: 1.21.1-47-e2da65c (MC: 1.21.1)
Bukkit API version: 1.21.1-R0.1-SNAPSHOT
plugin version: DiscordSRV v1.28.0
config version: 1.28.0

Server software and version

Paper 1.21.1-47-e2da65c (MC: 1.21.1)

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.

Ticket number or message link to where you asked in DiscordSRV's Discord server about this

Do not recall

Anything else

No response

commented

Check your TownyChat configuration, towny let's you choose the listener priority for it's chat handling.
That chat censoring plugin is unfortunately using highest so you would have to use highest and hope TownyChat's comes after the censoring plugin's