List of MyChat Server script events

List of MyChat Server script events

"For developers", "Server scripts", "Script events".

 

You can set several of your handlers to each MyChat Server event.

 

Event handlers can be enabled/disabled by checkboxes next to their names in the tree-like event list.

 

Each script name is unique. Scripts calls are recorded so that you can view their execution history in the server log.

 

OnBBSMessage

place a message on the common announcement board;

OnBeforeRegister

registration attempt of a new user on the server;

OnBroadcastMessage

notification sending event;

OnClientConnect

event for client connection to the server (before authorization);

OnClientDisconnect

disconnect the client from the server;

OnClientPluginSendRawData

event for receiving a RAW-message from one MyChat Client plugin to another;

OnClientRemoteExec

request for running a server script from MyChat Client;

OnConfJoin

user attempt to enter the text conference;

OnConfKick

kicking a user from a text conference;

OnConfLeave

user attempt to exit the conference;

OnConfMessage

event for sending a message to the text conference;

OnMediaCallFinished

media call end;

OnMediaCallRequest

attempting to make a call (voice, video, screen sharing);

OnMediaCallStarted

media call start;

OnPrivateMessage

receiving the private message from one user to another;

OnPrivateRequest

request to open the session of private communication one on one;

OnRegistered

successful registration of a new user;

OnRemoteUserRequest

remote request of the server script from MyChat Client over the network;

OnRequestByREST

processing the REST request (POST or GET);

OnUserBlock

event for automatic blocking of a user;

OnUserLogin

event for user authorization on the server.