Aust1n46 / VentureChat

GNU General Public License v3.0
38 stars 49 forks source link

Chat filter #89

Open 7hatGuyAJ opened 1 year ago

7hatGuyAJ commented 1 year ago

venturechats chat filter overrides the plugin chatfilter, is there any way to disable the chat filtering for venturechat?

VentureChat Version: 3.6.0 Written by Aust1n46

Paper version git-Paper-169 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: b4e3b3d)

7hatGuyAJ commented 1 year ago

On my Dev server where ChatFilter works ChatFilter loads before VentureChat.

[ChatFilter]: Loading server plugin ChatFilter v2.0.14 [VentureChat]: Loading server plugin VentureChat v3.6.0

On my live server where Chatfilter is not working VentureChat loads first.

[VentureChat]: Loading server plugin VentureChat v3.6.0 [VotingPlugin]: Loading server plugin VotingPlugin v6.13 [ChatFilter]: Loading server plugin ChatFilter v2.0.14

Is it possible for you to make VentureChat soft depend? on ChatFilter.

Aust1n46 commented 1 year ago

Soft depend would make VentureChat load second.

And all you need to do is configure the event priority in their config: https://github.com/A4Papers/ChatFilter/blob/master/src/main/resources/config.yml#L100-L111

The plugins are conflicting over HIGHEST priority chat events, which run last. Just change it to HIGH and it will get the event before VentureChat.