]>
Commit | Line | Data |
---|---|---|
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 | |
7 | nickname = C | |
8 | ||
9 | # Username of bot | |
10 | username = chanfix | |
11 | ||
12 | # Hostname of bot | |
13 | hostname = evilnet.development | |
14 | ||
15 | # Real name (info) of bot | |
16 | userdescription = Oooh! Oooh! I can fix it! | |
17 | ||
18 | # User modes bot should set | |
19 | mode = +idk | |
20 | ||
21 | # --------------------------------------------------------------------- | |
22 | # Database specifications | |
23 | ||
24 | # Host and port of database | |
f3cc4ce5 | 25 | sqlHost = db.undernet.org |
446026a1 SW |
26 | sqlPort = 5432 |
27 | # Name of database | |
28 | sqlDB = chanfix | |
29 | # If you don't need user/pass just put "" for option(s) below | |
30 | sqlcfUser = cservice | |
31 | sqlPass = cservice | |
32 | ||
33 | # --------------------------------------------------------------------- | |
34 | # Channels the bot should join | |
35 | ||
36 | # Console channel name and initial modes | |
37 | consoleChan = #coder-com | |
38 | consoleChanModes = +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. | |
43 | sendConsoleNotices = true | |
44 | ||
45 | # Channel(s) that chanfix should join besides consoleChan (can be multiple) | |
46 | joinChan = #chanfix | |
47 | joinChan = #staff | |
48 | ||
49 | # Initial modes all joinChans should have | |
50 | joinChanModes = +nt | |
51 | ||
52 | # --------------------------------------------------------------------- | |
53 | # Fixing settings | |
54 | ||
55 | # Should chanfix automatically fix opless channels? | |
56 | enableAutoFix = true | |
57 | ||
58 | # Should chanfix be able to manually fix channels? | |
59 | enableChanFix = true | |
60 | ||
61 | # Can channels be blocked by admins? | |
62 | enableChannelBlocking = true | |
63 | ||
64 | # Should chanfix join the channel its fixing? this avoids the hopping issue | |
65 | joinChannels = 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? | |
69 | autoFixNotice = 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? | |
73 | manualFixNotice = true | |
74 | ||
75 | # Should auto fixes stop if an already reopped user ops another user? | |
76 | stopAutoFixOnOp = true | |
77 | ||
78 | # Should manual fixes stop if an already reopped user ops another user? | |
79 | stopChanFixOnOp = true | |
80 | ||
81 | # Should the top ops be allowed to perform fixes on their own channels? | |
82 | allowTopOpFix = 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 %. | |
93 | topOpPercent = 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. | |
97 | minFixScore = 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. | |
101 | minCanFixScore = 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. | |
106 | minRequestOpTime = 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. | |
114 | version = 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) | |
121 | useBurstToFix = false | |
122 | ||
123 | # Total number of servers on the network | |
124 | numServers = 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. | |
129 | minServersPresent = 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. | |
134 | chanServName = 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. | |
141 | numTopScores = 10 | |
142 | ||
143 | # --------------------------------------------------------------------- | |
144 | # Database settings | |
145 | ||
146 | # Minimum clients needed in a channel for it to be scored | |
147 | minClients = 4 | |
148 | ||
149 | # Which clients score a point if they are opped? | |
150 | # Client needs to be idented (no ~ before username) | |
151 | clientNeedsIdent = false | |
152 | ||
153 | # --------------------------------------------------------------------- | |
154 | # Miscellaneous settings | |
155 | ||
156 | # Frequency (in seconds) between database connection status checks | |
157 | connectCheckFreq = 10 | |
158 | ||
159 | # File where all admin commands sent to backchan are logged and saved | |
160 | adminLogFile = /gnuworld/log/chanfix-admin.log | |
161 | ||
162 | # File where all debug information sent to backchan is logged and saved | |
163 | debugLogFile = /gnuworld/log/chanfix-debug.log | |
164 | ||
165 | # End of config file. | |
166 | # --------------------------------------------------------------------- |