Misc: Move shared stuff to shared git.

This commit is contained in:
zaCade
2018-12-08 21:12:39 +01:00
parent d4378f6476
commit 8cdcb01100
97 changed files with 25215 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
"filters"
{
// this is what the filtered characters are replaced by, do "" to just remove them
"censor" ""
// regex expression for filtering, matches are replaced by the censor, here we are using a whitelist - this would strip unicode characters
"filter" "[^A-Za-z0-9\s!@#$%^&*()-_+=-`~\\\]\[{}|';:/.,?><]"
// series of regex expressions for names POST FILTER, matches will get replacement names
"banned"
{
"1" "[Aa4]+[Dd]+[Mm]+[IiL1]+[nN]+"
"2" "@((!?)me|(c?)t(s?)|(!?)admins|(!?)friends|random((c?)t?)|humans|spec|alive|dead|aim|bots)"
}
// replacement names, granted by banned filter, or if the name is too short (<2)
"names"
{
"1" "BAD_NAME"
}
}