Connections 2.1

Category / Domain : Administration
SCOL Voy@ger Compatibility : V 3.5 and up
Update : 04/1999

Function

The Connections module lets the clients see in real time the total of clients currently connected to the site.

Configuration


Figure 1 : Editor interface of the Connections module.

(1) : Count yourself in the number of connected => A client looking at the number of connected people will get the total of all connected people (including himself) or only the total of other people (thus excluding himself).

Implementation

Open the Creation Tree of the SCS, select the Admin file, then double-click on Connections 2.1. Click on OK to validate the Editor's options.
Then implement all links that are necessary to the project.

Action Function
module.event à Connections.start Starts the module on the client.
module.event à Connections.register Registers the client in the CONNECTIONS module.
If the link is set from the shell (shell.in ->), then the client is counted as soon as he connects to the site.
If the link is set from the C3D3 (C3D3.in -> ), then the client is counted when he enters the 3D.
module.event à connections.unregister Unregisters the client from the CONNECTIONS module. The client is no more taken into account by the module.
module.event à Connections.show Displays the number of registered connected clients.
module.event à Connections.kill Kills the module on the server.
module.event à Connections.hide Hides the number of registered connected clients.
module.event à Connections.destroy Destroys the module by the client.

Event Function
Connections.entering à module Action Starting a client ('start' action) generates this event.
Connections.change à module Action When the number of registered connected clients changes, this event is generated.
Connections.shown à module Action Once the interface is displayed by the client, this event is generated.
Connections.hidden à module Action Hidding the interface by the client generates this event.
Connections.in à module Action Once the module is started by the client, this event is generated.
Connections.destroyed à module Action The destruction of the module by the client generates this event.

Zone Function Interface Affectation
Connections.number Zone used to display the number of connected clients Client No