Server Configuration

Changing Dynamic Server Configuration Properties


Changes to the ParaChat Server configuration file (...\ParaChat\ParaChat450\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\ParaChat450\config\dynamic.conf), dynamic chat server configurations can be entered to overwrite the server configuration file.

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


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 Allowed 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 Allowed 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 Allowed Values:
true or 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
Enable super admin users to see hidden rooms
pchatd.superuser.ShowHiddenRoom
Default:
false

Allowed Values:
true or false

Max length of room name.
pchatd.RoomNameMaxLength
Allowed Values:
integer

Admin created rooms that will display on top of other user created rooms.
pchatd.SiteRooms
Allowed Values:
A list of room names separated by a space.
Enable a timestamp in every message in the transcript. A room may override this setting.
pchatd.transcripts.Timestamp
Default:
false

Allowed Values:
true or false

Enable logging private chat
pchatd.transcripts.LogPrivate
Default:
false

Allowed Values:
true or false

Max users in a new Group created. This can be overridden in the group profile.
pchatd.group.MaxUsers
Default:
100

Allowed Values:
integer

The max number of active questions in a moderated room. This can be set per room.
pchatd.moderation.MaxQuestions
Default:
15000

Allowed Values:
integer

When the number of questions reaches this number, server will start cleaning up deleted questions. This number should be smaller than pchatd.moderation.MaxQuestions
pchatd.moderation.CleanupMax
Default:
14000

Allowed Values:
integer

The interval for cleanup of deleted questions
pchatd.moderation.CleanupInterval
Allowed Values:
integer

Example


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", set the default number of users per chat room as 50 users, and enable super admin users the ability to see hidden rooms, 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
    pchatd.superuser.ShowHiddenRoom=true

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.

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

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