3.5 Administrator Tool: Runtime extensions management.

If you're using SmartFoxServer PRO you will be able to manage your server side extensions at runtime using the Administrator Tool.

You will be able to:

» Remotely debug the extensions using the Trace window
» Enable / Disable extensions
» Reload server side extensions that have been modified

All these operations can be done without the need of restarting the server.

» Changing the current View:

Using the Zone Browser you will be able to switch from the Default View to the Extension View by clicking the combo-box at the top of the screen (see the orange arrow in the picture above).
The Extensions View will show you all the running extensions for the current selection in the tree on the left side. In other words, once you have selected a Room or a Zone you can switch view and check all the extensions that are running inside it.

The Trace Window will show the trace messages coming from the extensions running in the selected area (Zone or Room). All messages are kept in a queue so you won't miss any of them, even if you're using another panel of the Admin Tool. The remote trace feature can also be globally disabled from the main configuration file.

» Disabling / Enabling extensions:

At any time you can disable or enable an extension linked to a Zone or Room. When an extension is deactivated it will stop responding to any requests and it won't handle any internal server event. Also all it's threads (setIntervals) will be paused.

» Reloading extensions:

While developing your custom extensions you will be probably testing them many times. Because of this you may need to reload the extension in order to see the new changes in action. Just select the name of the extension to reload and hit the "RELOAD" button.
Extensions are always compiled before they are available in the server: if a compile error occurs, the extension will not be running and an error will be logged in the server console and file logs. Just check the error message, fix the problem, and finally reload it from the Admin Tool.

» Loading new extensions at runtime:

With SmartFoxServer PRO the Zone-Reload command will also load all new extensions found in the config file at runtime, without the need of restarting the server.


doc index