1 # Channel Services configuration file.
3 # sql_host = Hostname/IP of the PostgreSQL server.
8 # sql_db = Name of the database.
9 # (To create from the template, run cservice.sql through Postgres)
13 # sql_user is the username to pass to Postgres on connection.
14 # Usefull if your account name is not the same as your Database
20 # General 'Bot' options.
24 hostname = undernet.org
25 userdescription = For help type: /msg X help
26 # Important: remove 'd' deaf mode if you intend to enable cservice FLOODPRO
30 # Channel to relay flood/warnings/exceptions, etc.
33 pending_page_url = http://www.yoursite.com/live/view_app.php
35 relay_channel = #coder-com
38 # Channel to relay useful information, but not quite as annoying
39 # as the debug_channel ! (a.k.a privileged user relay channel)
42 priv_relay_channel = #coder-com
45 # Channel to relay useful debug information that otherwise
49 debug_channel = #coder-com
54 # Channel used to extract levels to display coder access status.
56 coder_channel = #coder-com
59 # Frequency in seconds to check the database for updates.
65 # Number of seconds to sample for flooding.
73 # Eg: 30, for 30 points amassed within "flood_duration" seconds.
81 # Eg: 20480 (20k within "flood_duration" seconds).
87 # Frequency in seconds to sample after clients channel flood
90 channels_flood_period = 30
93 # After how many seconds of absence of flood activity should reduce the FLOODNET value
94 # Eg. 300 = 5 minutes.
96 floodpro_relaxtime = 300
99 # How many not(ic)es will be stored for an offline user
100 # 0 is disallowed, 7 will be used
105 # Minimum duration at which to set a topic in a non idle channel.
109 topic_duration = 1800
112 # Duration at which we check for idle user accounts in memory.
115 expire_interval = 3600
118 # How long those accounts should have been idle before they are
119 # uncached. (Seconds).
122 cache_interval = 3600
125 # How often to commit changes to Pending channels.
128 pending_duration = 180
131 # How often to notify changes of Pending channels.
134 pending_notif_duration = 1800
137 # How often to check if the connection to the backend has
138 # fallen over? (Seconds).
141 connection_check_frequency = 10
144 # How many times do we try every 'connection_check_frequency' seconds
145 # to reconnect before finally giving up and exiting?
148 connection_retry_total = 5
151 # How often (in seconds) should we check all channels that have
152 # floating-limit set to see if they need a new limit setting?
154 # Note: 30 is a good value, try 1min if you have lots of chans
155 # and not so much CPU.
160 # How long (In seconds) should we wait before allowing
161 # logins after startup. (Incase you're on a busy network
162 # with a really large burst and need things to settle down
163 # first to ease up load on the Db).
170 # What is the period (in seconds) in which we will check to
171 # see if someone has sent too many notes, and what do we
172 # define "Too Many" as?
173 # Ie: You can send 'note_limit' notes in 'note_duration' seconds.
180 # Pre-cache 'x' days worth of user accounts.
181 # This lets you preload all the users who have logged in during the last
182 # 'x' number of days to avoid a large number of queries when processing
183 # +r accounts during the initial net.burst.
185 preload_user_days = 1
188 # Specify the filename for the 'Admin Log'.
189 # Basically a log of all commands admins type.
191 admin_logfile = admin.log
194 # Specify the filename for the 'Command Log'
195 # A log of ALL commands issued by ALL users.
196 # requires USE_COMMAND_LOG in cservice_config.h
197 command_logfile = cs.log
200 # This option is used only if ALLOW_HELLO is defined in
201 # cservice_config.h, thus enabling the HELLO command in cservice.
202 # This is the time to block users attempting to flood the bot with
203 # hello commands, in seconds.
205 hello_block_period = 3600
207 # Message when login-on-connect (LoC) parameters are incorrect
208 # Used with iauthd-c: https://github.com/UndernetIRC/iauthd-c
210 loc_message = Insufficient login-on-connect (LoC) parameters - see www.undernet.org/loc/ for help
213 # What is the period (in seconds) in which we will check for
214 # new webrelay messages
217 webrelay_interval = 10;
220 # How long the bot should stay in an idle channel before leaving it.
221 # This only takes into account join/parts, not privmsg.
222 # Default is 2 days (172800 seconds)
225 part_idle_chan = 172800
228 # Enable/Disable totp authentication (must be enabled in mod.cservice/cservice_config.h on compliation)
229 # 1 = totp enabled, 0 = totp disabled
233 # A welcome message for a newly accepted channel
234 # For empty use '' and it means disabled
236 welcome_newchan_message = Congratulations! Channel %s has been registered!
238 # A welcome topic for a newly accepted channel
239 # For empty use '' and it means disabled. Applies only on empty channel topic.
240 # TOPIC_TRACK must be #define in \include\gnuworld_config.h
242 welcome_newchan_topic = *** Congratulations! Your channel application has been accepted! ***
244 # After how much seconds should expire any newly created never logged in user
246 neverloggedin_users_expiretime = 21600
248 # Days to expire users
251 users_expire_days = 60
253 # Day length in seconds - refers to users expiration
258 # *** The Judge settings *** #
261 # Required supporters
263 required_supporters = 5
265 # Length of a day in seconds
267 judge_day_seconds = 3600
269 # If somebody supports with a 'NO' answer, the channel will be set as noreg
270 # for the specified number of days
272 noreg_days_on_nosupport = 1
274 # If one of the supporters gets marked as Fraud during channel registration,
275 # the channel will be rejected automatically if the value is '1' enabled
277 reject_app_on_userfraud = 1
279 # If the value is 1 enabled then all channels at a minimum require an admin to Mark As Reviewed
280 # before application can be fully processed by TheJudge
284 # If the value is 1 enabled, any channel application with admin comments of objectsions will
285 # require manual decision accept/reject by an admin
289 # If the value is 1 enabled, after all successful registration stages there will be no automatic accepts.
290 # Channel will be left at to 'Ready to review' stage, waiting for an admin's final decision to accept/reject
292 decide_on_complete = 0
294 # After how many days will be a channel automatically rejected
295 # when it was no decision made by an admin for a 'Ready to review' channel
297 reviews_expire_time = 100
299 # After some days, we cleanup the database from old application datas: pending channels, supporters, etc
300 # But this applies *only* for Accepted OR Rejected channels!
302 pendings_expire_time = 30
304 # The length of the traffic checking period.
308 # The number of unique IP addresses that must visit the channel during traffic checking
312 # The total number of joins needed in traffick checking. This is a full sum.
316 # The number of supporters required to have at least 1 joincount during traffic checking.
317 # This value is less or equal than required_supporters
321 # The minimum joincount required for each supporter during traffic checking.
322 # If any supporter has a lower joincount than this value, will result in a reject.
324 min_supporters_joins = 1
326 # Number of days for notification
330 # Number of days waiting for supporters confirmation
338 # Where to log application channel's stages, and other The Judge announces.
339 # if set to 0 will log to debug channel, otherwise to admin channel
341 log_to_admin_console = 1;
343 # chanfix servername to send and receive Oplist/Score requests/answers
344 chanfix_servername = gnuworld6.undernet.org