AdvancedBan icon indicating copy to clipboard operation
AdvancedBan copied to clipboard

AdvancedBan can't prevent chat messages even if player is muted when ChatControlPRO formatting.yml is enabled

Open MotikaCraft-TheJoshua opened this issue 3 years ago • 4 comments

What version of AdvancedBan (/AdvancedBan) are you using? image

What kind of server do you have (Bungeecord/single server)? Single server

What server version (/version) are you using? image

Please provide the EXACT steps required to reproduce the problem...

  1. Install ChatControlPRO plugin
  2. Install AdvancedBan plugin
  3. Start server to load configs
  4. Go into plugins/ChatControl/formatting.yml file
  5. Set Enabled to true to enable formatting of messages
  6. Go onto server and reload CHC plugin (/chc reload)
  7. Mute some player using AdvancedBan plugin (/mute Player1 some reason)
  8. When that player try to send chat message he will get AdvancedBan deny message but his message will however be sent to the chat

Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log) No

Add any additional information below. No

MotikaCraft-TheJoshua avatar Oct 08 '22 13:10 MotikaCraft-TheJoshua

Due to the nature of how this plugin is made, aka it not being open source, I cannot give a definite answer to that.

What I'm thinking is happening here is that ChatControlPRO does not respect the chat event status that AdvancedBan has set. Please reach out to their support instead.

Thank you.

Hopefuls avatar Oct 08 '22 15:10 Hopefuls

Due to the nature of how this plugin is made, aka it not being open source, I cannot give a definite answer to that.

What I'm thinking is happening here is that ChatControlPRO does not respect the chat event status that AdvancedBan has set. Please reach out to their support instead.

Thank you.

This is what i got as an answer from LiteBans developer - I asked him to share a part of code how he handles on player chat event if player is muted; can you please try forking and doing this what he said? because litebans successfully prevents ChatControlPRO's formatted message from being sent if player is muted; AdvancedBan not image

MotikaCraft-TheJoshua avatar Oct 08 '22 18:10 MotikaCraft-TheJoshua

This still does not bring this issue further, as neither I or the actual Developers of AdvancedBan can look into how ChatControl acts on event priorities. There had been issues like this before, but this is mostly due to disagreement between plugins and their event priorities. I have already started implementing features to allow server administrators to configure priorities themselves to act on other plugins accordingly.

Other than that, you're likely not going to be able to use AdvancedBan with ChatControlPro.

Hopefuls avatar Oct 08 '22 21:10 Hopefuls

I fixed it, was simple fix image

MotikaCraft-TheJoshua avatar Oct 09 '22 11:10 MotikaCraft-TheJoshua