mirror of
https://github.com/minetest-mods/filter.git
synced 2025-03-15 04:11:26 +00:00
Add readme.md
This commit is contained in:
parent
a2fe89117e
commit
43e280ac8a
1 changed files with 21 additions and 0 deletions
21
readme.md
Normal file
21
readme.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
## filter mod
|
||||
|
||||
This mod adds a simple chat filter. There is no default word list,
|
||||
and adding words to the filter list is done through the `/filter`
|
||||
chat command. You need the `server` priv to use the chat command.
|
||||
|
||||
The `/filter` chat command can `add`, `remove` or `list` words. The
|
||||
words are stored in `mod_storage`, which means that this mod requires
|
||||
0.4.16 or above to function.
|
||||
|
||||
If a player speaks a word that is listed in the filter list, they are
|
||||
muted for 1 minute. After that, their `shout` privilege is restored.
|
||||
If they leave, their `shout` privilege is still restored, but only after
|
||||
the time expires, not before.
|
||||
|
||||
## Bugs
|
||||
|
||||
- the `shout` priv is permanently lost if the server shuts down while
|
||||
a player is muted.
|
||||
|
Loading…
Add table
Reference in a new issue