2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
10 * First, create the service.
11 * Note that an easy way to rename this service is to define{} the client name to something else.
17 host = "services.host"
18 gecos = "Nickname Registration Service"
27 confirmemailchanges = no
28 #unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ REGISTER password email"
31 * The default options for newly registered nicks. Note that changing these options
32 * will have no effect on nicks which are already registered. The list must be separated
36 * - killprotect: Kill nick if not identified within 60 seconds
37 * - kill_quick: Kill nick if not identified within 20 seconds, this one overrides the above
38 * option and the above must be specified with this one
39 * - ns_secure: Enable nickname security, requiring the nick's password before any operations
41 * - ns_private: Hide the nick from NickServ's LIST command
42 * - hide_email: Hide's the nick's e-mail address from NickServ's INFO command
43 * - hide_mask: Hide's the nick's last or current user@host from NickServ's INFO command
44 * - hide_quit: Hide's the nick's last quit message
45 * - memo_signon: Notify user if they have a new memo when they sign into the nick
46 * - memo_receive: Notify user if they have a new memo as soon as it's received
47 * - autoop: User will be automatically opped in channels they enter and have access to
48 * - msg: Services messages will be sent as PRIVMSGs instead of NOTICEs, requires
49 * options:useprivmsg to be enabled as well
50 * - ns_keepmodes: Enables keepmodes, which retains user modes across sessions
52 * This directive is optional, if left blank, the options will default to ns_secure, memo_signon, and
53 * memo_receive. If you really want no defaults, use "none" by itself as the option.
55 defaults = "killprotect ns_secure ns_private hide_email memo_signon memo_receive autoop"
64 #restrictopernicks = yes
68 * Core NickServ commands.
70 * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
71 * are loaded you can then configure the commands to be added to any client you like with any name you like.
73 * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
75 * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
78 /* Command group configuration for NickServ.
80 * Commands may optionally be placed into groups to make NickServ's HELP output easier to understand.
81 * Remove the following groups to use the old behavior of simply listing all NickServ commands from HELP.
85 name = "nickserv/admin"
86 description = "Services Operator commands"
89 /* Give it a help command. */
90 command { service = "NickServ"; name = "HELP"; command = "generic/help"; }
95 * Provides the command nickserv/access.
97 * Used for configuring what hosts have access to your account.
104 * The maximum number of entries allowed on a nickname's access list.
109 * If set, Services will add the usermask of registering users to the access list of their
110 * newly created account. If not set, users will always have to identify to NickServ before
111 * being recognized, unless they manually add an address to the access list of their account.
112 * This directive is optional.
117 command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
122 * Provides the command nickserv/ajoin.
124 * Used for configuring channels to join once you identify.
131 * The maximum number of channels a user can have on NickServ's AJOIN command.
135 command { service = "NickServ"; name = "AJOIN"; command = "nickserv/ajoin"; }
140 * Provides the command nickserv/alist.
142 * Used for viewing what channels you have access to.
144 module { name = "ns_alist" }
145 command { service = "NickServ"; name = "ALIST"; command = "nickserv/alist"; }
150 * Provides the command nickserv/cert.
152 * Used for configuring your SSL certificate list, which can be used to automatically identify you.
154 module { name = "ns_cert"; max = 16; }
155 command { service = "NickServ"; name = "CERT"; command = "nickserv/cert"; }
160 * Provides the command nickserv/drop.
162 * Used for unregistering names.
164 module { name = "ns_drop" }
165 command { service = "NickServ"; name = "DROP"; command = "nickserv/drop"; }
170 * Provides the command nickserv/getemail.
172 * Used for getting registered accounts by searching for emails.
174 module { name = "ns_getemail" }
175 command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail"; permission = "nickserv/getemail"; group = "nickserv/admin"; }
180 * Provides the command nickserv/getpass.
182 * Used for getting users passwords.
184 * Requires no encryption is being used.
186 #module { name = "ns_getpass" }
187 #command { service = "NickServ"; name = "GETPASS"; command = "nickserv/getpass"; permission = "nickserv/getpass"; }
192 * Provides the commands nickserv/group, nickserv/glist, and nickserv/ungroup.
194 * Used for controlling nick groups.
201 * The maximum number of nicks allowed in a group.
203 * This directive is optional, but recommended. If not set or set to 0, no limits will be applied.
208 * If set, the NickServ GROUP command won't allow any group change. This is recommended for
209 * better performance and to protect against nick stealing, however users will have less
212 * This directive is optional, but recommended.
216 command { service = "NickServ"; name = "GLIST"; command = "nickserv/glist"; }
217 command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; }
218 command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; }
223 * Provides the command nickserv/identify.
225 * Used for identifying to accounts.
227 module { name = "ns_identify" }
228 command { service = "NickServ"; name = "ID"; command = "nickserv/identify"; hide = true; }
229 command { service = "NickServ"; name = "IDENTIFY"; command = "nickserv/identify"; }
234 * Provides the commands:
235 * nickserv/info. - Used for gathering information about an account.
236 * nickserv/set/hide, nickserv/saset/hide - Used for configuring which options are publically shown in nickserv/info.
239 module { name = "ns_info" }
240 command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; }
242 command { service = "NickServ"; name = "SET HIDE"; command = "nickserv/set/hide"; }
243 command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/hide"; permission = "nickserv/saset/hide"; }
248 * Provides the commands:
249 * nickserv/list - Used for retrieving and searching the registered account list.
250 * nickserv/set/private, nickserv/saset/private - Used for configuring whether or a users account shows up in nickserv/list.
258 * The maximum number of nicks to be returned for a NickServ LIST command.
262 command { service = "NickServ"; name = "LIST"; command = "nickserv/list"; group = "nickserv/admin"; }
264 command { service = "NickServ"; name = "SET PRIVATE"; command = "nickserv/set/private"; }
265 command { service = "NickServ"; name = "SASET PRIVATE"; command = "nickserv/saset/private"; permission = "nickserv/saset/private"; }
270 * Provides the command nickserv/logout.
272 * Used for logging out of your account.
274 module { name = "ns_logout" }
275 command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; }
280 * Provides the command nickserv/recover.
282 * Used for recovering your nick from services or another user.
289 * If set, Services will svsnick and svsjoin users who use the recover
290 * command on an identified user to the nick and channels of the recovered user.
292 * This directive is opional.
294 restoreonrecover = yes
296 command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; }
297 # Uncomment below to emulate 1.8's behavior of ghost and release.
298 #command { service = "NickServ"; name = "GHOST"; command = "nickserv/recover"; }
299 #command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; }
304 * Provides the commands nickserv/confirm, nickserv/register, and nickserv/resend.
306 * Used for registering accounts.
313 * Registration confirmation setting. Set to "none" for no registration confirmation,
314 * "mail" for email confirmation, and "admin" to have services operators manually confirm
315 * every registration. Set to "disable" to completely disable all registrations.
317 registration = "none"
320 * The minimum length of time between consecutive uses of NickServ's RESEND command.
322 * This directive is optional, but recommended. If not set, this restriction will be disabled.
327 * Prevents users from registering their nick if they are not connected
328 * for at least the given number of seconds.
330 * This directive is optional.
335 * The length of time a user using an unconfirmed account has
336 * before the account will be released for general use again.
338 unconfirmedexpire = 1d
341 command { service = "NickServ"; name = "CONFIRM"; command = "nickserv/confirm"; }
342 command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register"; }
343 command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; }
348 * Provides the command nickserv/resetpass.
350 * Used for resetting passwords by emailing users a temporary one.
352 module { name = "ns_resetpass" }
353 command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpass"; }
358 * Provides the commands:
359 * nickserv/set, nickserv/saset - Dummy help wrappers for the SET and SASET commands.
360 * nickserv/set/autoop, nickserv/saset/autoop - Determines whether or not modes are automatically set users when joining a channel.
361 * nickserv/set/display, nickserv/saset/display - Used for setting a users display name.
362 * nickserv/set/email, nickserv/saset/email - Used for setting a users email address.
363 * nickserv/set/keepmodes, nickserv/saset/keepmodes - Configure whether or not services should retain a user's modes across sessions.
364 * nickserv/set/kill, nickserv/saset/kill - Used for configuring nickname protection.
365 * nickserv/set/language, nickserv/saset/language - Used for configuring what language services use.
366 * nickserv/set/message, nickserv/saset/message - Used to configure how services send messages to you.
367 * nickserv/set/password, nickserv/saset/password - Used for changing a users password.
368 * nickserv/set/secure, nickserv/saset/secure - Used for configuring whether a user can identify by simply being recognized by nickserv/access.
369 * nickserv/saset/noexpire - Used for configuring noexpire, which prevents nicks from expiring.
376 * Allow the use of the IMMED option in the NickServ SET KILL command.
378 * This directive is optional.
380 #allowkillimmed = yes
384 command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
385 command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"; }
387 command { service = "NickServ"; name = "SET AUTOOP"; command = "nickserv/set/autoop"; }
388 command { service = "NickServ"; name = "SASET AUTOOP"; command = "nickserv/saset/autoop"; permission = "nickserv/saset/autoop"; }
390 command { service = "NickServ"; name = "SET DISPLAY"; command = "nickserv/set/display"; }
391 command { service = "NickServ"; name = "SASET DISPLAY"; command = "nickserv/saset/display"; permission = "nickserv/saset/display"; }
393 command { service = "NickServ"; name = "SET EMAIL"; command = "nickserv/set/email"; }
394 command { service = "NickServ"; name = "SASET EMAIL"; command = "nickserv/saset/email"; permission = "nickserv/saset/email"; }
396 command { service = "NickServ"; name = "SET KEEPMODES"; command = "nickserv/set/keepmodes"; }
397 command { service = "NickServ"; name = "SASET KEEPMODES"; command = "nickserv/saset/keepmodes"; permission = "nickserv/saset/keepmodes"; }
399 command { service = "NickServ"; name = "SET KILL"; command = "nickserv/set/kill"; }
400 command { service = "NickServ"; name = "SASET KILL"; command = "nickserv/saset/kill"; permission = "nickserv/saset/kill"; }
402 command { service = "NickServ"; name = "SET LANGUAGE"; command = "nickserv/set/language"; }
403 command { service = "NickServ"; name = "SASET LANGUAGE"; command = "nickserv/saset/language"; permission = "nickserv/saset/language"; }
405 command { service = "NickServ"; name = "SET MESSAGE"; command = "nickserv/set/message"; }
406 command { service = "NickServ"; name = "SASET MESSAGE"; command = "nickserv/saset/message"; permission = "nickserv/saset/message"; }
408 command { service = "NickServ"; name = "SET PASSWORD"; command = "nickserv/set/password"; }
409 command { service = "NickServ"; name = "SASET PASSWORD"; command = "nickserv/saset/password"; permission = "nickserv/saset/password"; }
411 command { service = "NickServ"; name = "SET SECURE"; command = "nickserv/set/secure"; }
412 command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset/secure"; permission = "nickserv/saset/secure"; }
414 command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"; }
419 * Provides the command nickserv/set/misc.
421 * Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info.
422 * A field named misc_description may be given for use with help output.
424 module { name = "ns_set_misc" }
425 command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associate a URL with your account"); }
426 command { service = "NickServ"; name = "SASET URL"; command = "nickserv/saset/misc"; misc_description = _("Associate a URL with this account"); permission = "nickserv/saset/url"; group = "nickserv/admin"; }
427 command { service = "NickServ"; name = "SET PUBLICMAIL"; command = "nickserv/set/misc"; misc_description = _("Associate an eMail address with your account"); }
428 command { service = "NickServ"; name = "SASET PUBLICMAIL"; command = "nickserv/saset/misc"; misc_description = _("Associate an eMail address with this account"); permission = "nickserv/saset/publicmail"; group = "nickserv/admin"; }
429 command { service = "NickServ"; name = "SET TWITTER"; command = "nickserv/set/misc"; misc_description = _("Associate a Twitter account with your account"); }
430 command { service = "NickServ"; name = "SASET TWITTER"; command = "nickserv/saset/misc"; misc_description = _("Associate a Twitter account with this account"); permission = "nickserv/saset/twitter"; group = "nickserv/admin"; }
431 #command { service = "NickServ"; name = "SET FACEBOOK"; command = "nickserv/set/misc"; misc_description = _("Associate a Facebook URL with your account"); }
432 #command { service = "NickServ"; name = "SASET FACEBOOK"; command = "nickserv/saset/misc"; misc_description = _("Associate a Facebook URL with this account"); permission = "nickserv/saset/facebook"; group = "nickserv/admin"; }
437 * Provides the nickserv/status command.
439 * Used to determine if a user is recognized or identified by services.
441 module { name = "ns_status" }
442 command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; }
447 * Provides the commands nickserv/suspend and nickserv/unsuspend.
449 * Used to suspend and unsuspend nicknames. Suspended nicknames can not be used but their settings are preserved.
456 * The length of time before a suspended nick becomes unsuspended.
458 * This directive is optional. If not set, the default is never.
463 * Settings to show to non-opers in NickServ's INFO output.
464 * Comment to completely disable showing any information about
465 * suspended nicknames to non-opers.
467 show = "suspended, by, reason, on, expires"
470 command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
471 command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
476 * Provides the command nickserv/update.
478 * Used to update your status on all channels, turn on your vHost, etc.
480 module { name = "ns_update" }
481 command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; }
485 * Extra NickServ related modules.
491 * Limits how many times the same email address may be used in Anope
492 * to register accounts.
499 * The limit to how many registered nicks can use the same e-mail address. If set to 0 or left
500 * commented, there will be no limit enforced when registering new accounts or using
501 * /msg NickServ SET EMAIL.