This function disconnects the user from the XML Socket MUltiuser Server – eClever prohibiting him to connect again from the same IP address. The function can only be used by those connected as administrators.
If XML Socket Multiuser Server – eClever is restarted the function adminBan loses its functionality. If you want to prevent somebody from connecting definitively you have to put their IP number in the section black-list of eClever.config.
Attribute
Meaning
sendTo
Name of the client that we want to disconnect from the XML Socket Multiuser Server - eClever.
data
In the section data we can send a message to the disconnected client explaining why we had done so.
XML message of the server to other clients
<protocol>
<received action="adminBan" sentFrom="admin">
<data>message</data>
</received>
</protocol>
<protocol>
<received action="disconnect" sentFrom="test3"/>
</protocol>
Attribute
Meaning
sentFrom
Name of the client that sent the message.
data
In this section the informations, that are sent by the admin, are included.