Commit Graph

20 Commits

Author SHA1 Message Date
Teriuihi 4af85d0e79 Add option to disable chat filters in private channels
A constructor parameter and corresponding field 'disableInPrivate' have been added to the ChatFilter class. This handles disabling specific chat filters in private channels. The necessary checks have been implemented in RegexManager. The configuration for each filter is also updated in RegexConfig to incorporate this new functionality.
2024-03-31 13:37:05 +02:00
Teriuihi bd8fa02f1e Add 'punish' filter and automatic banning functionality
Extended the RegexManager filterText method to include a 'punish' case that triggers an automatic ban for users who violate the filter. This commit also updates the PluginMessageListener to handle 'punish' commands, thus completing the execution of an auto-ban function.
2024-03-02 19:18:13 +01:00
Len 3bdaa798c3 Continue the loop do not break it. 2022-10-03 19:39:41 +02:00
Len 3888298827 Add Emote to FilterType.java
Add EmoteList command.
2022-09-27 00:02:27 +02:00
Stijn fe64fb3785 Added the string that was filtered to the logs 2022-05-27 17:52:34 +02:00
Teriuihi 23e7c57333 Use exceptions for filters, highlight words that were filtered 2022-02-27 18:29:41 +01:00
destro174 1d5dd7c764 Don't use replacematcher for parsing text on signs 2021-08-20 23:03:58 +02:00
Teriuihi dfcf8de34e Removed Bukkit stuff I missed from the general use API 2021-08-01 03:20:49 +02:00
Teriuihi 604d06b700 Added logging for which filter is triggered 2021-07-31 20:21:50 +02:00
Teriuihi bb71d5787e Added bypass permission for filter (chat.bypass-filter.<filter-name>) 2021-07-30 05:31:37 +02:00
Teriuihi a2aa2d8b94 Hardcoded 3 character limit for repeated characters (should be configurable) 2021-07-28 22:50:58 +02:00
destro174 3f7084eeb7 atleast sql works now! 2021-07-03 20:11:31 +02:00
destro174 5bea7c95f9 idk what i fucked up here all files are new in git? 2021-06-20 22:03:39 +02:00
len a5c23d842d progress 2021-06-13 13:53:49 +02:00
len 198e80aa7a Push progress 2021-06-06 21:32:13 +02:00
len 5d8d7b5dff Add back api and server module 2021-06-02 19:55:55 +02:00
len d8a4490358 merge api into velocity 2021-05-24 10:10:02 +02:00
len 4b79d6909f Refactor 2021-05-22 20:34:32 +02:00
len 8fc9e0c447 Refactor RegexObject to ChatFilter and ChatFilterType 2021-05-20 18:47:22 +02:00
len 4124315bd7 move regexmanager to api 2021-05-20 18:45:26 +02:00