diff options
Diffstat (limited to 'etc/ychat.conf')
| -rw-r--r-- | etc/ychat.conf | 136 |
1 files changed, 22 insertions, 114 deletions
diff --git a/etc/ychat.conf b/etc/ychat.conf index 6ed9cd0..391cf6b 100644 --- a/etc/ychat.conf +++ b/etc/ychat.conf @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> -<config> +<?xml version="5.0" encoding="ISO-8859-1" standalone="yes" ?> <category name="chat"> <option name="defaultop"> <value>Snoop</value> @@ -25,30 +24,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 +49,6 @@ <option name="msg"> <value>3</value> </option> - <option name="users"> - <value>3</value> - </option> <option name="me"> <value>3</value> </option> @@ -130,7 +102,7 @@ <descr>Specifies the MySQL username</descr> </option> <option name="password"> - <value>jokolo</value> + <value>hahaha</value> <descr>Specifies the MySQL password</descr> </option> <option name="dbname"> @@ -197,21 +169,6 @@ </option> </category> <category name="msgs"> - <option name="gag"> - <value>gags</value> - </option> - <option name="ungag"> - <value>ungags</value> - </option> - <option name="ban"> - <value>bans</value> - </option> - <option name="unban"> - <value>removes ban from</value> - </option> - <option name="userlist"> - <value>List of logged in users: </value> - </option> <option name="system"> <value>Global system message: </value> </option> @@ -305,9 +262,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> @@ -324,12 +278,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> @@ -351,15 +299,6 @@ <option name="about"> <value>Gets some usefull and interesting infos about NICK. Usage: /about NICK</value> </option> - <option name="ban"> - <value>Bans a NICK from the chat. Usage: /ban NICK</value> - </option> - <option name="unban"> - <value>Unbans a NICK from the chat. Usage: /unban NICK</value> - </option> - <option name="banned"> - <value>Shows a list of all banned stuff. Usage: /bannend</value> - </option> <option name="help"> <value>Shows help text for a specific command. Usage: /help chatcommand</value> </option> @@ -414,9 +353,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> @@ -428,24 +364,6 @@ <option name="alpnum"> <value>The nick you have specifued is not alphanumeric, please change that.<br><br></value> </option> - <option name="banned"> - <value>You have been banned from the chat!<br><br></value> - </option> - <option name="alreadybanned"> - <value>: This nickname has already been banned from the chat!</value> - </option> - <option name="isnotbanned"> - <value>: This nickname has not been banned from the chat!</value> - </option> - <option name="nobanned"> - <value>There is nothing banned from the chat!</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> @@ -464,9 +382,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> @@ -534,15 +449,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> @@ -554,10 +469,6 @@ </option> </category> <category name="html"> - <option name="cache"> - <value>false</value> - <descr>If set to false, yChat will not cache web documents</descr> - </option> <option name="tagsallow"> <value>false</value> <descr>If set to false, yChat strips all html tags from incoming messages</descr> @@ -643,7 +554,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>20</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> @@ -653,10 +564,6 @@ <value>2000</value> <descr>Local port on which the server listens</descr> </option> - <option name="defaultprefix"> - <value>undef</value> - <descr>The default prefix of the current yChat installation. If its set to undef, then yChat uses the compile time PREFIX option which has been set by configure which is recommended. If this prefix does not work, it uses the current working directory as the defaultprefix. You can change this to override the prefix but this is not recommended.</descr> - </option> <option name="enablecgi"> <value>false</value> <descr>Support for CGI scripts</descr> @@ -669,16 +576,26 @@ <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> <descr>The HTML site which will be displayed if the requested file does not exists</descr> </option> </category> + <category name="thread"> + <option name="initpoolsize"> + <value>1</value> + <descr>Initial number of threads running at the same time. If all threads are used, the pool will double its size. Lowest value is 1.</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.</descr> + </option> + <option name="queuesize"> + <value>50</value> + <descr>Max. number of jobs which can wait for a free thread of the thread pool</descr> + </option> + </category> <category name="stats"> <option name="rusagehistory"> <value>7</value> @@ -719,11 +636,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> @@ -756,13 +673,4 @@ <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> |
