summaryrefslogtreecommitdiff
path: root/ychat-0.6/conf.txt
blob: 24156748333a5f56bef38951c0a9fff819b093ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#
# please notice this: 
# the server parses this configuration file while starting or by an 
# administrator's request.
#
# not allowed are semicolons ';' inside or before the quotes " ", 
# otherwise this might result in errors.
#
# the syntax is easy: KEYNAME="value";
#
# all lines which do not contain a semicolon and at least two quotes 
# or start with a # will be ignored.
#
# greets, paul c. buetow ( snooper@ychat.org );
#

# server specific configurations ( not allowed to be removed ):

HTMLTEMP="html/";  # directory of the html-template files.
THRDPOOL="50";    # thread pool size. 
THRDQUEU="50";    # length of the thread pool queue.
SRVRPORT="3000";   # local port on which the server listens. 
STRDROOM="Lounge"; # the name of the standard room.
LANGUAGE="en"; # language of the chat outputs ( CONSOLE OUTPUT IS NOT AFFECTED )

# MySQL Settings
MYSQL_HOST="www.ychat.org";
MYSQL_USER="ychat";
MYSQL_PASS="yctest";
MYSQL_DB="ychat";

#MySQL Connection Manager Settings
MIN_CONNECTIONS="1";
MAX_CONNECTIONS="5";

# the html template file which will be send if the requested file does not exists. 
NOTFOUND="notfound.html";
# specifies the standard start html-template. 
STARTMPL="index.html";
# user's standard nick color.
USERCOL1="AAAAAA";
# user's standard text color.
USERCOL2="FFFFFF";

# superuser level names. level 0 has the most provileges.
SULEVEL0="Coder"; # programmer.
SULEVEL1="Admin"; # administrator.
SULEVEL2="Magic"; # super user with special privileges.
SULEVEL3="Super"; # temporary super user.
SULEVEL4="Basic"; # normal user without special privileges.
SULEVEL5="Guest"; # guest user, has almost no privileges.
SULEVEL6="Restr"; # a very restricted user.
SULEVEL7="Outbn"; # banned out of the system.

# length of the generated session id
SESSION_LENGTH="32";

# html = "OFF" strips all html tags from incoming messages
HTML="OFF";

# LOGGING:

# relative or absolute path to logfile
ACCESS_LOG="log/access_log";

# We're using buffered logging for performance
# LOG_LINES specifies after how many lines the log is flushed into a file
# if you don't want buffered logging set LOG_LINES to 1.
LOG_LINES="10";

# values which are used by the html-templates and are not sticked within the yC++ 
# core source!
GRAPHICS="http://paul.buetow.info/yChat"; # url for graphic files etc. 
PGETITLE="yChat - Fast and extensible ";

# yChat may preload all available modules.
PRE_MODS_COMMANDS="ON"; # yChat will preload mods/commands/*.so on start if set to "ON".
PRE_MODS_HTML="ON";     # yChat will preload mods/html/*.so on start if set to "ON".

# do not edit beyond this line

CT_HTM="text/html";
CT_HTML="text/html";
CT_GIF="image/gif";
CT_JPG="image/jpeg";
CT_JPEG="image/jpeg";
CT_PNG="image/png";
CT_DEFAULT="text/html";

# end.