Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #EXTRACHAT'S EXAMPLE:
- {
- "regex": "n[^a]gg+(a|er|uh)", //A regex filter or a word
- "action":{
- "type": "KICK", //The action type as shown below
- "cancel": "true", //To make not to show in chat
- "alert": "%PLAYER% has been kicked for racism.", // The alert shown to the rest of the players, remove it to don't alert players
- "kick": "You have been kicked for racism." //The kick message that will show to a player
- }
- },
- #----------------
- #HOW TO USE MULTI-LINE REGEX? (EXAMPLE FROM MY BUNGEECHATFILTER CONFIG-YML) ->
- swearfilter1:
- regex:
- #cunt
- - (?i)(\bcunt\b
- #fuck
- - f+[^A-Za-z0-9\u00C0-\u00FF]*(u|ü|Ü|û|Û|ú|Ú|ù|Ù|å|Å|\*)+[^A-Za-z0-9\u00C0-\u00FF]*((c+[^A-Za-z0-9\u00C0-\u00FF]*k+[^A-Za-z0-9\u00C0-\u00FF]*)|(k+[^A-Za-z0-9\u00C0-\u00FF]*k+[^A-Za-z0-9\u00C0-\u00FF]*))
- #whore
- - \bwhore)
- actions:
- replace:
- - '***'
- ccommand: gtempmute {player} 3m Don't swear.
- kick: '&cKicked for swearing. Muted for 3 minutes.'
Advertisement
Add Comment
Please, Sign In to add comment