The mod supports the following actions on players who violate a rule:
- Warning formspec - informs the user that bad language is not permitted (first violation in rolling period)
- Mute for a minute (on second or third violation)
- Kick player (on fourth violation)
Optional Dependencies: rules, email
Authors: rubenwardy, sofar
Project URL: https://github.com/minetest-mods/filter
Latest release: https://github.com/minetest-mods/filter ... master.zip
Chat commands
Code: Select all
/filter add <word> -- add word to the word list
/filter remove <word> -- remove a word from the word list
/filter list -- list the words stored.
Filling the word list for the first time can be done by placing a words.txt file into the mod's folder. An example of such a words.txt can be found here: https://gist.github.com/rubenwardy/055a ... c54a7322e5
API
The filter mod exports a simple API that allows other mods to receive notifications of events related to the filter mod, or use the muting functionality of the filter mod. For a fill list, check out the readme file in the filter mod:
https://github.com/minetest-mods/filter ... /readme.md