Commit Graph

13 Commits

Author SHA1 Message Date
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
da43e4aabd Add .luacheckrc 2017-11-05 12:00:27 -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
sofar
a51bd8e935
Create LICENSE (#1) 2017-11-04 21:44:22 -07:00
Auke Kok
43e280ac8a Add readme.md 2017-11-04 21:42:25 -07:00
Auke Kok
a2fe89117e Initial commit. 2017-11-04 21:37:49 -07:00