JIRChatServer v.1.0 (c)NetFactory (DEMO).
System Requirements.
For operation of the server the presence of JRE package of version 1.2.0. and more/higher is necessary (it is possible to download from the server java.sun.com for OC Windows, Linux, Solaris).
Start of the server.
For start of the server type the following command:
java cp JIRChatServer.jar JIRChatServer.ChatServer
The configuration file config.xml is used by default. At incorrect filling of configuration file the values of missing fields will be loaded from config.xml file.
The server is started in the cantilever window in which output of the information of operation of the server and input of commands from a console is carried out.
Commands of the server.
Cantilever commands of handle of the server.
- help
or ?: outputs the list of accessible commands of the server;
- qui [on | off |]:
switches on/switches off a graphic interface of the server;
- exit:
stops the server and quits the program;
- log [on | off |]:
switches on/ switches off mapping of the debug information on the screen;
- save [the name_of the file]:
saves current configuration in the file (the current configuration file is used by default);
- set [the name_of the variable] = [value]:
installs values for variables of the server, at start without parameters outputs current values;
- shutdown:
stops the server, but does not quit the program;
- startup [the name_of the file]:
loads the configuration file and starts the server (the current configuration file is used by default).
Variables of the server.
- max-channels: maximum possible number of channels on the server;
- max-log:
maximum possible number of lines of the log displayed in the window of the interface;
- max-users-on-channel:
maximum possible number of users on the channel;
- max-users-on-server:
maximum possible number of users on the server;
- max-channels-for-user:
maximum possible number of channels in which the user can enter;
- max-operators-for-user:
maximum possible number of channels in which the user can be the operator.
- autosave:
autosave of the debug information in the file (the file-name is indicated in the configuration file, installed value of logical type true | false);
- write-log:
mapping of the debug information on the screen (installed value of logical type true | false);
- show-qui:
a graphic interface of the server (installed value of logical type true | false);
Note: The amount of channels and users in free version of JIRChat 1.0 is constant and limited.
http://www.ircjavachat.com