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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
# Example configuration for builtin services (2.1)
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Ghost module: Adds support for users disconnecting their own ghosts
<module name="m_ghost.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Account system base module: Adds support for ircd-side account
# tracking
<module name="m_account.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Account registration module: Allows users to register accounts
<module name="m_account_register.so">
#-#-#-#-#-#-#-#-# ACCOUNT REGISTRATION CONFIGURATION -#-#-#-#-#-#-#-#-#
# hashtype - The hash type to store users' passwords with
# expiretime - The amount of time to retain an unused account
# emailrequired - Whether or not an email address is required to
# register an account
<acctregister hashtype="hmac-sha256" expiretime="21d" emailrequired="no">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Account listing module: Allows accounts to be listed and viewed
<module name="m_account_list.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Account virtual host module: Allows vhosts to be set on accounts
<module name="m_account_vhost.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Nick ownership module: Allows accounts to own and enforce nicks
<module name="m_account_nick_ownership.so">
#-#-#-#-#-#-#-#-#-# NICK OWNERSHIP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
# limit - The maximum number of nicks an account may register
<nickownership limit="5">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Account state storage module: stores registered accounts so that
# their state is not lost on ircd restart
#
<module name="m_flatfile_account.so">
#-#-#-#-#-#-#- FLATFILE ACCOUNT DATABASE CONFIGURATION -#-#-#-#-#-#-#-#
# dbfile - The file to store the channels in
<flatfileacct dbfile="data/accounts.db">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channel registration module: Adds support for ircd-side channel
# registration
# Note: This module conflicts with the channel registered mode in
# m_account_flags. If you want to use both modules, you should set
# <modeletters:c_registered> in inspircd.conf to "" to fix the conflict
<module name="m_chanregister.so">
#-#-#-#-#-#-#-#-# CHANNEL REGISTRATION CONFIGURATION -#-#-#-#-#-#-#-#-#
# prefix - The minimum rank needed to register an unregistered channel
# expiretime - The amount of time to retain an empty registered channel
#<chanregister prefix="op" expiretime="21d">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channel state storage module: stores +P and +r (chanregister) channels
# so that their state (topic/modes) is not lost on ircd restart
#
<module name="m_flatfile_channels.so">
#-#-#-#-#-#-#- FLATFILE CHANNEL DATABASE CONFIGURATION -#-#-#-#-#-#-#-#
# dbfile - The file to store the channels in
# storeregistered - Whether or not to store registered channels
# storepermanent - Whether or not to store permanent channels
<chandb dbfile="data/channels.db" storeregistered="yes" storepermanent="no">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channel state storage module: stores channels in an SQL database and
# restores their state on ircd restart.
#
# Note that this replaces m_flatfile_channels.so; don't load both of them.
#
#<module name="m_sql_channels.so">
#<chandb table="channels" dbid="db1">
# chandb:table - the table name in the database. Must contain columns:
# name - channel name
# ts - channel timestamp (integer)
# modes - channel modes, long-form list (includes bans, can get very long)
# topic - channel topic (may be null)
# topicset - setter of the topic (may be null)
# topicts - channel topic timestamp (numeric, may be null)
# chandb:dbid - The ID from a <database> tag
<module name="m_serverbots.so">
# An interface to the modular service replacements
# Note that this assumes that you have not changed the letters used by the autoop or registered modes.
<bot nick="ChanServ" ident="services" host="services.omega.org.za" name="Channel Services">
<botcmd bot="ChanServ" text="access" format="add #* ?*" replace="MODE $3 +w $4-">
<botcmd bot="ChanServ" text="access" format="add*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP ACCESS ADD for help with this command.">
<botcmd bot="ChanServ" text="access" format="clear #*" replace="CLEAR $3 +w $4-">
<botcmd bot="ChanServ" text="access" format="clear*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP ACCESS CLEAR for help with this command.">
<botcmd bot="ChanServ" text="access" format="del #* ?*" replace="MODE $3 -w $4-">
<botcmd bot="ChanServ" text="access" format="del*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP ACCESS DEL for help with this command.">
<botcmd bot="ChanServ" text="access" format="list #*" replace="MODE $3 +w">
<botcmd bot="ChanServ" text="access" format="list*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP ACCESS LIST for help with this command.">
<botcmd bot="ChanServ" text="access" replace="BOTNOTICE :Unknown subcommand. Type /msg $bot HELP ACCESS for help with this command.">
<botcmd bot="ChanServ" format="drop #*" replace="MODE $2- -r">
<botcmd bot="ChanServ" format="drop*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP DROP for help with this command.">
<botcmd bot="ChanServ" text="help" format="access add"
replace="BOTNOTICE :Syntax: /msg $bot ACCESS ADD <channel name> <access entry>
BOTNOTICE :Adds an access entry to a channel.
BOTNOTICE :Equivalent: /MODE <channel name> +w <access entry>">
<botcmd bot="ChanServ" text="help" format="access clear"
replace="BOTNOTICE :Syntax: /msg $bot ACCESS CLEAR <channel name> [pattern]
BOTNOTICE :Clears a channel's access entries, or if a glob pattern is given, only the entries that match it.
BOTNOTICE :Equivalent: /QUOTE CLEAR <channel name> +w [pattern]">
<botcmd bot="ChanServ" text="help" format="access del"
replace="BOTNOTICE :Syntax: /msg $bot ACCESS DEL <channel name> <access entry>
BOTNOTICE :Removes an access entry from a channel.
BOTNOTICE :Equivalent: /MODE <channel name> -w <access entry>">
<botcmd bot="ChanServ" text="help" format="access list"
replace="BOTNOTICE :Syntax: /msg $bot ACCESS LIST <channel name>
BOTNOTICE :Views a channel's access entries.
BOTNOTICE :Equivalent: /MODE <channel name> +w">
<botcmd bot="ChanServ" text="help" format="access"
replace="BOTNOTICE :Views or changes a channel's access entries.
BOTNOTICE :ACCESS ADD - Adds an access entry to a channel.
BOTNOTICE :ACCESS CLEAR - Clears a channel's access entries.
BOTNOTICE :ACCESS DEL - Removes an access entry to a channel.
BOTNOTICE :ACCESS LIST - Views a channel's access entries.">
<botcmd bot="ChanServ" text="help" format="drop"
replace="BOTNOTICE :Syntax: /msg $bot DROP <channel name>
BOTNOTICE :Drops a channel that you are a registrant of.
BOTNOTICE :Equivalent: /MODE <channel name> -r">
<botcmd bot="ChanServ" text="help" format="help"
replace="BOTNOTICE :Syntax: /msg $bot HELP [command] [subcommand]
BOTNOTICE :Displays a command list, or help for a specific command if one is given.
BOTNOTICE :This command has no equivalent.">
<botcmd bot="ChanServ" text="help" format="register"
replace="BOTNOTICE :Syntax: /msg $bot REGISTER <channel name> [registrant list]
BOTNOTICE :Registers a channel to you, or to the provided registrant list.
BOTNOTICE :Equivalent: /MODE <channel name> +r [registrant list]">
<botcmd bot="ChanServ" format="help *"
replace="BOTNOTICE :No help available for $2-.">
<botcmd bot="ChanServ" format="help"
replace="BOTNOTICE :$bot is a wrapper around the channel registration services.
BOTNOTICE :The commmands it provides are:
BOTNOTICE :ACCESS - View or modify a channel's access list
BOTNOTICE :DROP - Unregister a channel
BOTNOTICE :HELP - View help
BOTNOTICE :REGISTER - Register a channel">
<botcmd bot="ChanServ" format="register #*" replace="MODE $2 +r $3-">
<botcmd bot="ChanServ" format="register*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP REGISTER for help with this command.">
<botcmd bot="ChanServ" replace="BOTNOTICE :Unknown command. Type /msg $bot HELP for help.">
<bot nick="NickServ" ident="services" host="services.omega.org.za" name="Account and Nick Services">
<botcmd bot="NickServ" text="addnick" replace="ADDNICK">
<botcmd bot="NickServ" text="delnick" replace="DELNICK $2-">
<botcmd bot="NickServ" format="drop *" replace="DROP $2-">
<botcmd bot="NickServ" format="drop" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP DROP for help with this command.">
<botcmd bot="NickServ" format="enforce *" replace="ENFORCE $2-">
<botcmd bot="NickServ" format="enforce" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP ENFORCE for help with this command.">
<botcmd bot="NickServ" format="ghost *" replace="GHOST $2-">
<botcmd bot="NickServ" format="ghost" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP GHOST for help with this command.">
<botcmd bot="NickServ" text="help" format="addnick"
replace="BOTNOTICE :Syntax: /msg $bot ADDNICK
BOTNOTICE :Adds your current nick to your account.
BOTNOTICE :Equivalent: /ADDNICK">
<botcmd bot="NickServ" text="help" format="delnick"
replace="BOTNOTICE :Syntax: /msg $bot DELNICK [nick]
BOTNOTICE :Removes the specified nick from your account, or your current nick if no nick is specified.
BOTNOTICE :Equivalent: /DELNICK [nick]">
<botcmd bot="NickServ" text="help" format="drop"
replace="BOTNOTICE :Syntax: /msg $bot DROP [account name] <password>
BOTNOTICE :Drops the specified account, or your current account if no account is specified.
BOTNOTICE :Equivalent: /DROP [account name] <password>">
<botcmd bot="NickServ" text="help" format="enforce"
replace="BOTNOTICE :Syntax: /msg $bot ENFORCE <nick>
BOTNOTICE :Forces a user using a nick you own to change their nick.
BOTNOTICE :Equivalent: /ENFORCE <nick>">
<botcmd bot="NickServ" text="help" format="ghost"
replace="BOTNOTICE :Syntax: /msg $bot GHOST <nick>
BOTNOTICE :Disconnects another user logged in to the same account that you are.
BOTNOTICE :Equivalent: /GHOST <nick>">
<botcmd bot="NickServ" text="help" format="help"
replace="BOTNOTICE :Syntax: /msg $bot HELP [command] [subcommand]
BOTNOTICE :Displays a command list, or help for a specific command if one is given.
BOTNOTICE :This command has no equivalent.">
<botcmd bot="NickServ" text="help" format="identify"
replace="BOTNOTICE :Syntax: /msg $bot IDENTIFY [account name] <password>
BOTNOTICE :Logs you into the account with the given name, or your nick if no name is given, and the given password.
BOTNOTICE :Equivalent: /IDENTIFY [account name] <password>">
<botcmd bot="NickServ" text="help" format="list"
replace="BOTNOTICE :Syntax: /msg $bot LIST [pattern]
BOTNOTICE :Lists all accounts matching the given pattern, or all accounts if no pattern is given.
BOTNOTICE :Note that only IRC operators can see hidden accounts that are not their own.
BOTNOTICE :Equivalent: /ACCTLIST [pattern]">
<botcmd bot="NickServ" text="help" format="logout"
replace="BOTNOTICE :Syntax: /msg $bot LOGOUT
BOTNOTICE :Logs you out of your account.
BOTNOTICE :Equivalent: /LOGOUT">
<botcmd bot="NickServ" text="help" format="register"
replace="BOTNOTICE :Syntax: /msg $bot REGISTER <password> [email]
BOTNOTICE :Registers an account with your current nick as its name, the specified password as its password, and the specified email address as its email address, if any.
BOTNOTICE :Equivalent: /REGISTER <password> [email]">
<botcmd bot="NickServ" text="help" format="set email"
replace="BOTNOTICE :Syntax: /msg $bot SET EMAIL [new email]
BOTNOTICE :Changes your account's email address to the one given, or removes it if none is given.
BOTNOTICE :Equivalent: /SETEMAIL [new email]">
<botcmd bot="NickServ" text="help" format="set enforce"
replace="BOTNOTICE :Syntax: /msg $bot SET ENFORCE OFF|ON
BOTNOTICE :Sets whether or not an account's nicks are enforced.
BOTNOTICE :Equivalent: /SETENFORCE OFF|ON">
<botcmd bot="NickServ" text="help" format="set hidden"
replace="BOTNOTICE :Syntax: /msg $bot SET HIDDEN OFF|ON
BOTNOTICE :Sets whether or not an account is hidden from non-IRC operators in the account list.
BOTNOTICE :Equivalent: /SETHIDDEN OFF|ON">
<botcmd bot="NickServ" text="help" format="set password"
replace="BOTNOTICE :Syntax: /msg $bot SET PASSWORD [account] <old password> <new password>
BOTNOTICE :Changes the given account's password, or your current account if none is given, to the new password, provided that the old password is correct.
BOTNOTICE :Equivalent: /SETPASS [account] <old password> <new password>">
<botcmd bot="NickServ" text="help" format="set"
replace="BOTNOTICE :Changes your account's settings.
BOTNOTICE :SET EMAIL - Changes an account's email address.
BOTNOTICE :SET ENFORCE - Sets whether nicks are enforced.
BOTNOTICE :SET HIDDEN - Sets whether an account is hidden.
BOTNOTICE :SET PASSWORD - Changes an account's password.">
<botcmd bot="NickServ" format="help *"
replace="BOTNOTICE :No help available for $2-.">
<botcmd bot="NickServ" format="help"
replace="BOTNOTICE :$bot is a wrapper around the account registration and nick ownership services.
BOTNOTICE :The commmands it provides are:
BOTNOTICE :ADDNICK - Add your current nick to your account
BOTNOTICE :DELNICK - Remove a nick from your account
BOTNOTICE :DROP - Unregister an account
BOTNOTICE :ENFORCE - Enforce one of your nicks
BOTNOTICE :GHOST - Disconnect a ghost session
BOTNOTICE :HELP - View help
BOTNOTICE :IDENTIFY - Log in to an account
BOTNOTICE :LIST - List accounts
BOTNOTICE :LOGOUT - Log out of your account
BOTNOTICE :REGISTER - Register an account
BOTNOTICE :SET - Change your account's settings">
<botcmd bot="NickServ" format="identify *" replace="IDENTIFY $2-">
<botcmd bot="NickServ" format="identify" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP IDENTIFY for help with this command.">
<botcmd bot="NickServ" text="list" replace="ACCTLIST $2-">
<botcmd bot="NickServ" text="logout" replace="LOGOUT">
<botcmd bot="NickServ" format="register *" replace="REGISTER $2-">
<botcmd bot="NickServ" format="register" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP REGISTER for help with this command.">
<botcmd bot="NickServ" text="set" format="email*" replace="SETEMAIL $3-">
<botcmd bot="NickServ" text="set" format="enforce o?*" replace="SETENFORCE $3-">
<botcmd bot="NickServ" text="set" format="enforce*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP SET ADD for help with this command.">
<botcmd bot="NickServ" text="set" format="hidden o?*" replace="SETHIDDEN $3-">
<botcmd bot="NickServ" text="set" format="hidden*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP SET CLEAR for help with this command.">
<botcmd bot="NickServ" text="set" format="password ?*" replace="SETPASS $3-">
<botcmd bot="NickServ" text="set" format="password*" replace="BOTNOTICE :Invalid parameters. Type /msg $bot HELP SET DEL for help with this command.">
<botcmd bot="NickServ" text="set" replace="BOTNOTICE :Unknown subcommand. Type /msg $bot HELP SET for help with this command.">
<botcmd bot="NickServ" replace="BOTNOTICE :Unknown command. Type /msg $bot HELP for help.">
|