refactor: use a central filtering manager

This commit is contained in:
ChomeNS
2025-01-18 15:20:15 +07:00
parent 54389f2e2b
commit ae7fe63846
8 changed files with 239 additions and 172 deletions

View File

@@ -81,7 +81,8 @@ public class Bot {
public BruhifyPlugin bruhify;
public CloopPlugin cloop;
public ExploitsPlugin exploits;
public FilterPlugin filter;
public FilterManagerPlugin filterManager;
public PlayerFilterPlugin playerFilter;
public CommandSuggestionPlugin commandSuggestion;
public MailPlugin mail;
public PacketSnifferPlugin packetSniffer;
@@ -132,7 +133,8 @@ public class Bot {
this.bruhify = new BruhifyPlugin(this);
this.cloop = new CloopPlugin(this);
this.exploits = new ExploitsPlugin(this);
this.filter = new FilterPlugin(this);
this.filterManager = new FilterManagerPlugin(this);
this.playerFilter = new PlayerFilterPlugin(this);
this.commandSuggestion = new CommandSuggestionPlugin(this);
this.mail = new MailPlugin(this);
this.packetSniffer = new PacketSnifferPlugin(this);