summaryrefslogtreecommitdiff
path: root/data/nickserv.example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/nickserv.example.conf')
-rw-r--r--data/nickserv.example.conf286
1 files changed, 143 insertions, 143 deletions
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 3c2034ddb..67358b9d6 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -56,17 +56,14 @@ service
*
* Provides essential functionality for NickServ.
*/
-module { name = "nickserv" }
-
-/*
- * Configuration for NickServ provided by ns_main.
- */
-nickserv
+module
{
+ name = "nickserv"
+
/*
* The name of the client that should be NickServ.
*/
- name = "NickServ"
+ client = "NickServ"
/*
* Force users to give an e-mail address when they register a nick.
@@ -77,18 +74,11 @@ nickserv
/*
* Require users who change their email address to confirm they
- * own it.
+ * own their new email.
*/
confirmemailchanges = no
/*
- * Registration confirmation setting. Set to "none" for no registration confirmation,
- * "mail" for email confirmation, and "admin" to have services operators manually confirm
- * every registration. Set to "disable" to completely disable all registrations.
- */
- registration = "none"
-
- /*
* A message sent to users on connect if they use an unregistered nick.
*
* This directive is optional.
@@ -122,34 +112,12 @@ nickserv
defaults = "secure private hide_email hide_mask memo_signon memo_receive autoop"
/*
- * A list of languages to load on startup that will be available in /nickserv set language.
- * Useful if you translate Anope to your language. (Explained further in docs/LANGUAGE).
- * Note that english should not be listed here because it is the base language.
- *
- * Removing .UTF-8 will instead use the default encoding for the language, eg. iso-8859-1 for western European languages.
- */
- languages = "ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 tr_TR.UTF-8"
-
- /*
- * Default language that non- and newly-registered nicks will receive messages in.
- * Leave empty to default to English.
- */
- #defaultlanguage = "es_ES.UTF-8"
-
- /*
* The minimum length of time between consecutive uses of NickServ's REGISTER command. This
* directive is optional, but recommended. If not set, this restriction will be disabled.
*/
regdelay = 30s
/*
- * The minimum length of time between consecutive uses of NickServ's RESEND command.
- *
- * This directive is optional, but recommended. If not set, this restriction will be disabled.
- */
- resenddelay = 90s
-
- /*
* The length of time before a nick's registration expires.
*
* This directive is optional, but recommended. If not set, the default is 21 days.
@@ -157,13 +125,6 @@ nickserv
expire = 21d
/*
- * The length of time before a suspended nick becomes unsuspended.
- *
- * This directive is optional. If not set, the default is never.
- */
- #suspendexpire = 90d
-
- /*
* The length of time a user using an unconfirmed account has
* before the account will be released for general use again.
*
@@ -172,57 +133,6 @@ nickserv
#unconfirmedexpire = 1d
/*
- * The maximum number of nicks allowed in a group.
- *
- * This directive is optional, but recommended. If not set or set to 0, no limits will be applied.
- */
- maxaliases = 16
-
- /*
- * The maximum number of entries allowed on a nickname's access list.
- */
- accessmax = 32
-
- /*
- * The username (and possibly hostname) used for the fake user created when NickServ collides
- * a user.
- */
- enforceruser = "enforcer"
- enforcerhost = "localhost.net"
-
- /*
- * The delay before a NickServ collided nick is released.
- */
- releasetimeout = 1m
-
- /*
- * Allow the use of the IMMED option in the NickServ SET KILL command.
- *
- * This directive is optional.
- */
- #allowkillimmed = yes
-
- /*
- * If set, the NickServ GROUP command won't allow any group change. This is recommended for
- * better performance and to protect against nick stealing, however users will have less
- * flexibility.
- *
- * This directive is optional, but recommended.
- */
- #nogroupchange = yes
-
- /*
- * The maximum number of nicks to be returned for a NickServ LIST command.
- */
- listmax = 50
-
- /*
- * When a user's nick is forcibly changed to enforce a "nick kill", their new nick will start
- * with this value. The rest will be made up of 6 or 7 digits.
- */
- guestnickprefix = "Guest"
-
- /*
* Prevents the use of the ACCESS (excluding the LIST subcommand), DROP, FORBID, SUSPEND,
* GETPASS and SET PASSWORD commands by services operators on other services operators.
*
@@ -231,14 +141,6 @@ nickserv
secureadmins = yes
/*
- * If set, any user wanting to use the privileges of Services Root, Services Admin, or Services
- * Operator must have been logged as an IRC Operator with the /OPER command.
- *
- * This directive is optional, but recommended.
- */
- strictprivileges = yes
-
- /*
* If set, Services will set the channel modes a user has access to upon identifying, assuming
* they are not already set.
*
@@ -247,17 +149,17 @@ nickserv
modeonid = yes
/*
- * If set, Services will add the usermask of registering users to the access list of their
- * newly created account. If not set, users will always have to identify to NickServ before
- * being recognized, unless they manually add an address to the access list of their account.
+ * If set, Services will set these user modes on any user who identifies.
+ *
* This directive is optional.
*/
- addaccessonreg = yes
+ #modesonid = "+R"
/*
- * The maximum number of channels a user can have on NickServ's AJOIN command.
+ * If set, Services will not show netsplits in the last quit message field
+ * of NickServ's INFO command.
*/
- ajoinmax = 10
+ hidenetsplitquit = no
/*
* If set, is the length of time NickServ's killquick and kill options wait before
@@ -267,32 +169,18 @@ nickserv
kill = 60s
/*
- * If set, Services will set these user modes on any user who identifies.
+ * If set, forbids the registration of nicks that contain an existing
+ * nick with Services access. For example, if Tester is a Services Oper,
+ * you can't register NewTester or Tester123 unless you are an IRC
+ * Operator.
*
- * This directive is optional.
- */
- #modesonid = "+R"
-
- /*
- * If set, Services will svsnick and svsjoin users who use the recover
- * command on an identified user to the nick and channels of the recovered user.
+ * NOTE: If you enable this, you will have to be logged in as an IRC
+ * operator in order to register a Services Root nick when setting up
+ * Anope for the first time.
*
- * This directive is opional.
- */
- restoreonrecover = yes
-
- /*
- * Some IRCds allow "SASL" authentication to let users identify to Services
- * during the IRCd user registration process. If set, Services will allow
- * authenticating users through this mechanism.
- */
- sasl = yes
-
- /*
- * If set, Services will not show netsplits in the last quit message field
- * of NickServ's INFO command.
+ * This directive is optional.
*/
- hidenetsplitquit = no
+ #restrictopernicks = yes
}
/*
@@ -327,7 +215,24 @@ command { service = "NickServ"; name = "HELP"; command = "generic/help"; }
*
* Used for configuring what hosts have access to your account.
*/
-module { name = "ns_access" }
+module
+{
+ name = "ns_access"
+
+ /*
+ * The maximum number of entries allowed on a nickname's access list.
+ */
+ accessmax = 32
+
+ /*
+ * If set, Services will add the usermask of registering users to the access list of their
+ * newly created account. If not set, users will always have to identify to NickServ before
+ * being recognized, unless they manually add an address to the access list of their account.
+ * This directive is optional.
+ */
+ addaccessonreg = yes
+}
+
command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
/*
@@ -337,7 +242,15 @@ command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
*
* Used for configuring channels to join once you identify.
*/
-module { name = "ns_ajoin" }
+module
+{
+ name = "ns_ajoin"
+
+ /*
+ * The maximum number of channels a user can have on NickServ's AJOIN command.
+ */
+ ajoinmax = 10
+}
command { service = "NickServ"; name = "AJOIN"; command = "nickserv/ajoin"; }
/*
@@ -399,7 +312,26 @@ command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail"
*
* Used for controlling nick groups.
*/
-module { name = "ns_group" }
+module
+{
+ name = "ns_group"
+
+ /*
+ * The maximum number of nicks allowed in a group.
+ *
+ * This directive is optional, but recommended. If not set or set to 0, no limits will be applied.
+ */
+ maxaliases = 16
+
+ /*
+ * If set, the NickServ GROUP command won't allow any group change. This is recommended for
+ * better performance and to protect against nick stealing, however users will have less
+ * flexibility.
+ *
+ * This directive is optional, but recommended.
+ */
+ #nogroupchange = yes
+}
command { service = "NickServ"; name = "GLIST"; command = "nickserv/glist"; }
command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; }
command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; }
@@ -432,7 +364,15 @@ command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; }
*
* Used for retrieving and searching the registered account list.
*/
-module { name = "ns_list" }
+module
+{
+ name = "ns_list"
+
+ /*
+ * The maximum number of nicks to be returned for a NickServ LIST command.
+ */
+ listmax = 50
+}
command { service = "NickServ"; name = "LIST"; command = "nickserv/list"; group = "nickserv/admin"; }
/*
@@ -452,9 +392,20 @@ command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; }
*
* Used for recovering your nick from services or another user.
*/
-module { name = "ns_recover" }
+module
+{
+ name = "ns_recover"
+
+ /*
+ * If set, Services will svsnick and svsjoin users who use the recover
+ * command on an identified user to the nick and channels of the recovered user.
+ *
+ * This directive is opional.
+ */
+ restoreonrecover = yes
+}
command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; }
-# Uncomment below to emulate 1.8's behavior of ghost, recover, and release.
+# Uncomment below to emulate 1.8's behavior of ghost and release.
#command { service = "NickServ"; name = "GHOST"; command = "nickserv/recover"; }
#command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; }
@@ -465,7 +416,33 @@ command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover";
*
* Used for registering accounts.
*/
-module { name = "ns_register" }
+module
+{
+ name = "ns_register"
+
+ /*
+ * Registration confirmation setting. Set to "none" for no registration confirmation,
+ * "mail" for email confirmation, and "admin" to have services operators manually confirm
+ * every registration. Set to "disable" to completely disable all registrations.
+ */
+ registration = "none"
+
+ /*
+ * The minimum length of time between consecutive uses of NickServ's RESEND command.
+ *
+ * This directive is optional, but recommended. If not set, this restriction will be disabled.
+ */
+ resenddelay = 90s
+
+ /*
+ * Prevents users from registering their nick if they are not connected
+ * for at least the given number of seconds.
+ *
+ * This directive is optional.
+ */
+ #nickregdelay = 30
+}
+
command { service = "NickServ"; name = "CONFIRM"; command = "nickserv/confirm"; }
command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register"; }
command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; }
@@ -500,7 +477,18 @@ command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpas
*
* This is a dummy command to provide a help wrapper for the various SET and SASET commands.
*/
-module { name = "ns_set" }
+module
+{
+ name = "ns_set"
+
+ /*
+ * Allow the use of the IMMED option in the NickServ SET KILL command.
+ *
+ * This directive is optional.
+ */
+ #allowkillimmed = yes
+}
+
command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"; }
@@ -575,7 +563,18 @@ command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; }
*
* Used to suspend and unsuspend nicknames. Suspended nicknames can not be used but their settings are preserved.
*/
-module { name = "ns_suspend" }
+module
+{
+ name = "ns_suspend"
+
+ /*
+ * The length of time before a suspended nick becomes unsuspended.
+ *
+ * This directive is optional. If not set, the default is never.
+ */
+ #suspendexpire = 90d
+}
+
command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
@@ -600,9 +599,10 @@ command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; }
* Limits how many times the same email address may be used in Anope
* to register accounts.
*/
-module { name = "ns_maxemail" }
-ns_maxemail
+module
{
+ name = "ns_maxemail"
+
/*
* The limit to how many registered nicks can use the same e-mail address. If set to 0 or left
* commented, there will be no limit enforced when registering new accounts or using