]> jfr.im git - irc/UndernetIRC/undernet-development-env.git/blame - etc/gnuworld/openchanfix.conf
Fix db host for openchanfix
[irc/UndernetIRC/undernet-development-env.git] / etc / gnuworld / openchanfix.conf
CommitLineData
446026a1
SW
1# $Id: openchanfix.example.conf.in,v 1.1 2006/12/22 06:41:41 kewlio Exp $
2# chanfix configuration file
3
4# ---------------------------------------------------------------------
5
6# Nickname of bot
7nickname = C
8
9# Username of bot
10username = chanfix
11
12# Hostname of bot
13hostname = evilnet.development
14
15# Real name (info) of bot
16userdescription = Oooh! Oooh! I can fix it!
17
18# User modes bot should set
19mode = +idk
20
21# ---------------------------------------------------------------------
22# Database specifications
23
24# Host and port of database
f3cc4ce5 25sqlHost = db.undernet.org
446026a1
SW
26sqlPort = 5432
27# Name of database
28sqlDB = chanfix
29# If you don't need user/pass just put "" for option(s) below
30sqlcfUser = cservice
31sqlPass = cservice
32
33# ---------------------------------------------------------------------
34# Channels the bot should join
35
36# Console channel name and initial modes
37consoleChan = #coder-com
38consoleChanModes = +nst
39
40# Should the bot relay admin messages to the console channel?
41# NOTE: This only disables relaying information sent to the
42# adminLog. debugLog information is *always* relayed.
43sendConsoleNotices = true
44
45# Channel(s) that chanfix should join besides consoleChan (can be multiple)
46joinChan = #chanfix
47joinChan = #staff
48
49# Initial modes all joinChans should have
50joinChanModes = +nt
51
52# ---------------------------------------------------------------------
53# Fixing settings
54
55# Should chanfix automatically fix opless channels?
56enableAutoFix = true
57
58# Should chanfix be able to manually fix channels?
59enableChanFix = true
60
61# Can channels be blocked by admins?
62enableChannelBlocking = true
63
64# Should chanfix join the channel its fixing? this avoids the hopping issue
65joinChannels = true
66
67# Should chanfix send notices saying the channel is being fixed for auto
68# fixes. Also a notice after its finished saying its done?
69autoFixNotice = true
70
71# Should chanfix send notices saying the channel is being fixed for manual
72# fixes Also a notice after its finished saying its done?
73manualFixNotice = true
74
75# Should auto fixes stop if an already reopped user ops another user?
76stopAutoFixOnOp = true
77
78# Should manual fixes stop if an already reopped user ops another user?
79stopChanFixOnOp = true
80
81# Should the top ops be allowed to perform fixes on their own channels?
82allowTopOpFix = false
83
84# Should the top op fixes be able to alert the top 10 ops who are not in
85# the channel at the time of the fix automatically? If no/false then the
86# database help entry for REQUESTOP will need to be updated.
87# 2022-05-15: Setting no longer active. Even if this setting is set to false,
88# top ops will be notified by default.
89#allowTopOpAlert = true
90
91# How much percentage within the top score should the top ops score be
92# before they are allowed to perform fixes. Dont include a %.
93topOpPercent = 10
94
95# Minimum score an op has be before they can issue fixes in their own
96# channel without requiring an oper to do them.
97minFixScore = 1000
98
99# Minimum score an op has to be before they can use the CANFIX command for
100# a channel they are ops in.
101minCanFixScore = 500
102
103# Minimum time required between REQUESTOP fixes. (In seconds). The last
104# fix time is updated at the start of a fix so allow time for the first
105# fix aswell as time for a gap.
106minRequestOpTime = 720
107
108# ---------------------------------------------------------------------
109# Network settings
110
111# Version of IRCu used on the network (11 or 12)
112# Use 11 for u2.10.11 and 12 for u2.10.12
113# NOTE: You MUST restart GNUWorld for this change to take place.
114version = 12
115
116# Should burst be used to fix takeovers (through a manual fix)?
117# Burst guarantees that the abusers will not be reopped due to
118# a netsplit, but it can cause problems due to lowering timestamp.
119# NOTE: You MUST restart GNUWorld for this change to take place.
120# NOTE: (2022-05-08): useBurstToFix set to true appears to cause issues with +l and +k modes remaining set. (Issue #13 on Github)
121useBurstToFix = false
122
123# Total number of servers on the network
124numServers = 10
125
126# The minimum percentage of servers that need to be linked;
127# if there are fewer servers linked, chanfix will not fix
128# any channels, be it automatic or manual.
129minServersPresent = 75
130
131# The full server name of the channel service. This is used in
132# checking whether the channel service is currently linked or
133# not to the network.
134chanServName = channels.undernet.org
135
136# ---------------------------------------------------------------------
137# Interface settings
138
139# The amount of scores to report when issuing the SCORE #channel
140# command. Do not set this to a higher value than 10.
141numTopScores = 10
142
143# ---------------------------------------------------------------------
144# Database settings
145
146# Minimum clients needed in a channel for it to be scored
147minClients = 4
148
149# Which clients score a point if they are opped?
150# Client needs to be idented (no ~ before username)
151clientNeedsIdent = false
152
153# ---------------------------------------------------------------------
154# Miscellaneous settings
155
156# Frequency (in seconds) between database connection status checks
157connectCheckFreq = 10
158
159# File where all admin commands sent to backchan are logged and saved
160adminLogFile = /gnuworld/log/chanfix-admin.log
161
162# File where all debug information sent to backchan is logged and saved
163debugLogFile = /gnuworld/log/chanfix-debug.log
164
165# End of config file.
166# ---------------------------------------------------------------------