1# Naken Chat configuration file
2
3# Here is your welcome message.  You are free to change this
4# to whatever you need.
5
6WELCOME ---------------------------------------------------
7WELCOME Welcome to Michael Kohn's Naken Chat Server!
8WELCOME For more infomation on this code go to:
9WELCOME http://nakenchat.naken.cc/ email: mike@mikekohn.net
10WELCOME ---------------------------------------------------
11WELCOME Version 3.00b1/July 4, 2013
12WELCOME Type .help for a list of commands
13WELCOME
14
15# change the sysop password to whatever you want
16
17SYSOP_PASSWORD pencil
18
19# setuid (Unix only).  If you run the server as the root user, it's
20# a good idea to tell Naken Chat to run as user nobody in group nobody
21# for security reasons.  Format is user:group  (group may be omitted)
22
23RUN_AS nobody:nobody
24
25# wooohoo!!! I get to write bad words!! :)
26# You only get up to 1024 chars total for all words
27# combined (including nulls).
28
29BAD_WORD fuck
30BAD_WORD shit
31
32# Usually the first person to create a channel becomes the "owner" of it.
33# Putting entries here will will make these channel names un-ownable
34
35NO_OWNER iran
36NO_OWNER indo
37
38# if you have any allow lines, ONLY these sites will be
39# allowed to logon your Naken Chat..  You if you ban an
40# allowed site, it's denied..  you can have up to 4096
41# characters for all sites combined (including nuls)
42# if you need more you can update globals.h and recompile
43
44#ALLOW naken.cc
45#ALLOW localhost.naken.cc
46
47# any sites you want to ban put here on seperate lines
48# you only get about 4k of text for bans.  if you need more
49# you can update globals.h and recompile.
50
51#BAN naken
52#BAN microsoft.com
53
54# Uncomment this line to default the server to international mode
55
56INTERNATIONAL 1
57
58# Set this to the maxiumum number of people you want to allow
59# in the chat.
60
61MINCONN 10
62MAXCONN 50
63
64# Set this to the maximum time (in minutes) people are allowed
65# to have no activity on the chat.  If set to 0 this feature is
66# disabled.  NOTE: Idle time is ONLY checked during the garbage
67# collection period on Naken Chat (which defaults to 10 minutes).
68# this means that altho your max idle time is set to 10 minutes,
69# the actual time the user is kicked off could be up to 15
70# minutes.  This is done to save CPU cycles.
71
72MAX_IDLE_TIME 60
73
74# Set to port number you want to run the chat on for clear text.
75# If no port is set then clear text connections are disabled.
76
77PORT 6666
78
79# If PORT_SSL is set, then the chat will open up an SSL port along side
80# the clear text port.
81
82#SSL_PORT 6667
83#SSL_CERT test_cert.pem
84
85# Host lookups
86
87HOSTLOOKUPS 1
88
89# Show IP Addresses (so when people type .w it shows nothing)
90
91SHOWIPS 1
92
93# If NODUPIPS is set to 1 then Naken Chat will not allow two
94# people to log on from the same IP address
95
96NODUPIPS 0
97
98# LOGIN_SPEED is the number of seconds allowed between logins from
99# an IP address.  This can be used to prevent morons from spamming
100# the chat with many logins.  To disable this feature, set it to 0.
101
102LOGIN_SPEED 3
103
104# Set this to the name of your log file (MUST BE A FULL PATH)
105# If you want logging turned on by default change LOGGING to 1
106
107#LOGFILE /var/log/nakenchat.log
108LOGFILE /tmp/nakenchat.log
109LOGGING 1
110
111# If you want, Naken Chat can create a file that holds all the
112# information from a .w command.  If you'd like this, uncomment
113# the following line (aka, take away the #) and set the file
114# name you want to save the .w information to
115
116#WHO_FILE /tmp/nakenchat.who
117
118# Set this to the Naken Chat password file (MUST BE A FULL PATH)
119# If you don't want to have registered users on the chat you can
120# comment this line out.  PASSWD_LEVEL tells what user level is
121# allowed to do a .r.  Can be -1 for nobody (or commented out)
122# or 0 to 10 (where 0 is everyone and 10 is only sysop).
123
124#PASSWD /usr/local/etc/nakenchat.passwd
125PASSWD nakenchat_passwd.db
126PASSWD_LEVEL 3
127
128# if FORCE_PASSWD is 1, then the user must be in the password file to login
129
130FORCE_PASSWD 0
131
132# if FORCE_NAME is 1, then the user cannot talk on the chat till they name
133# themselves
134
135FORCE_NAME 0
136
137# if NODUP_NAMES is 1, then a user cannot pick the same name as someone else
138# already logged in
139
140NODUP_NAMES 0
141
142# if KICK_DUPS is 1, then when someone changes their name, it will kick
143# off anyone who is using that name.  so for example, if you had someone
144# on the chat named "mike" and someone else logs on and type .n mike,
145# then the original mike will be kicked off.  this can be useful if
146# you want to have NODUP_NAMES and a user's connection drops and when
147# they try to log back in, it won't let them cause their name is in use.
148# however, in certain situations this feature will be annoying
149
150KICK_DUPS 0
151
152# if NO_NAME_CHANGE is 1, then the user cannot change their name
153# after they set it once
154
155NO_NAME_CHANGE 0
156
157# Set this to the level of censoring the server should start out
158# with.
159# Level 0 = none
160# Level 1 = block out bad words
161# Level 2 = warn user, don't display
162# Level 3 = warn user, don't display, kick off after 3
163# Level 4 = kick off
164
165CENSOR 0
166
167# Set this to 1 if you want to disable the channels feature of the chat
168# Users can still have default channels in the password file, but
169# channel ownership will disappear.  Sysops will be the only ones
170# with channel control.
171
172CHANNEL_DISABLE 0
173
174# Plugins are libraries that can add extra features to the chat
175
176PLUGIN plugins/naken_test.so
177PLUGIN plugins/naken_tolower.so
178
179
180
181
182