Custom banned words list !

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
faisal007
Posts: 37
Joined: 27 Sep 2016, 09:01

Custom banned words list !

Postby faisal007 » 22 Mar 2017, 07:55

Hello,

We have a custom banned words list on PHP end and admin can update this list in PHP admin panel. How can we implement this list in smartfoxserver so that chat messages will be filtered out according to that list ?

Thanks.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Custom banned words list !

Postby Lapo » 22 Mar 2017, 08:50

Hi,
the list of bad words in SFS2X is maintained in a plain text filed, found under SFS2X/config/wordFile.txt

If the php tool is running on the same machine where SFS2X runs, you could access the file and write data to it.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 124 guests