• Examples (iOS)
• Examples (Java/Android)
• Examples (C++)
Server API Documentation

 

» The Administration Tool

The Administration Tool, also referred to as AdminTool in this documentation, is a powerful web application for SmartFoxServer 2X remote monitoring and management. Its main features are:

The following paragraphs offer an overview on the AdminTool's user interface. The available administration modules are described in dedicated pages listed here.

» The connection screen

The connection screen is the first screen you will be presented after launching the AdminTool.

Connection panel

The form allows the administrator to enter the connection details directly and access the server administration by pressing the Connect button:

The provided connection details are validated against the settings entered in the Remote Admin tab of the Server Configurator module to allow or deny the access to the user.

ENCRYPTION
Communication between the AdminTool's client and the SFS2X instance can be encrypted by activating the Encrypt switch in the connection screen. This also changes the port to the default WebSocket Secure (WSS) one.
Enabling encryption requires SFS2X to be previously configured as described in the Protocol Cryptography document; additionally you have to enable AdminTool's encryption in the Remote Admin tab mentioned above.

If the Remember me switch is enabled, the connection details (except the password) are saved and the form is filled in automatically the next time the AdminTool is opened.

» The AdminTool's main interface

The following images show the main user interface of the AdminTool, in desktop and mobile mode.

AdminTool interface (desktop)

AdminTool interface (mobile)AdminTool interface (mobile)

The main area of the interface is where the administration modules are loaded (cropped and faded in the images). The other relevant interface elements are:

  1. The title bar shows the server's host and port number and the current module's name; if a custom name is assigned to the SFS2X instance (see the Server Configurator module), it is displayed in the title bar too.
  2. This is where the AdminTool shows the version of the SFS2X instance to which it is connected. A notification bell in this area aindicates that a new version of SmartFoxServer is available (see below).
  3. The Restart (orange) and Halt (red) buttons respectively stop the server and stop&restart it; of course this causes an immediate disconnection of the administrator [please read the notes in the box below].
  4. The Help button opens the current module's documentation in a new browser window.
  5. The Logout button closes the current connection to SFS2X and switches the view back to the connection screen.
  6. The main portion of the header (desktop) or menu (mobile) contains the icons of the administration modules described previously, displayed as tabs (desktop) or big buttons (mobile). Click/tap one to load the corresponding module. A tooltip also shows the module's name and a brief description.
    Please note that the AdminTool "remembers" the last opened module and will load it automatically the next time it is launched.

IMPORTANT NOTES ON HALT AND RESTART FUNCTIONS

1) Supported operating systems: Windows, Linux, OSX.

2) When SFS2X is restarted using the AdminTool, a new process is created, which is not detected by the command line tool. This means that you can either control the server via command line or via AdminTool, but you can't mix the two.

3) During the restart process, some exceptions may be logged: this is normal and those exceptions are harmless, in fact you will be able to access your SFS2X instance using the AdminTool in a few seconds.

» Server updates

The AdminTool provides a basic server version check system. It automatically checks if a new version of SFS2X is available on the website as a full installer or a patch. In case it is found, the version number in the header (see B above) is turned into a button: a click/tap opens a panel showing the update details and a button to go to the download page (no automatic installation is provided).

Server update popup

 

« Back to AdminTool's table of contents