Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -------------------------------------------------------------------------------
- # This is the very first implementation of ChatControl's
- # new custom rule engine codenamed ChatCeaser By Kangarko
- #
- # Accepts following operators (without <>)
- # match <regex> (A valid regular expression string to match the message.)
- # id <number/string> (Assign an id/name to the rule. Used in messages and handlers.)
- # ignore string <string/regex> (If the message matches given string it will be ignored.)
- # ignore event <chat/commands/signs> (If the rule triggers on specified event it will be ignored.)
- # ignore perm <permission> (A permission to bypass the rule.)
- # ignore gamemode <survival/creative/adventure/spectator/0/1/2/3> (Gamemodes to be ignored. Separate by | to add multiple gamemodes.)
- # before strip <regex> (A valid regular expression used to strip specified characters before the message is checked.)
- # before replace <regex> with <message> (A regular expression used to replace characters with other characters before the message is checked.)
- # then replace <replacement|replacement2> (A string that replaces only the part of the checked message that matches the match.)
- # (Chosen randomly from the messages divided by |)
- # then rewrite <message|message2> (A message that replaces the entire checked message.)
- # (Chosen randomly from the messages divided by |)
- # then deny (Cancel the player's message from appearing in the chat.)
- # then console <command|command2|command3> (A commands to execute as the console. Use %player to get player name. Divide multiple commands by |)
- # then warn <message> (A message that is displayed to the player.)
- # then kick <optionalResaon> (If set, the player will be kicked with optional message.)
- # then notify <permission> <message> (Send a message to all players with specified permission.)
- # then fine <amount> (If plugin Vault is installed - take specified amount of money from the player.)
- # then log (Caught message will be printed in console and saved in rules_log.txt)
- # handle as <handler_name> (Launch actions specified in handlers.yml)
- #
- # Valid variables:
- # %player (The name of the player. Without prefix and suffix.)
- # %world (The name of the player's world.)
- #
- # Supports color codes with '&' character.
- # Accepts unicode characters when saved in UTF-8 encoding (tested on Notepad++).
- # -------------------------------------------------------------------------------
- # IP filter. Notice the operator strip which removes specified characters BEFORE the message is checked.
- match \b[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}\b
- id 1
- before strip [\(\[\]\)]
- handle as advertisement
- # You can add new domains by inserting |your_domain after |me (e.g. |me|io for also blocking .io domains)
- match [a-zA-Z0-9\-\.]+\s?(\.|dot|\(dot\)|-|;|:|,)\s?(com|org|net|cz|co|uk|sk|biz|mobi|xxx|eu|me)\b
- # If you want to whitelist your server, it is only necessarry to add it once in format:
- # website.domain (example: procraft.com)
- # To add more domains simply add them after the last one and divide by |
- ignore string youtube.com|imgur.com
- id 2
- before strip [\(\[\]\)]
- handle as advertisement
- # This filter will effectively match f words, also with characters in between like: f.u.c.k or f_uc--k
- # If you are not familiar with regular expressions,
- # see https://cloud.githubusercontent.com/assets/1918426/8696045/85d005ae-2ae9-11e5-9c5f-d4d07768b4ca.PNG
- match \b(f+(\W|\d|_)*(u|O|0)+(\W|\d|_)*c+(\W|\d|_)*k+(\W|\d|_)*)
- id 3
- then warn Watch your language please.
- then replace ****
- match \b(a|4|e)(s|5|z)(s|5|z)\b|\b(a|4|e)(s|5|z)(s|5|Z)h(o|0)(l|1|!)(e|3)
- id 4
- then warn Watch your language please.
- then replace ****
- match b(i|!)tch
- id 5
- then warn Watch your language please.
- then replace ****
- match g(a|e|3)y
- id 6
- then warn Watch your language please.
- then replace ****
- match (s|5|z)h(i|1|!|e)t
- id 7
- then warn Watch your language please.
- then replace ****
- match g(a|e|3)y(s|5|z)
- id 8
- then warn Watch your language please.
- then replace ****
- match (s|5|z)h(i|1|!|e)(i|1|!|e)t
- id 9
- then warn Watch your language please.
- then replace ****
- match b(i|!)tch(z|2|s|5)
- id 10
- then warn Watch your language please.
- then replace ****
- match b(i|!)(a|e)tch(z|2|s|5)
- id 11
- then warn Watch your language please.
- then replace ****
- match b(i|!)(a|e)tch
- id 12
- then warn Watch your language please.
- then replace ****
- match f(a|4|e)g
- id 13
- then warn Watch your language please.
- then replace ****
- match f(a|4|e)g(z|s|5)
- id 14
- then warn Watch your language please.
- then replace ****
- match f(a|4|e)gg(o|0|e)t
- id 15
- then warn Watch your language please.
- then replace ****
- match f(a|4|e)gg(o|0|e)t(z|s|5)
- id 16
- then warn Watch your language please.
- then replace ****
- match c(u|o|0)m
- id 17
- then warn Watch your language please.
- then replace ****
- match c(u|o|0)mm(i|!|1)ng
- id 18
- then warn Watch your language please.
- then replace ****
- match c(u|o|0)m(i|!|1)ng
- id 19
- then warn Watch your language please.
- then replace ****
- match \b(s|5|z)(e|3)x\b
- id 20
- then warn Watch your language please.
- then replace ****
- match p(e|3)n(1|!|i)(s|5|z)
- id 21
- then warn Watch your language please.
- then replace ****
- match v(a|4)g(i|1|!)n(a|4)
- id 22
- then warn Watch your language please.
- then replace ****
- match p(e|3)n(1|!|i)(s|5|z)(e|3)(s|5|z)
- id 23
- then warn Watch your language please.
- then replace ****
- match v(a|4)g(i|1|!)n(a|4)(5|s|z)
- id 24
- then warn Watch your language please.
- then replace ****
- match p(u|0|o)(5|s|z)(5|s|z)(y|e|i|1|!)
- id 25
- then warn Watch your language please.
- then replace ****
- match p(u|0|o)(5|s|z)(5|s|z)(y|e|i|1|!)(e|3)(5|s|z)
- id 26
- then warn Watch your language please.
- then replace ****
- match tw(a|4)t
- id 27
- then warn Watch your language please.
- then replace ****
- match (s|5|z)c(u|0|o)m
- id 28
- then warn Watch your language please.
- then replace ****
- match (s|5|z)c(u|0|o)m(b|8)(4|a)g
- id 29
- then warn Watch your language please.
- then replace ****
- match d(!|1|i)ck
- id 30
- then warn Watch your language please.
- then replace ****
- match d(!|1|i)ck(s|5|z)
- id 31
- then warn Watch your language please.
- then replace ****
- match (b|8)(0|o|u)(0|o|u)(8|b)
- id 32
- then warn Watch your language please.
- then replace ****
- match (b|8)(0|o|u)(0|o|u)(8|b)(i|1|!)(e|3)(s|5|z)
- id 33
- then warn Watch your language please.
- then replace ****
- match t(1|i|!)t
- id 34
- then warn Watch your language please.
- then replace ****
- match t(1|i|!)t(s|5|z)
- id 35
- then warn Watch your language please.
- then replace ****
- match f(u|o|0)ck(e|3)r
- id 36
- then warn Watch your language please.
- then replace ****
- match f(u|o|0)ck(i|1|!)ng
- id 37
- then warn Watch your language please.
- then replace ****
- match m(o|0|u)th(e|3)rf(u|o|0)ck(e|3)r
- id 38
- then warn Watch your language please.
- then replace ****
- match d(1|!|i)ld(o|0|u)
- id 39
- then warn Watch your language please.
- then replace ****
- match cr(a|4)p
- id 40
- then warn Watch your language please.
- then replace ****
- match
- id 41
- then warn Watch your language please.
- then replace ****
- match j(e|3)rk(i|1|!)ng
- id 42
- then warn Watch your language please.
- then replace ****
- match f(4|a)p
- id 43
- then warn Watch your language please.
- then replace ****
- match f(4|a)pp(i|1|!)ng
- id 44
- then warn Watch your language please.
- then replace ****
- match (4|a)r(5|s|z)(3|e)
- id 45
- then warn Watch your language please.
- then replace ****
- match (4|a)r(5|s|z)(3|e)h(o|0|u)l(3|e)
- id 46
- then warn Watch your language please.
- then replace ****
- match c(o|0|u)ck
- id 47
- then warn Watch your language please.
- then replace ****
- match (b|8)(a|4)(s|5|z)t(4|a)rd
- id 48
- then warn Watch your language please.
- then replace ****
- match (b|8)l(o|0|u)wj(o|0|u)(8|b)
- id 49
- then warn Watch your language please.
- then replace ****
- match (b|8)(o|0|u)n(3|e)r
- id 50
- then warn Watch your language please.
- then replace ****
- match (b|8)(u|0|o)ll(5|s|z)(i|1|!)t
- id 51
- then warn Watch your language please.
- then replace ****
- match (b|8)(u|0|o)ttf(u|o|0)ck
- id 52
- then warn Watch your language please.
- then replace ****
- match c(u|0|o)nt
- id 53
- then warn Watch your language please.
- then replace ****
- match d(i|1|!)p(s|5|z)h(i|1|!)t
- id 54
- then warn Watch your language please.
- then replace ****
- match h(a|4)ndj(o|u|0)b
- id 55
- then warn Watch your language please.
- then replace ****
- match j(i|1|!)(z|s|5)(z|s|5)
- id 56
- then warn Watch your language please.
- then replace ****
- match n(i|1|!)(g|q)(g|q)(a|4)
- id 57
- then warn Watch your language please.
- then replace ****
- match n(i|1|!)(g|q)(g|q)(a|4)(s|5|z)
- id 58
- then warn Watch your language please.
- then replace ****
- match n(i|1|!)(g|q)(g|q)(e|3)r
- id 59
- then warn Watch your language please.
- then replace ****
- match n(i|1|!)(g|q)(g|q)(e|3)r(s|5|z)
- id 60
- then warn Watch your language please.
- then replace ****
- match n(e|1|!|i)(g|q)r(o|0|u)
- id 61
- then warn Watch your language please.
- then replace ****
- match pr(i|1|!)ck
- id 62
- then warn Watch your language please.
- then replace ****
- match wh(o|0|u)r(3|e)
- id 63
- then warn Watch your language please.
- then replace ****
- match h(o|0|u)(3|e)
- id 64
- then warn Watch your language please.
- then replace ****
- # Swastika
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement