diff options
Diffstat (limited to 'etc/ychat.conf')
| -rw-r--r-- | etc/ychat.conf | 125 |
1 files changed, 17 insertions, 108 deletions
diff --git a/etc/ychat.conf b/etc/ychat.conf index 2a92c9a..bb44cd3 100644 --- a/etc/ychat.conf +++ b/etc/ychat.conf @@ -1,14 +1,9 @@ <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> -<config> <category name="chat"> <option name="defaultop"> <value>Snoop</value> <descr>The default user which has operator status</descr> </option> - <option name="enableguest"> - <value>true</value> - <descr>Is set to true if guest chatters are allowed. If database support is disabled this option HAS to be enabled otherwise no login will work because all chatter are treated as guests if there is no database!</descr> - </option> <option name="defaultrang"> <value>3</value> <descr>The default user rang/status</descr> @@ -25,30 +20,6 @@ <value>0</value> <descr>The time offset. Negative values are not allowed. If you have an offset of X please enter 24+X+12 here. Example: Offset = -6, 24-6+12 = 30 :)</descr> </option> - <category name="floodprotection"> - <option name="seconds"> - <value>2</value> - <descr>Defines the intervall of seconds yChat is checking for a flood attack.</descr> - </option> - <option name="messages"> - <value>4</value> - <descr>Defines the allowed message posts in chat.floodprotection.seconds seconds.</descr> - </option> - </category> - <category name="fields"> - <option name="userstrings"> - <value>tmpid agnt away col1 col2 email pass</value> - <descr>Defines the string members of the user objects. Can be accessed through p_user->set_string(s_obj, s_key) or p_user->get_string(s_key);</descr> - </option> - <option name="userints"> - <value>status old_status</value> - <descr>Defines the integer members of the user objects. Can be accessed through p_user->set_int(i_obj, s_key) or p_user->get_int(s_key);</descr> - </option> - <option name="userbools"> - <value>online has_sess is_reg away fake invisible set_changed_data</value> - <descr>Defines the bool members of the user objects. Can be accessed through p_user->set_bool(b_obj, s_key) or p_user->get_bool(s_key);</descr> - </option> - </category> <category name="permissions"> <option name="uptime"> <value>1</value> @@ -74,9 +45,6 @@ <option name="msg"> <value>3</value> </option> - <option name="users"> - <value>3</value> - </option> <option name="me"> <value>3</value> </option> @@ -122,7 +90,7 @@ <descr>Seconds of idling after a database connection will be closed. Will be checked once each minute</descr> </option> <option name="serverhost"> - <value>localhost</value> + <value>fibonacci.exa-ds.com</value> <descr>Specifies hostname oder ip address of the MySQL database server</descr> </option> <option name="user"> @@ -130,7 +98,7 @@ <descr>Specifies the MySQL username</descr> </option> <option name="password"> - <value>hahaha</value> + <value>yctest</value> <descr>Specifies the MySQL password</descr> </option> <option name="dbname"> @@ -162,7 +130,7 @@ </category> <category name="maxlength"> <option name="word"> - <value>50</value> + <value>15</value> <descr>Maximum length of a word inside a chat message. The word will be seperate by a blank if exceeded</descr> </option> <option name="message"> @@ -197,18 +165,6 @@ </option> </category> <category name="msgs"> - <option name="gag"> - <value>gags</value> - </option> - <option name="ungag"> - <value>ungags</value> - </option> - <option name="userlist"> - <value>List of logged in users: </value> - </option> - <option name="system"> - <value>Global system message: </value> - </option> <option name="servertime"> <value>The server system time: </value> </option> @@ -299,9 +255,6 @@ <option name="userkicksout1"> <value> kicks </value> </option> - <option name="floodgag"> - <value> has been gagged (chat flooding).</value> - </option> <option name="userkicksout2"> <value> out of the chat at room </value> </option> @@ -318,15 +271,6 @@ <value>Whispered to </value> </option> <category name="help"> - <option name="gag"> - <value>Gags a specific user. Usage: /gag USER [REASON]</value> - </option> - <option name="ungag"> - <value>Ungags a specific user. Usage: /ungag USER [REASON]</value> - </option> - <option name="all"> - <value>Writes a global system message into all available rooms. Usage: /all MESSAGE</value> - </option> <option name="away"> <value>Sets mode away. Usage: /away AWAYTEST</value> </option> @@ -342,8 +286,8 @@ <option name="getrusage"> <value>Shows informations describing the resources utilized by the yChat process. Usage: /getrusage</value> </option> - <option name="about"> - <value>Gets some usefull and interesting infos about NICK. Usage: /about NICK</value> + <option name="getstatus"> + <value>Gets some usefull and interesting infos about NICK. Usage: /getstatus NICK</value> </option> <option name="help"> <value>Shows help text for a specific command. Usage: /help chatcommand</value> @@ -399,9 +343,6 @@ <option name="uptime"> <value>Shows the yChat uptime. Usage: /uptime</value> </option> - <option name="users"> - <value>Shows currently logged in users. Usage: /users</value> - </option> <option name="s"> <value>Screams the TEXT. Usage: /s TEXT</value> </option> @@ -413,12 +354,6 @@ <option name="alpnum"> <value>The nick you have specifued is not alphanumeric, please change that.<br><br></value> </option> - <option name="flooding"> - <value>You are flooding the chat room!</value> - </option> - <option name="gagged"> - <value>You are currently gagged!</value> - </option> <option name="alreadyinroom"> <value>You are already in the room</value> </option> @@ -437,9 +372,6 @@ <option name="findingcommand"> <value>No such command!<br></value> </option> - <option name="maxuserlimit"> - <value>You cant log in because the maxuser limit has been reached. Please try again later.<br><br></value> - </option> <option name="messagelength"> <value>Your message was too long and has been shortened!</value> </option> @@ -452,9 +384,6 @@ <option name="nonick"> <value>You need to specify a nickname!<br><br></value> </option> - <option name="noguest"> - <value>Guest chatting is currently disabled. Please use a registered nick!</value> - </option> <option name="noroom"> <value>You have to enter a valid room name!<br><br></value> </option> @@ -507,15 +436,15 @@ <category name="session"> <option name="md5hash"> <value>true</value> - <descr>If set to true, then MD5 hash of the session id will be appended to the generated session to make the temp IDs even more secure.</descr> + <descr>If set to true, then the session id will be hashed by MD5 to make the id even more random</descr> </option> <option name="md5salt"> <value>tASDlkjadSD</value> <descr>Some random string which will affect the md5-hash. Change this to another random string!</descr> </option> <option name="length"> - <value>32</value> - <descr>Length of the generated session id. The length will be longer if md5hash is activated</descr> + <value>64</value> + <descr>Length of the generated session id. The length will be shorter if md5hash is activated</descr> </option> <option name="validchars"> <value>.abcdefghijklmnopqrstuvwxyz0123456789-_</value> @@ -539,10 +468,6 @@ <value>FF0000</value> <descr>Specifies the standard error message color</descr> </option> - <option name="sysmsgcolor"> - <value>FF0000</value> - <descr>Specifies the standard system message color</descr> - </option> <option name="onlinebefore"> <value><tr><td></value> <descr>HTML-Tags which will be placed before each nickname in the user online frame</descr> @@ -612,7 +537,7 @@ <descr>Specifies the relative or absolute path to the directory of the room log files</descr> </option> <option name="roomloglines"> - <value>0</value> + <value>10</value> <descr>Number of room log lines which will be buffered in the main memory until they will be written into the file</descr> </option> </category> @@ -634,10 +559,6 @@ <value>html/</value> <descr>If set to false, yChat strips all html tags from incoming messages</descr> </option> - <option name="ipcachesize"> - <value>50</value> - <descr>Specifies the IP cache size. If set to 0, the IP cache will be cleared every 10 minutes. Otherwise, the IP cache will be cleared every 10 minutes only if there are more IPs in the cache than the specified amount.</descr> - </option> <category name="html"> <option name="notfound"> <value>notfound.html</value> @@ -645,13 +566,13 @@ </option> </category> <category name="thread"> - <option name="initpoolsize"> + <option name="poolsize"> + <value>50</value> + <descr>Number of threads running at the same time</descr> + </option> + <option name="queuesize"> <value>10</value> - <descr>Initial number of threads running at the same time. If there are less than 5 threads in the pool waiting, the thread pool will resize to 10.</descr> - </option> - <option name="maxpoolsize"> - <value>0</value> - <descr>Maximum amount of parallel running threads. Change this to 0 if you want to use unlimited threads. If you have set a number not equal to 0, then there have to be at least 2 waiting threads to allow a new user login. A maxpoolsize of 52 means a max user limit of 50 users.</descr> + <descr>Max. number of jobs which can wait for a free thread of the thread pool</descr> </option> </category> <category name="stats"> @@ -694,11 +615,11 @@ <descr>Specifies the relative or absolute path to the system messsage log file</descr> </option> <option name="accesslines"> - <value>0</value> + <value>10</value> <descr>Number of access log lines which will be buffered in the main memory until they will be written into the file</descr> </option> <option name="systemlines"> - <value>0</value> + <value>10</value> <descr>Number of system log lines which will be buffered in the main memory until they will be written into the file</descr> </option> </category> @@ -724,20 +645,8 @@ <option name="png"> <value>image/png</value> </option> - <option name="txt"> - <value>text/plain</value> - </option> <option name="default"> <value>text/html</value> </option> </category> - <category name="ssl"> - <option name="certificatepath"> - <value>etc/cert.pem</value> - </option> - <option name="privatekeypath"> - <value>etc/privkey.pem</value> - </option> - </category> </category> -</config> |
