summaryrefslogtreecommitdiff
path: root/ychat-0.4/conf.txt
blob: 78c8a1e455ff45cba9ad7ff256236878604cb666 (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
#
# 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="2000";   # 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 )

# 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="#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="64";

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

# Logging

# relative or absolute path to logfile
ACCESS_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++ Basic - Fast Simple Extensible";

# 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.