Page 1 of 1

Accessing chat server side

Posted: 05 Mar 2012, 11:04
by Eldido
Hi,

Maybe i'm missing out something obvious but I'm wondering : is there a simple way to have access to chat server side. I'm asking because I would like to log chat sessions along with some data about games for statistic and moderation purposes.

thanks

Re: Accessing chat server side

Posted: 05 Mar 2012, 23:16
by rjgtav
Hi.
Well, you can listen to the PUBLIC_MESSAGE and PRIVATE_MESSAGE events that are fired at the Zone-Level.
In those events, one of the parameters is the SFSEventParam.MESSAGE, which contains the message that was sent. You can use it for logging purposes.

For more information, please check the SFSEventType documentation.

Re: Accessing chat server side

Posted: 06 Mar 2012, 09:27
by Eldido
great !

thank you very much Rjgtav !