Commit Graph

19 Commits

Author SHA1 Message Date
Aleksandr Avdeev
3dd2c91bdc fix - change ":" by "." in utf8 lower 2024-11-12 10:35:55 +03:00
f9492100a4
fix lower_case transformation 2024-11-10 23:12:58 +05:00
Aleksandr Avdeev
00c7af74f9 Заменить требуемую привилегию на mute 2024-11-07 16:59:29 +03:00
Aleksandr Avdeev
ea579e8a59 Добавить внешнюю библиотеку для работы с киррилицей по регулярам 2024-11-07 16:53:35 +03:00
Aleksandr Avdeev
204550756b Заменить поиск регулярного выражения поиском слова в сообщении 2024-11-07 14:03:53 +03:00
Aleksandr Avdeev
cdb823bd25 Добавить русификацию 2024-11-07 13:59:13 +03:00
Auke Kok
869cbb0d61 Update a local. 2023-02-14 11:22:44 -08:00
Auke Kok
a0a22bc69e Avoid dependency on default - causes potential crash. 2023-02-14 11:21:31 -08:00
Anand S
a820ae6503 Priv-check before unmuting 2018-04-25 20:04:39 -07:00
rubenwardy
99100857af Fix conflict with chat commands 2018-02-05 23:03:19 -08:00
rubenwardy
9422add415 Add support for the email mod 2018-02-05 23:03:19 -08:00
rubenwardy
a240c39a64 Fix loss of shout privilege if server shuts down during mute 2018-02-05 23:03:19 -08:00
rubenwardy
dae7d9939e Add on_violation callback 2018-02-05 23:03:19 -08:00
rubenwardy
1c7f9bf23a Add warning formspec on first violation 2018-02-05 23:03:19 -08:00
rubenwardy
1af799f905 Add filter.mute 2018-02-05 23:03:19 -08:00
Andrew Ward
fea7973687 Add kick above certain number of violations (#2)
Keep track of muted players, prevents players without shout being shown wrong message
Add kick after 3 mutes in 5 minutes (ish)
Split chat message callback in to functions, this would allow other mods to use the functions to check for spam and write their own violation mechanisms (although I'd like to add a callback)
Add word count to chat command
Add support for words.txt file in mod, to avoid having to manually enter loads of items. In future support for reading from world files using /filter import words.txt could be added.
Make filter case insensitive
Add gitignore
2018-02-02 09:07:41 -08:00
Auke Kok
73b95e514d Omit not needed priv check. 2017-11-05 12:00:08 -08:00
Auke Kok
9d132c8e1b Don't look inside words. 2017-11-05 11:57:53 -08:00
Auke Kok
a2fe89117e Initial commit. 2017-11-04 21:37:49 -07:00