Advertisement
Guest User

nickserv.example

a guest
Aug 4th, 2016
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.82 KB | None | 0 0
  1. /*
  2. * Example configuration file for NickServ.
  3. */
  4.  
  5. /*
  6. * First, create the service.
  7. */
  8. service
  9. {
  10. /*
  11. * The name of the NickServ client.
  12. * If you change this value, you probably want to change the client directive in the configuration for the nickserv module too.
  13. */
  14. nick = "NickServ"
  15.  
  16. /*
  17. * The username of the NickServ client.
  18. */
  19. user = "services"
  20.  
  21. /*
  22. * The hostname of the NickServ client.
  23. */
  24. host = "services.host"
  25.  
  26. /*
  27. * The realname of the NickServ client.
  28. */
  29. gecos = "Nickname Registration Service"
  30.  
  31. /*
  32. * The modes this client should use.
  33. * Do not modify this unless you know what you are doing.
  34. *
  35. * These modes are very IRCd specific. If left commented, sane defaults
  36. * are used based on what protocol module you have loaded.
  37. *
  38. * Note that setting this option incorrectly could potentially BREAK some, if
  39. * not all, usefulness of the client. We will not support you if this client is
  40. * unable to do certain things if this option is enabled.
  41. */
  42. #modes = "+o"
  43.  
  44. /*
  45. * An optional comma separated list of channels this service should join. Outside
  46. * of log channels this is not very useful, as the service will just idle in the
  47. * specified channels, and will not accept any types of commands.
  48. *
  49. * Prefixes may be given to the channels in the form of mode characters or prefix symbols.
  50. */
  51. #channels = "@#services,WOP"
  52. }
  53.  
  54. /*
  55. * Core NickServ module.
  56. *
  57. * Provides essential functionality for NickServ.
  58. */
  59. module
  60. {
  61. name = "nickserv"
  62.  
  63. /*
  64. * The name of the client that should be NickServ.
  65. */
  66. client = "NickServ"
  67.  
  68. /*
  69. * Force users to give an e-mail address when they register a nick.
  70. *
  71. * This directive defaults to "yes" and is recommended to be enabled. This is required if e-mail registration is enabled.
  72. */
  73. forceemail = yes
  74.  
  75. /*
  76. * Require users who change their email address to confirm they
  77. * own their new email.
  78. */
  79. confirmemailchanges = no
  80.  
  81. /*
  82. * A message sent to users on connect if they use an unregistered nick. %n will be replaced with the user's nickname.
  83. *
  84. * This directive is optional.
  85. */
  86. #unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ REGISTER password email"
  87.  
  88. /*
  89. * The default options for newly registered nicks. Note that changing these options
  90. * will have no effect on nicks which are already registered. The list must be separated
  91. * by spaces.
  92. *
  93. * The options are:
  94. * - killprotect: Kill nick if not identified within 60 seconds
  95. * - kill_quick: Kill nick if not identified within 20 seconds, this one overrides the above
  96. * option and the above must be specified with this one
  97. * - ns_secure: Enable nickname security, requiring the nick's password before any operations
  98. * can be done on it
  99. * - ns_private: Hide the nick from NickServ's LIST command
  100. * - hide_email: Hide's the nick's e-mail address from NickServ's INFO command
  101. * - hide_mask: Hide's the nick's last or current user@host from NickServ's INFO command
  102. * - hide_quit: Hide's the nick's last quit message
  103. * - memo_signon: Notify user if they have a new memo when they sign into the nick
  104. * - memo_receive: Notify user if they have a new memo as soon as it's received
  105. * - memo_mail: Notify user if they have a new memo by mail
  106. * - autoop: User will be automatically opped in channels they enter and have access to
  107. * - msg: Services messages will be sent as PRIVMSGs instead of NOTICEs, requires
  108. * options:useprivmsg to be enabled as well
  109. * - ns_keepmodes: Enables keepmodes, which retains user modes across sessions
  110. * - ns_no_expire: Enables no expire. Unconfirmed expire overrules this.
  111. *
  112. * This directive is optional, if left blank, the options will default to ns_secure, memo_signon, and
  113. * memo_receive. If you really want no defaults, use "none" by itself as the option.
  114. */
  115. defaults = "ns_secure ns_private hide_email hide_mask memo_signon memo_receive autoop"
  116.  
  117. /*
  118. * The minimum length of time between consecutive uses of NickServ's REGISTER command. This
  119. * directive is optional, but recommended. If not set, this restriction will be disabled.
  120. */
  121. regdelay = 30s
  122.  
  123. /*
  124. * The length of time before a nick's registration expires.
  125. *
  126. * This directive is optional, but recommended. If not set, the default is 21 days.
  127. */
  128. expire = 21d
  129.  
  130. /*
  131. * Prevents the use of the ACCESS and CERT (excluding their LIST subcommand), DROP, FORBID, SUSPEND,
  132. * GETPASS and SET PASSWORD commands by services operators on other services operators.
  133. *
  134. * This directive is optional, but recommended.
  135. */
  136. secureadmins = yes
  137.  
  138. /*
  139. * If set, Services will set the channel modes a user has access to upon identifying, assuming
  140. * they are not already set.
  141. *
  142. * This directive is optional.
  143. */
  144. modeonid = yes
  145.  
  146. /*
  147. * If set, Services will set these user modes on any user who identifies.
  148. *
  149. * This directive is optional.
  150. */
  151. #modesonid = "+R"
  152.  
  153. /*
  154. * If set, Services will not show netsplits in the last quit message field
  155. * of NickServ's INFO command.
  156. */
  157. hidenetsplitquit = no
  158.  
  159. /*
  160. * If set, is the length of time NickServ's killquick and kill options wait before
  161. * forcing users off of protected nicknames.
  162. */
  163. killquick = 20s
  164. kill = 60s
  165.  
  166. /*
  167. * If set, forbids the registration of nicks that contain an existing
  168. * nick with Services access. For example, if Tester is a Services Oper,
  169. * you can't register NewTester or Tester123 unless you are an IRC
  170. * Operator.
  171. *
  172. * NOTE: If you enable this, you will have to be logged in as an IRC
  173. * operator in order to register a Services Root nick when setting up
  174. * Anope for the first time.
  175. *
  176. * This directive is optional.
  177. */
  178. #restrictopernicks = yes
  179.  
  180. /*
  181. * The username, and possibly hostname, used for fake users created when Services needs to
  182. * hold a nickname.
  183. */
  184. enforceruser = "enforcer"
  185. enforcerhost = "services.host"
  186.  
  187. /*
  188. * The length of time Services hold nicknames.
  189. *
  190. * This directive is optional, but recommended. If not set it defaults to 1 minute.
  191. */
  192. releasetimeout = 1m
  193.  
  194. /*
  195. * When a user's nick is forcibly changed to enforce a "nick kill", their new nick will start
  196. * with this value. The rest will be made up of 6 or 7 digits.
  197. * Make sure this is a valid nick and Nicklen+7 is not longer than the allowed Nicklen on your ircd.
  198. *
  199. * This directive is optional. If not set it defaults to "Guest"
  200. */
  201. guestnickprefix = "Guest"
  202.  
  203. /*
  204. * If set, Services do not allow ownership of nick names, only ownership of accounts.
  205. */
  206. nonicknameownership = no
  207.  
  208. /*
  209. * The maximum length of passwords
  210. *
  211. * This directive is optional. If not set it defaults to 32.
  212. */
  213. passlen = 32
  214. }
  215.  
  216. /*
  217. * Core NickServ commands.
  218. *
  219. * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
  220. * are loaded you can then configure the commands to be added to any client you like with any name you like.
  221. *
  222. * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
  223. *
  224. * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
  225. */
  226.  
  227. /* Command group configuration for NickServ.
  228. *
  229. * Commands may optionally be placed into groups to make NickServ's HELP output easier to understand.
  230. * Remove the following groups to use the old behavior of simply listing all NickServ commands from HELP.
  231. */
  232. command_group
  233. {
  234. name = "nickserv/admin"
  235. description = _("Services Operator commands")
  236. }
  237.  
  238. /* Give it a help command. */
  239. command { service = "NickServ"; name = "HELP"; command = "generic/help"; }
  240.  
  241. /*
  242. * ns_access
  243. *
  244. * Provides the command nickserv/access.
  245. *
  246. * Used for configuring what hosts have access to your account.
  247. */
  248. module
  249. {
  250. name = "ns_access"
  251.  
  252. /*
  253. * The maximum number of entries allowed on a nickname's access list.
  254. * If not set, the default is 32. This number cannot be set to 0.
  255. */
  256. accessmax = 32
  257.  
  258. /*
  259. * If set, Services will add the usermask of registering users to the access list of their
  260. * newly created account. If not set, users will always have to identify to NickServ before
  261. * being recognized, unless they manually add an address to the access list of their account.
  262. * This directive is optional.
  263. */
  264. addaccessonreg = yes
  265. }
  266. command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
  267.  
  268. /*
  269. * ns_ajoin
  270. *
  271. * Provides the command nickserv/ajoin.
  272. *
  273. * Used for configuring channels to join once you identify.
  274. */
  275. module
  276. {
  277. name = "ns_ajoin"
  278.  
  279. /*
  280. * The maximum number of channels a user can have on NickServ's AJOIN command.
  281. */
  282. ajoinmax = 10
  283. }
  284. command { service = "NickServ"; name = "AJOIN"; command = "nickserv/ajoin"; }
  285.  
  286. /*
  287. * ns_alist
  288. *
  289. * Provides the command nickserv/alist.
  290. *
  291. * Used for viewing what channels you have access to.
  292. */
  293. module { name = "ns_alist" }
  294. command { service = "NickServ"; name = "ALIST"; command = "nickserv/alist"; }
  295.  
  296. /*
  297. * ns_cert
  298. *
  299. * Provides the command nickserv/cert.
  300. *
  301. * Used for configuring your SSL certificate list, which can be used to automatically identify you.
  302. */
  303. module
  304. {
  305. name = "ns_cert"
  306.  
  307. /*
  308. * The maximum number of entries allowed on a nickname's certificate fingerprint list.
  309. * The default is 5. This number cannot be set to 0.
  310. */
  311. max = 5
  312. }
  313. command { service = "NickServ"; name = "CERT"; command = "nickserv/cert"; }
  314.  
  315. /*
  316. * ns_drop
  317. *
  318. * Provides the command nickserv/drop.
  319. *
  320. * Used for unregistering names.
  321. */
  322. module { name = "ns_drop" }
  323. command { service = "NickServ"; name = "DROP"; command = "nickserv/drop"; }
  324.  
  325. /*
  326. * ns_getemail
  327. *
  328. * Provides the command nickserv/getemail.
  329. *
  330. * Used for getting registered accounts by searching for emails.
  331. */
  332. module { name = "ns_getemail" }
  333. command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail"; permission = "nickserv/getemail"; group = "nickserv/admin"; }
  334.  
  335. /*
  336. * ns_getpass
  337. *
  338. * Provides the command nickserv/getpass.
  339. *
  340. * Used for getting users passwords.
  341. *
  342. * Requires no encryption is being used.
  343. */
  344. #module { name = "ns_getpass" }
  345. #command { service = "NickServ"; name = "GETPASS"; command = "nickserv/getpass"; permission = "nickserv/getpass"; }
  346.  
  347. /*
  348. * ns_group
  349. *
  350. * Provides the commands nickserv/group, nickserv/glist, and nickserv/ungroup.
  351. *
  352. * Used for controlling nick groups.
  353. */
  354. module
  355. {
  356. name = "ns_group"
  357.  
  358. /*
  359. * The maximum number of nicks allowed in a group.
  360. *
  361. * This directive is optional, but recommended. If not set or set to 0, no limits will be applied.
  362. */
  363. maxaliases = 16
  364.  
  365. /*
  366. * If set, the NickServ GROUP command won't allow any group changes. This is recommended to
  367. * prevent users from accidentally dropping their nicks, as it forces users to explicitly
  368. * drop their nicks before adding it to another group.
  369. *
  370. * This directive is optional, but recommended.
  371. */
  372. nogroupchange = yes
  373. }
  374. command { service = "NickServ"; name = "GLIST"; command = "nickserv/glist"; }
  375. command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; }
  376. command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; }
  377.  
  378. /*
  379. * ns_identify
  380. *
  381. * Provides the command nickserv/identify.
  382. *
  383. * Used for identifying to accounts.
  384. */
  385. module
  386. {
  387. name = "ns_identify"
  388.  
  389. /*
  390. * If set, limits the number of concurrent users that can be logged in as a given account at once.
  391. */
  392. maxlogins = 10
  393. }
  394. command { service = "NickServ"; name = "ID"; command = "nickserv/identify"; hide = true; }
  395. command { service = "NickServ"; name = "IDENTIFY"; command = "nickserv/identify"; }
  396.  
  397. /*
  398. * ns_info
  399. *
  400. * Provides the commands:
  401. * nickserv/info. - Used for gathering information about an account.
  402. * nickserv/set/hide, nickserv/saset/hide - Used for configuring which options are publicly shown in nickserv/info.
  403. *
  404. */
  405. module { name = "ns_info" }
  406. command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; }
  407.  
  408. command { service = "NickServ"; name = "SET HIDE"; command = "nickserv/set/hide"; }
  409. command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/hide"; permission = "nickserv/saset/hide"; }
  410.  
  411.  
  412. /*
  413. * ns_list
  414. *
  415. * Provides the commands:
  416. * nickserv/list - Used for retrieving and searching the registered account list.
  417. * nickserv/set/private, nickserv/saset/private - Used for configuring whether or a users account shows up in nickserv/list.
  418. *
  419. */
  420. module
  421. {
  422. name = "ns_list"
  423.  
  424. /*
  425. * The maximum number of nicks to be returned for a NickServ LIST command.
  426. */
  427. listmax = 50
  428. }
  429. command { service = "NickServ"; name = "LIST"; command = "nickserv/list"; }
  430.  
  431. command { service = "NickServ"; name = "SET PRIVATE"; command = "nickserv/set/private"; }
  432. command { service = "NickServ"; name = "SASET PRIVATE"; command = "nickserv/saset/private"; permission = "nickserv/saset/private"; }
  433.  
  434.  
  435. /*
  436. * ns_logout
  437. *
  438. * Provides the command nickserv/logout.
  439. *
  440. * Used for logging out of your account.
  441. */
  442. module { name = "ns_logout" }
  443. command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; }
  444.  
  445. /*
  446. * ns_recover
  447. *
  448. * Provides the command nickserv/recover.
  449. *
  450. * Used for recovering your nick from services or another user.
  451. */
  452. module
  453. {
  454. name = "ns_recover"
  455.  
  456. /*
  457. * If set, Services will svsnick and svsjoin users who use the recover
  458. * command on an identified user to the nick and channels of the recovered user.
  459. *
  460. * This directive is opional.
  461. */
  462. restoreonrecover = yes
  463. }
  464. command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; }
  465. # Uncomment below to emulate 1.8's behavior of ghost and release.
  466. #command { service = "NickServ"; name = "GHOST"; command = "nickserv/recover"; }
  467. #command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; }
  468.  
  469. /*
  470. * ns_register
  471. *
  472. * Provides the commands nickserv/confirm, nickserv/register, and nickserv/resend.
  473. *
  474. * Used for registering accounts.
  475. */
  476. module
  477. {
  478. name = "ns_register"
  479.  
  480. /*
  481. * Registration confirmation setting. Set to "none" for no registration confirmation,
  482. * "mail" for email confirmation, and "admin" to have services operators manually confirm
  483. * every registration. Set to "disable" to completely disable all registrations.
  484. */
  485. registration = "none"
  486.  
  487. /*
  488. * The minimum length of time between consecutive uses of NickServ's RESEND command.
  489. *
  490. * This directive is optional, but recommended. If not set, this restriction will be disabled.
  491. */
  492. resenddelay = 90s
  493.  
  494. /*
  495. * Prevents users from registering their nick if they are not connected
  496. * for at least the given number of seconds.
  497. *
  498. * This directive is optional.
  499. */
  500. #nickregdelay = 30s
  501.  
  502. /*
  503. * The length of time a user using an unconfirmed account has
  504. * before the account will be released for general use again.
  505. */
  506. #unconfirmedexpire = 1d
  507. }
  508. command { service = "NickServ"; name = "CONFIRM"; command = "nickserv/confirm"; }
  509. command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register"; }
  510. command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; }
  511.  
  512. /*
  513. * ns_resetpass
  514. *
  515. * Provides the command nickserv/resetpass.
  516. *
  517. * Used for resetting passwords by emailing users a temporary one.
  518. */
  519. module { name = "ns_resetpass" }
  520. command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpass"; }
  521.  
  522. /*
  523. * ns_set
  524. *
  525. * Provides the commands:
  526. * nickserv/set, nickserv/saset - Dummy help wrappers for the SET and SASET commands.
  527. * nickserv/set/autoop, nickserv/saset/autoop - Determines whether or not modes are automatically set users when joining a channel.
  528. * nickserv/set/display, nickserv/saset/display - Used for setting a users display name.
  529. * nickserv/set/email, nickserv/saset/email - Used for setting a users email address.
  530. * nickserv/set/keepmodes, nickserv/saset/keepmodes - Configure whether or not services should retain a user's modes across sessions.
  531. * nickserv/set/kill, nickserv/saset/kill - Used for configuring nickname protection.
  532. * nickserv/set/language, nickserv/saset/language - Used for configuring what language services use.
  533. * nickserv/set/message, nickserv/saset/message - Used to configure how services send messages to you.
  534. * nickserv/set/password, nickserv/saset/password - Used for changing a users password.
  535. * nickserv/set/secure, nickserv/saset/secure - Used for configuring whether a user can identify by simply being recognized by nickserv/access.
  536. * nickserv/saset/noexpire - Used for configuring noexpire, which prevents nicks from expiring.
  537. */
  538. module
  539. {
  540. name = "ns_set"
  541.  
  542. /*
  543. * Allow the use of the IMMED option in the NickServ SET KILL command.
  544. *
  545. * This directive is optional.
  546. */
  547. #allowkillimmed = yes
  548. }
  549.  
  550. command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
  551. command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"; }
  552.  
  553. command { service = "NickServ"; name = "SET AUTOOP"; command = "nickserv/set/autoop"; }
  554. command { service = "NickServ"; name = "SASET AUTOOP"; command = "nickserv/saset/autoop"; permission = "nickserv/saset/autoop"; }
  555.  
  556. command { service = "NickServ"; name = "SET DISPLAY"; command = "nickserv/set/display"; }
  557. command { service = "NickServ"; name = "SASET DISPLAY"; command = "nickserv/saset/display"; permission = "nickserv/saset/display"; }
  558.  
  559. command { service = "NickServ"; name = "SET EMAIL"; command = "nickserv/set/email"; }
  560. command { service = "NickServ"; name = "SASET EMAIL"; command = "nickserv/saset/email"; permission = "nickserv/saset/email"; }
  561.  
  562. command { service = "NickServ"; name = "SET KEEPMODES"; command = "nickserv/set/keepmodes"; }
  563. command { service = "NickServ"; name = "SASET KEEPMODES"; command = "nickserv/saset/keepmodes"; permission = "nickserv/saset/keepmodes"; }
  564.  
  565. command { service = "NickServ"; name = "SET KILL"; command = "nickserv/set/kill"; }
  566. command { service = "NickServ"; name = "SASET KILL"; command = "nickserv/saset/kill"; permission = "nickserv/saset/kill"; }
  567.  
  568. command { service = "NickServ"; name = "SET LANGUAGE"; command = "nickserv/set/language"; }
  569. command { service = "NickServ"; name = "SASET LANGUAGE"; command = "nickserv/saset/language"; permission = "nickserv/saset/language"; }
  570.  
  571. command { service = "NickServ"; name = "SET MESSAGE"; command = "nickserv/set/message"; }
  572. command { service = "NickServ"; name = "SASET MESSAGE"; command = "nickserv/saset/message"; permission = "nickserv/saset/message"; }
  573.  
  574. command { service = "NickServ"; name = "SET PASSWORD"; command = "nickserv/set/password"; }
  575. command { service = "NickServ"; name = "SASET PASSWORD"; command = "nickserv/saset/password"; permission = "nickserv/saset/password"; }
  576.  
  577. command { service = "NickServ"; name = "SET SECURE"; command = "nickserv/set/secure"; }
  578. command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset/secure"; permission = "nickserv/saset/secure"; }
  579.  
  580. command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"; }
  581.  
  582.  
  583. /*
  584. * ns_set_misc
  585. *
  586. * Provides the command nickserv/set/misc.
  587. *
  588. * Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info.
  589. * A field named misc_description may be given for use with help output.
  590. */
  591. module { name = "ns_set_misc" }
  592. command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associate a URL with your account"); }
  593. 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"; }
  594. #command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; misc_description = _("Associate an ICQ account with your account"); }
  595. #command { service = "NickServ"; name = "SASET ICQ"; command = "nickserv/saset/misc"; misc_description = _("Associate an ICQ account with this account"); permission = "nickserv/saset/icq"; group = "nickserv/admin"; }
  596. #command { service = "NickServ"; name = "SET TWITTER"; command = "nickserv/set/misc"; misc_description = _("Associate a Twitter account with your account"); }
  597. #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"; }
  598. #command { service = "NickServ"; name = "SET FACEBOOK"; command = "nickserv/set/misc"; misc_description = _("Associate a Facebook URL with your account"); }
  599. #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"; }
  600.  
  601. /*
  602. * ns_status
  603. *
  604. * Provides the nickserv/status command.
  605. *
  606. * Used to determine if a user is recognized or identified by services.
  607. */
  608. module { name = "ns_status" }
  609. command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; }
  610.  
  611. /*
  612. * ns_suspend
  613. *
  614. * Provides the commands nickserv/suspend and nickserv/unsuspend.
  615. *
  616. * Used to suspend and unsuspend nicknames. Suspended nicknames can not be used but their settings are preserved.
  617. */
  618. module
  619. {
  620. name = "ns_suspend"
  621.  
  622. /*
  623. * The length of time before a suspended nick becomes unsuspended.
  624. *
  625. * This directive is optional. If not set, the default is never.
  626. */
  627. #suspendexpire = 90d
  628.  
  629. /*
  630. * Settings to show to non-opers in NickServ's INFO output.
  631. * Comment to completely disable showing any information about
  632. * suspended nicknames to non-opers.
  633. */
  634. show = "suspended, by, reason, on, expires"
  635. }
  636. command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
  637. command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
  638.  
  639. /*
  640. * ns_update
  641. *
  642. * Provides the command nickserv/update.
  643. *
  644. * Used to update your status on all channels, turn on your vHost, etc.
  645. */
  646. module { name = "ns_update" }
  647. command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; }
  648.  
  649.  
  650. /*
  651. * Extra NickServ related modules.
  652. */
  653.  
  654. /*
  655. * ns_maxemail
  656. *
  657. * Limits how many times the same email address may be used in Anope
  658. * to register accounts.
  659. */
  660. #module
  661. {
  662. name = "ns_maxemail"
  663.  
  664. /*
  665. * The limit to how many registered nicks can use the same e-mail address. If set to 0 or left
  666. * commented, there will be no limit enforced when registering new accounts or using
  667. * /msg NickServ SET EMAIL.
  668. */
  669. maxemails = 1
  670. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement