summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/ychat.conf55
1 files changed, 41 insertions, 14 deletions
diff --git a/etc/ychat.conf b/etc/ychat.conf
index 1a48d79..8f7590e 100644
--- a/etc/ychat.conf
+++ b/etc/ychat.conf
@@ -1,4 +1,5 @@
-<?xml version="5.0" encoding="ISO-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<config>
<category name="chat">
<option name="defaultop">
<value>Snoop</value>
@@ -24,6 +25,20 @@
<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="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>
@@ -391,6 +406,9 @@
<option name="findingcommand">
<value>No such command!&lt;br&gt;</value>
</option>
+ <option name="maxuserlimit">
+ <value>You cant log in because the maxuser limit has been reached. Please try again later.&lt;br&gt;&lt;br&gt;</value>
+ </option>
<option name="messagelength">
<value>Your message was too long and has been shortened!</value>
</option>
@@ -458,15 +476,15 @@
<category name="session">
<option name="md5hash">
<value>true</value>
- <descr>If set to true, then the session id will be hashed by MD5 to make the id even more random</descr>
+ <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>
</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>64</value>
- <descr>Length of the generated session id. The length will be shorter if md5hash is activated</descr>
+ <value>32</value>
+ <descr>Length of the generated session id. The length will be longer if md5hash is activated</descr>
</option>
<option name="validchars">
<value>.abcdefghijklmnopqrstuvwxyz0123456789-_</value>
@@ -563,7 +581,7 @@
<descr>Specifies the relative or absolute path to the directory of the room log files</descr>
</option>
<option name="roomloglines">
- <value>20</value>
+ <value>0</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>
@@ -585,6 +603,10 @@
<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>
@@ -593,16 +615,12 @@
</category>
<category name="thread">
<option name="initpoolsize">
- <value>20</value>
- <descr>Initial number of threads running at the same time. If all threads are used, the pool will allocate a new thread. Lowest value is 1.</descr>
+ <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.</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>
+ <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>
</option>
</category>
<category name="stats">
@@ -645,11 +663,11 @@
<descr>Specifies the relative or absolute path to the system messsage log file</descr>
</option>
<option name="accesslines">
- <value>10</value>
+ <value>0</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>10</value>
+ <value>0</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>
@@ -682,4 +700,13 @@
<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>