To modify the server configuration stop the server ( if running ), edit
the configuration files , change it and start the server
again.
confserv.txt
sysadminpassword operatorpassword1
-
5 port logfile logip host ip userlimit database URL USER PASSWORD DRIVER
Syntax:sysadminpassword = pass The System Administartor
password for all rooms on the chat server Syntax: operatorpassword1 = pass The operators passwords
from 1 to 5 - for all rooms Syntax: port = nummber The port the server listens to. If you
modify it, you *must* also change the port parameter
in the applet invocation page. Syntax: logfile = server.log The name of your server
log file Syntax:logip = false If you want to log the IP
from your user true/false. For true you must
heve DNS services on your server Syntax: host = your.host.name Hostname on which
the server will be started Syntax: ip = x.x.x.x The IP on which the server will
be started Syntax: userlimit = (1-65000) You can set user limit
(1-65000) - not for free version Syntax: database = yes/no Only for autoconnect with
Database and registration module. This is if you want that the chat server
check the user and password again yes or
no
This example configuration is for MySQL with JDBC from Mark
Matthews
Syntax: URL =
jdbc:mysql://localhost:3306/okchat The JDBC url to your MySQL database Syntax: USER = user_okchat The user for your MySQL
database Syntax: PASSWORD = pass_okchat The password for your
MySQL database Syntax: DRIVER = org.gjt.mm.mysql.Driver
* * the free JDBC
driver for MySQL from Mark Matthews confwelcome.txt
|142|142|142|Welcome to okChat !
Syntax:
|Red|Green|Blue|Message Put there your Welcome message confroom.txt
In this file are your Default Rooms, each on separate line. After you
start your own chat server you will have this
rooms. Syntax: Room1 Room2 Room3 ...........