I want to convert names like me?badwords to me?******** or names like one>fword to one>*****
Is this the correct contents of namefilter for me?
Code:
"filters"
{
"censor" "*"
"filter" "[^A-Za-z0-9\s!@#$%^&*()_+=-`~\\\]\[{}|';:/.,?><]" // not sure about this line
"banned"
{
"1" "badword" // whats the purpose of 1?
"2" "fword" // whats the purpose of 2?
}
}
thanks.
Quote:
Originally Posted by ijam_j
I want to convert names like me?badwords to me?******** or names like one>fword to one>*****
Is this the correct contents of namefilter for me?
Code:
"filters"
{
"censor" "*"
"filter" "[^A-Za-z0-9\s!@#$%^&*()_+=-`~\\\]\[{}|';:/.,?><]" // not sure about this line
"banned"
{
"1" "badword" // whats the purpose of 1?
"2" "fword" // whats the purpose of 2?
}
}
thanks.
|
With this, player name are replaced with bad_words. If i put name replacement, it will be replaced with name replacement.
what i want is to replace bad words with *. i dont want to replace with other names. how do i do that?
what is the point of the number before the bad words?
Quote:
Originally Posted by Schpraaankiii
What do I change the filter to if I want the players to be able to use unicode symbols?
|
This. All i want is to filter bad word and replaced bad words with *.
This is what I use to whitelisted UTF8
Code:
"filter" "[^\32-\151]/ ( == /[^!-~]/ )"