Server Configuration

Changing Dynamic Server Configuration Properties


Changes to the ParaChat Server configuration file (...\ParaChat\ParaChat400\config\pchatd.conf), which change the server default configuration, require a reboot of the chat server in order to take effect. However, there are select server configuration options that are more widely used than other default server settings. For convenience, ParaChat includes a method to change these options without requiring a chat server reboot since a reboot will sever all connections to the chat server. Through the addition of configuration entries to a simple text file called "dynamic.conf" (...\ParaChat\ParaChat400\config\dynamic.conf), dynamic chat server configurations can be entered to overwrite the server configuration file.

By default, the dynamic.conf file is an empty file. When you first open the dynamic.conf file (in your text editor), you will see:

    # ParaChat Server dynamic properties.

A list of the server configuration options that can be added to the dynamic.conf file is below:

    pchatd.maxperchan
    pchatd.max_idle_time
    pchatd.ip_suppression
    pchatd.enforce_url
    pchatd.motdlines
    pchatd.motd1
    pchatd.profanityfilter
    pchatd.DefaultTopic
    pchatd.SitePromotion

For allowed values, please see the the table below.

For example, if you wanted to change the server-wide URL enforcement level from "warn" to "deny", the IP address suppression level from "class c" to "suppress", and set the default number of users per chat room as 50 users, for all chat rooms on the chat server, you would make the following additions to the dynamic.conf file:

    # ParaChat Server dynamic properties.
    pchatd.enforce_url=deny
    pchatd.ip_suppression=suppress
    pchatd.maxperchan=50

Save your edits. As a precaution, changes to the dynamic.conf file do not take effect immediately. They take effect only after they are loaded. To load changes made to the dynamic.conf file, log into your ParaChat Server Admin Pages with your server admin name and password. At the Main Menu, under "Chat Server Administration," click the "Load Dynamic Properties" link. A confirmation will display when the dynamic properties have loaded.



Feature
Configuration parameter
Defaults / Values / Examples
Maximum number of users per room. (Can be set on a per-room basis.) pchatd.maxperchan Default:

25 users per room

Example:

pchatd.maxperchan=100

Maximum idle time (in seconds) before user is disconnected. (Can be set on a per-user level.) pchatd.max_idle_time Default:

10*60=600 (i.e 10 minutes)

Example:

pchatd.max_idle_time=1000

The IP suppression mode for the users of the chat room. (Room administrator can always see the entire IP address.) pchatd.ip_suppression Values:

pchatd.ip_suppression=classc
shows the classc, not the full IP address

pchatd.ip_suppression=suppress
suppresses the entire IP address

pchatd.ip_suppression=show
shows the entire IP address

Action taken if URL of entering Web page does not match the creator URL in the room configuration file. (Can be set on a per-room basis.) pchatd.enforce_url Values:

pchatd.enforce_url=warn
Issues warning message but allows entry to room.

pchatd.enforce_url=allow
Allows any URL without warning.

pchatd.enforce_url=deny
Denies entry to room if URL does not match creator URL.

Number of lines in the Message of the Day (message received when a user logs in to a room) pchatd.motdlines Example:

pchatd.motdlines=2

Message line in Message of the Day pchatd.motdN where N is 1.<message of the day> Example:

pchatd.motd1=Welcome to the Just Talk chat server

pchatd.motd2=Please email support@justtalk.com for help.

Profanity Filter pchatd.profanityfilter Example:

pchatd.profanityfilter=true
pchatd.profanityfilter=false

Sets the default topic of newly created rooms pchatd.DefaultTopic Example:

pchatd.DefaultTopic=Welcome to my chat room!

Display information after copyright when a user logs in pchatd.SitePromotion Example:

pchatd.SitePromotion=Welcome to ParaChat Network

Home | Hosting | Server | Features | Samples | Chat Now | Web Tools | Help | Affiliate

©1996 - 2002   M Square, Inc. |  Privacy Policy