Appearance
Chat filter
The proxy filters the chat of the players: the curse words are caught and the advertisements are blocked.
yaml
chat-filter:
enabled: true
curse-words: []
block-advertising: trueThe configuration
| Key | Default | What it does |
|---|---|---|
chat-filter.enabled | true | The filter runs at all. When it is off, every message goes through untouched. |
chat-filter.curse-words | [] | The words that are not allowed. |
chat-filter.block-advertising | true | Blocks the messages that look like an advertisement. |
The curse words
Leave curse-words empty and the plugin uses its own list:
niger, niga, neger, fagot, kanker, shit, fuck, damn, bitch, cunt, whore,
asshole, bastard, cock, dick, piss, pussy, vagina, retard, spastic, fag, naziFill the list and your list is used instead — the built-in one is not added to it.
The filter is not a plain word search. It understands the ways people write around a word:
- Numbers for letters.
4is ana,3is ane,@is ana,$is ans,|is anl. - Accents.
à,á,äandåare all ana;éandëare ane. - Gaps. A letter may be followed by anything:
s.h.i.tis caught as well.
So f.u.c.k, fück and f.u.c.k all fall under the same word.
The advertisements
With block-advertising on, a message is caught when it holds:
- an IPv4 address, for example
192.168.1.1; - a link, for example
example.com,www.example.comorhttps://example.com/page.
The check is on the shape of the text, not on a list of domains — so a link to a site that nobody has heard of is caught as well.
What a player sees
The message is not blocked. The offending text is replaced by the same number of # characters, and the message goes out as it is. The player who wrote it is never told that anything happened.
Where the filter runs
| Where | Filtered? |
|---|---|
| The global chat | yes |
A private message (/message, /reply, the message channel) | yes |
The party chat (/pchat, /party chat) | no |
The staff chat (/staffchat, the staff channel) | no |
| Everything on a backend server | no — the filter only runs on the proxy |
What the staff sees
When a message is caught, the staff are told about it:
- in game, through the staff chat;
- on Discord, in the
reportschannel — but only for the global chat. A private message that the filter caught stays between the staff.
The message that is shown to the staff is the original one — with the word still in it — so that they can judge it.
TIP
A message that holds a link or an address counts as bad language too: it brings the same warning for the staff and the same report on Discord, even though no word was wrong.
TIP
There is no permission that switches the filter off for a player. The filter is on or off for the whole network, with chat-filter.enabled.
TIP
The filter does not hold anybody back from playing. It is a filter on the words, not a punishment. A player who keeps doing it is a player for /report or for /mute.