<?xml version="1.0" encoding="UTF-8"?>
<Group>
<!--123 Flash Chat Server Group Configuration - Version 6.6 -->
<!-- enable-guest-login On/Off
Allow unregistered guest to log in or not. -->
<enable-guest-login>Off</enable-guest-login>
<!-- enable-user-register On/Off
Allow new user to register or not.-->
<enable-user-register>Off</enable-user-register>
<!-- max-connection numbers
User Maximum in all rooms simultaneously. This value will be restricted by the license type you've purchased. -->
<max-connection>10000</max-connection>
<!-- max-userid-length numbers
Maximum characters of user name. -->
<max-userid-length>32</max-userid-length>
<!-- max-passwd-length numbers
Maximum characters of password. -->
<max-passwd-length>32</max-passwd-length>
<!-- max-email-length numbers
Maximum characters of email address. -->
<max-email-length>128</max-email-length>
<!-- max-message-length numbers
Maximum characters of every message in chatting. -->
<max-message-length>256</max-message-length>
<!-- max-cache-message-size numbers
Show last conversation in newly opened room, define how many latest messages will display. -->
<max-cached-message-entry>5</max-cached-message-entry>
<!-- max-post-row
The maximum rows a post can have. This setting can prevent flood.
-->
<max-post-row>5</max-post-row>
<!-- integrated-other-database string
123flashchat can integrate your own user database, like that of your forum, or portal system.
123flashchat supports phpBB, PHPNuke , PostNuke , AspNuke ,etc.
A forum which doesn't supports database can't be integrated.
The modes of IntegratedOtherDatabase are :
None - not using any integrated database to authorize a user
Mysql - using mysql database
Oracle - using oracle database
ODBC - using ODBC DSN to connect database
Common - using all kinds of database, advanced setting
URL - (New function! )using web url to authorize user's login information.
eg:
<IntegratedOtherDatabase mode="Mysql">
If it is set to "None", when a new user click "register", he or she will register in your chat room,
If set to "Mysql", "Oracle" or "common", then when user click "register", a new window will pop up and he or she will be directed to another url which is set by you in client.xml.
-->
<integrated-other-database>Mysql</integrated-other-database>
<!--Auth-url String
You can just leave it blank or even delete this line. It is only necessary when "integrated-other-database" is set into URL.
It means the URL you use to authorize users must have 2 arguments. One is the %usename%, the other is %password%.
eg:
<auth-url>http://yourwebsite/login_chat.php?username=%username%&password=%password%</auth-url>
In this URL, "&" means the character "&" in xml.
That is to say when the user input username "myname " and password "mypassword" , the chat server will visit "http://www.yourhost.com/login_chat.php?username=myname&password=mypassword" in order to get the login information which has to be numbers between 0 to 7, each with a different meaning.
0 - login successfully ;
1 - wrong password ;
2 - the username can't be used ;
3 - login error, e.g. error in connecting database ;
4 - username not existing ;
5 - successfully login as the administrator;
6 - guest login not allowed
7 - username banned . -->
<auth-url charset="UTF-8">http://yourwebsite/login_chat.php?username=%username%&password=%password%</auth-url>
<!-- talk-interval numbers
The shortest pause(in milliseconds) between two utterances.
It is for preventing screen flooding. Eg: 1000 = 1 second. -->
<talk-interval>1000</talk-interval>
<!-- kick-ban-timeout numbers
Specifies a time period to ban a user's username and IP address after kick him out. unit:minute
note: a user will be banned of current room only, not of other room.
If you set it to "0", there's no "ban" accompany with "kick".
Default value: 15
-->
<kick-ban-timeout>15</kick-ban-timeout>
<!-- site-key
The code to validate your website. You can modify this value,
but it must be the same with the siteKey value in client.xml ,
otherwise the client can't connect your server.
-->
<site-key>XH00-YPWS-TI3E-KQLW</site-key>
<!--moderatorSeeIP.
Enable the moderator users have permission to check others IP address.
-->
<moderatorSeeIP enable="Off"></moderatorSeeIP>
<!-- User Section -->
<Users>
<admin>
<user name="admin" passwd="admin" md5="Off"></user>
</admin>
<ReservedUserName>
<word>Administrator</word>
<word>guest</word>
</ReservedUserName>
</Users>
<Logs>
<!-- logs-path
Name the directory of data files. -->
<logs-path>logs</logs-path>
<!-- access-log
Name the access log. -->
<access-log>access.log</access-log>
<!-- error-log
Name the error log.-->
<error-log>error.log</error-log>
<!-- message-logs
Define the location to store the conversation history of the public and private chat.-->
<message-logs>
<!--logs-type
Define the type of log.
1.text:file postfix .log
2.html:file postfix .html
-->
<logs-type>html</logs-type>
<!-- public-message-path
The default path to save the public messages.-->
<public-message-path enable="Off">../client/message</public-message-path>
<!--public-message-root-url
It's the web URL of the public messages.
Admin can publish the public chat history on website as quality content to attract more traffic.-->
<public-message-root-url>message</public-message-root-url>
<!--public-message-file-name
The filename of the folder in which the public chat history is stored.-->
<public-message-file-name>public</public-message-file-name>
<!--public-message-button
Enable or disable to show the public message button in client side.
-->
<public-message-button>Off</public-message-button>
<!--private-message-path
The default path to save the private messages. Admin should keep the private chat secret to respect chatters' privacy, and admin can only monitor the private chat for the purpose to exclude the illegal content. -->
<private-message-path enable="Off">../client/message</private-message-path>
<!--private-message-file-name
The filename of the folder in which the private chat history is stored.-->
<private-message-file-name>private</private-message-file-name>
</message-logs>
</Logs>
<!-- FilterWords Section
Words needed to be filtered. If you want to exclude one word in the chat,
please add one row in this tag: <filter>your-filter-word</filter>,
set the substitute in following tag: <FilterWords replace="your substitute"> -->
<FilterWords replace="***">
<filter>fuck</filter>
<filter>shit</filter>
</FilterWords>
<!-- robot-message
Define scheduled automatic robot message(s) here,
to broadcast in certain room(s), with certain interval.
This can be used for Site News, ADs or some other stuff.
-->
<robot-message enable="On" activerooms="*" interval="300">
<!-- message
Edit rotate scheduled robot message(s) here, one line for one robot.
-->
<message>Welcome to Fabuloush Chatroom!!!</message>
</robot-message>
<!-- server-api
With this module, the chat server can receive commands sent by third party application,
and send data of the chat to the application
or operate on chat server accordingly.
-->
<server-api enable="On">
<!-- auth-password
Only command with the right key(password) will be authorized by the chat server
and will be effective.
-->
<auth-password>3874-3459-9293-2194</auth-password>
<!-- allow-access-from-ip
Only command from this IP is legitimate.
If set to " *", then commands from all IP address are valid. which is insecure.
-->
<allow-access-from>
<ip>127.0.0.1</ip>
</allow-access-from>
</server-api>
<!-- DefaultRoom tag, removed from v4.5 -->
<!-- Modules
With following optional modules, the chat can be greatly enhanced.
They are all included in demo version for test
but not in standard full version by default,
you can purchase specific module(s) in case you need. -->
<Modules>
<!-- moderated-chat
With moderated-chat module enabled,
questions submitted by participants can't go public unless
the Moderator or Admin approves/passes it.
-->
<moderated-chat enable="On"></moderated-chat>
<!-- change-nick
With change-nick module enabled,
your users can have the ability to change display nickname after logged in.
It makes your chat more flexible and has more fun.
"enable":Enable the change nickname function
"enableCustomProfile":Users have the ability to change their displayed nickname, location, sex, age after they have logged in when the value of enableCustomProfile is on.
Otherwise users can change their nickname only.
-->
<change-nick enable="On" enableCustomProfile="On"></change-nick>
<!-- invisible-admin
With invisible-admin module enabled,
administrator can monitor chat conversation in chat room invisibly.
Without the "existence" of the admin, chatters can freely talk everything
but actually they can't go too far.
-->
<invisible-admin enable="On"></invisible-admin>
<!-- encrypt-message
With encrypt-message module enabled,
message being encrypted will ensure the security of the chat server.
123flashchat can encrypt messages using RSA.
-->
<encrypt-message enable="Off"></encrypt-message>
<!--event-chat
Certain chat room(s) can be configured to automatically open and close at a particular time to gather more traffic.
-->
<event-chat enable="On"></event-chat>
<!--image-transfer:
enableLobby: enable or disable transfer image(support file type: .jpg, .jpeg) in lobby chat window
enablePrivate: enable or disable transfer image(support file type: .jpg, .jpeg) in private chat window
uploadURL: setting the url that the file will be uploaded, you can use your own upload server (apache, tomcat, etc...) or use 123flashchat http server, if you user 123flashchat server,
you must leave the uploadURL's value empty
downloadURL: setting the url that the file will be downloaded, you can use your own upload server (apache, tomcat, etc...) or use 123flashchat http server, if you user 123flashchat server,
you must leave the downloadURL's value empty
maxUPLoadSize: setting the max file can be uploaded to the server, the value must less than the value maxUPLoadSize in <123flashchat installed directory>/server/etc/fcserver.xml, if the value less than or equals to 0, this means the server will not accept any upload files.
imageHeight: the height of uploaded image that will be displayed in the lobby or private chat window
imageWidth: the width of uploaded image that will be displayed in the lobby or private chat window
allowGuest: setting if the guest can upload file
autoLoadImage: enable or disable auto load an image and display it in the window, if disable this function, the user will get an alert message instead of load the image from server directly.
-->
<image-transfer enableLobby="On" enablePrivate="On" uploadURL="" downloadURL="" maxUPLoadSize="512" imageHeight="300" imageWidth="400" allowGuest="On" autoLoadImage="Off"></image-transfer>
<!-- flashcom-audio-video
With flashcom-audio-video module enabled, and macromedia flash communication server installed,
You can add webcam and voice chat features.
Unlike the basic text chat, this module needs support of flash communication server.
"audio":Enable the audio mode
"video":Enable the video mode
"needRequest":When someone is requested video/audio by others, he/she is able to accept or deny the invitation.
"adminNeedRequest":This function decides whether the admin user need send request with others video/audio.
"canShutOffAdmin":This function decides whether the others could cancel the video/aduio to the admin users.
"moderatorNeedRequest":This function decides whether the moderator user need send request with others video/audio.
"canShutOffModerator":This function decides whether the others could cancel the video/aduio to the moderator users.
"activeRooms":The room list in which the video function is enabled. by default it's "*", means video is ON in all rooms. eg: to enable video in room with ID: 1, 2 and 3, please set "1,2,3", and delimit room IDs using comma",".
"allowGuest":Whether or not to allow unregistered guest to publish or view video.
-->
<flashcom-audio-video audio="Off" video="Off" needRequest="On" adminNeedRequest="Off" canShutOffAdmin="On" moderatorNeedRequest="Off" canShutOffModerator="On" maxWindow="5" activeRooms="*" allowGuest="On"></flashcom-audio-video>
<!--white-board:
enable: Enable or disable white board function
userDrawPermission: It defines who are entitled to use the drawing function. The value has 5 digits by
default, the sequence of the bits from the left to the right represents the admin,
moderator, speaker, regular user(registered user) and guests' drawing permission
in turn. â1â means ON and â0â means OFF.
For example: if you only want admin, moderator , speaker have the drawing permission,
then the value will be set to "11100"
userModifyPermission: It defines who can use the eraser. The value has 5 bits in default, the sequence of
the bits from the left to the right represent admin, moderator, speaker, regular
user(registered user) and guests' permission to erase in turn. â1â means ON and â0â
means OFF.
For example: if you only want admin, moderator , speaker have the right to erase,
then the value will be set to "11100"
width: The width of the white board window
height: The height of the white board window
-->
<white-board enable="Off" userDrawPermission="11110" userModifyPermission="11110" width="510" height="400"></white-board>
<!--flash-media-server
When you have the flash com (AV) module or the white board module, you should set the value of "targetURI".
"targetURI": The Uniform Resource Identifier (URI) of the application on the Flash Communication Server
that should run when the connection is made.
To specify targetURI, use one of the following formats (items in brackets are optional):
rtmp:[port]/appName[/instanceName] (acceptable if the movie and the Flash Communication Server are on the same machine)
rtmp://host[:port]/appName[/instanceName]
For example, the following URIs are formatted correctly:
rtmp://www.yourwebsite.com/123flashchat
rtmp:/123flashchat_default
Notice: If you use the targetURI for white board module, you should make a new file named âmain.ascâ
containing following code âload("components.asc");â and copy this file to the
<Flash Media/Communication Server installed directory>/applications/Application Directory (appName)/.
-->
<flash-media-server targetURI="rtmp:/123flashchat"></flash-media-server>
<!--
buddy-list
enable: Enable or disable the buddy list function
-->
<buddy-list enable="On"></buddy-list>
</Modules>
</Group>