From 6302f980fe6dad83aab7d2dc1046dadea5ffd939 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 14 Dec 2015 16:52:24 -0500 Subject: New source tree structure for modules. From commands/cs_access => chanserv/access etc. --- data/bahamut.example.conf | 2 +- data/botserv.example.conf | 38 +-- data/chanserv.example.conf | 130 +++++----- data/chanstats.example.conf | 2 +- data/example.conf | 35 ++- data/global.example.conf | 6 +- data/hostserv.example.conf | 30 +-- data/hybrid.example.conf | 2 +- data/inspircd20.example.conf | 2 +- data/memoserv.example.conf | 52 ++-- data/modules.example.conf | 122 ++++----- data/ngircd.example.conf | 2 +- data/nickserv.example.conf | 96 +++---- data/operserv.example.conf | 124 ++++----- data/plexus.example.conf | 2 +- data/ratbox.example.conf | 2 +- data/stats.standalone.example.conf | 512 ------------------------------------- data/unreal.example.conf | 2 +- 18 files changed, 322 insertions(+), 839 deletions(-) delete mode 100644 data/stats.standalone.example.conf (limited to 'data') diff --git a/data/bahamut.example.conf b/data/bahamut.example.conf index e43e2409f..894d03411 100644 --- a/data/bahamut.example.conf +++ b/data/bahamut.example.conf @@ -1,7 +1,7 @@ module { - name = "bahamut" + name = "protocol/bahamut" } usermode diff --git a/data/botserv.example.conf b/data/botserv.example.conf index 83154e0c4..817188bc8 100644 --- a/data/botserv.example.conf +++ b/data/botserv.example.conf @@ -76,7 +76,7 @@ service */ module { - name = "botserv" + name = "botserv/main" /* * The name of the client that should be BotServ. @@ -148,7 +148,7 @@ module command { service = "BotServ"; name = "HELP"; command = "generic/help"; } /* - * bs_assign + * botserv/gassign * * Provides the commands: * botserv/assign - Used to assign BotServ bots to channels @@ -157,19 +157,19 @@ command { service = "BotServ"; name = "HELP"; command = "generic/help"; } * * Used for assigning and unassigning bots to channels. */ -module { name = "bs_assign" } +module { name = "botserv/assign" } command { service = "BotServ"; name = "ASSIGN"; command = "botserv/assign"; } command { service = "BotServ"; name = "UNASSIGN"; command = "botserv/unassign"; } command { service = "BotServ"; name = "SET NOBOT"; command = "botserv/set/nobot"; permission = "botserv/set/nobot"; } /* - * bs_autoassign + * botserv/gautoassign * * Allows service bots to be automatically assigned to channels upon registration. */ #module { - name = "bs_autoassign" + name = "botserv/autoassign" /* * Automatically assign ChanServ to channels upon registration. @@ -178,7 +178,7 @@ command { service = "BotServ"; name = "SET NOBOT"; command = "botserv/set/nobot" } /* - * bs_badwords + * botserv/gbadwords * * Provides the command botserv/badwords. * @@ -186,7 +186,7 @@ command { service = "BotServ"; name = "SET NOBOT"; command = "botserv/set/nobot" */ module { - name = "bs_badwords" + name = "botserv/badwords" /* * The maximum number of entries a single bad words list can have. @@ -203,48 +203,48 @@ module command { service = "BotServ"; name = "BADWORDS"; command = "botserv/badwords"; } /* - * bs_bot + * botserv/gbot * * Provides the command botserv/bot. * * Used for administrating BotServ bots. */ -module { name = "bs_bot" } +module { name = "botserv/gbot" } command { service = "BotServ"; name = "BOT"; command = "botserv/bot"; permission = "botserv/bot"; } /* - * bs_botlist + * botserv/gbotlist * * Provides the command botserv/botlist. * * Used for listing all available bots. */ -module { name = "bs_botlist" } +module { name = "botserv/gbotlist" } command { service = "BotServ"; name = "BOTLIST"; command = "botserv/botlist"; } /* - * bs_control + * botserv/gcontrol * * Provides the commands botserv/act and botserv/say. * * Used for making the bot message a channel. */ -module { name = "bs_control" } +module { name = "botserv/gcontrol" } command { service = "BotServ"; name = "ACT"; command = "botserv/act"; } command { service = "BotServ"; name = "SAY"; command = "botserv/say"; } /* - * bs_info + * botserv/ginfo * * Provides the command botserv/info. * * Used for getting information on bots or channels. */ -module { name = "bs_info" } +module { name = "botserv/ginfo" } command { service = "BotServ"; name = "INFO"; command = "botserv/info"; } /* - * bs_kick + * botserv/gkick * * Provides the commands: * botserv/kick - Dummy help wrapper for the KICK command. @@ -265,7 +265,7 @@ command { service = "BotServ"; name = "INFO"; command = "botserv/info"; } */ module { - name = "bs_kick" + name = "botserv/gkick" /* * The amount of time that data for a user is valid in BotServ. If the data exceeds this time, @@ -299,12 +299,12 @@ command { service = "BotServ"; name = "SET DONTKICKVOICES"; command = "botserv/s /* - * bs_set + * botserv/gset * * Provides the commands: * botserv/set/private - Used to prohibit specific BotServ bots from being assigned to channels. */ -module { name = "bs_set" } +module { name = "botserv/gset" } command { service = "BotServ"; name = "SET"; command = "botserv/set"; } command { service = "BotServ"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; } command { service = "BotServ"; name = "SET PRIVATE"; command = "botserv/set/private"; permission = "botserv/set/private"; } diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 86ca969fc..a12071f3a 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "chanserv" + name = "chanserv/main" /* * The name of the client that should be ChanServ. @@ -65,9 +65,9 @@ module * - keeptopic: Retain topic when the channel is not in use * - peace: Disallow users from kicking or removing modes from others who are of the same * access level or superior - * - cs_private: Hide the channel from ChanServ's LIST command + * - chanserv/private: Hide the channel from ChanServ's LIST command * - restricted: Kick/ban users who are restricted from the channel - * - cs_secure: Enable channel security, requiring the user to be identified with NickServ in + * - chanserv/secure: Enable channel security, requiring the user to be identified with NickServ in * order to be considered for being on the access list of the channel * - secureops: Only allow operator status to be given if the user is on the access list * - securefounder: Only allow the real founder of the channel to drop the channel, change it's @@ -78,14 +78,14 @@ module * - topiclock: Disallow the topic to be changed except with ChanServ's TOPIC command * - persist: Keep the channel open at all times * - noautoop: Disables autoop on the channel - * - cs_keep_modes: Enables keep modes on the channel, which retains modes when the channel is + * - chanserv/keep_modes: Enables keep modes on the channel, which retains modes when the channel is * not in use. * - none: No defaults * - * This directive is optional, if left blank, the options will default to keeptopic, cs_secure, securefounder, + * This directive is optional, if left blank, the options will default to keeptopic, chanserv/secure, securefounder, * and signkick. If you really want no defaults, use "none" by itself as the option. */ - defaults = "keeptopic peace cs_secure securefounder signkick" + defaults = "keeptopic peace chanserv/secure securefounder signkick" /* * The maximum number of channels which may be registered to a single nickname. @@ -175,14 +175,14 @@ module * determine how powerful privileges are relative to other privileges, which is used by Anope to determine * who has greater access in a channel. * - * If you load cs_access, you may define a level for the privilege, which is used by chanserv/access and chanserv/levels. + * If you load chanserv/access, you may define a level for the privilege, which is used by chanserv/access and chanserv/levels. * The levels defined will be used as the default levels for newly registered channels. * The level "founder" is a special level which means anyone with the privilege FOUNDER on the channel * has that permission. Additionally, the level "disabled" means that no one can use the privilege, including founders. * - * If you load cs_flags, you may define a flag associated with that privilege for use in chanserv/flags. + * If you load chanserv/flags, you may define a flag associated with that privilege for use in chanserv/flags. * - * If you load cs_xop, you may define a XOP command to associate the privilege with. + * If you load chanserv/xop, you may define a XOP command to associate the privilege with. * * The name of privileges are uesd to associate them with channel modes. If you are using an IRCd that allows you to define additional * channel status modes, such as InspIRCd, you can associate privileges (and thus access levels, flags, xop) with the mode by naming @@ -822,7 +822,7 @@ command_group command { service = "ChanServ"; name = "HELP"; command = "generic/help"; } /* - * cs_access + * chanserv/access * * Provides commands chanserv/access and chanserv/levels. * Provides the access system "levels". @@ -831,15 +831,15 @@ command { service = "ChanServ"; name = "HELP"; command = "generic/help"; } * are representated by given level on a per channel basis. * * The "LIST" subcommand of chanserv/access will show every access entry on the channel, including access - * entries not added by cs_access. The "level" of these entries will be the representation of the access + * entries not added by chanserv/access. The "level" of these entries will be the representation of the access * entry by the other access system, which could be an XOP command name, or a set of flags. */ -module { name = "cs_access" } +module { name = "chanserv/access" } command { service = "ChanServ"; name = "ACCESS"; command = "chanserv/access"; group = "chanserv/access"; } command { service = "ChanServ"; name = "LEVELS"; command = "chanserv/levels"; group = "chanserv/access"; } /* - * cs_akick + * chanserv/akick * * Provides the command chanserv/akick. * @@ -847,7 +847,7 @@ command { service = "ChanServ"; name = "LEVELS"; command = "chanserv/levels"; gr */ module { - name = "cs_akick" + name = "chanserv/akick" /* * The maximum number of entries on a channel's autokick list. @@ -862,7 +862,7 @@ module command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; group = "chanserv/management"; } /* - * cs_ban + * chanserv/ban * * Provides the command chanserv/ban. * @@ -874,41 +874,41 @@ command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; grou * * Used for banning users from channels. */ -module { name = "cs_ban" } +module { name = "chanserv/ban" } command { service = "ChanServ"; name = "BAN"; command = "chanserv/ban"; } /* - * cs_clone + * chanserv/clone * * Provides the command chanserv/clone. * * Used for copying channel settings from one channel to another. */ -module { name = "cs_clone" } +module { name = "chanserv/clone" } command { service = "ChanServ"; name = "CLONE"; command = "chanserv/clone"; group = "chanserv/management"; } /* - * cs_drop + * chanserv/drop * * Provides the command chanserv/drop. * * Used for unregistering channels. */ -module { name = "cs_drop" } +module { name = "chanserv/drop" } command { service = "ChanServ"; name = "DROP"; command = "chanserv/drop"; } /* - * cs_enforce + * chanserv/enforce * * Provides the command chanserv/enforce. * * Used to enforce various channel settings such as secureops and restricted. */ -module { name = "cs_enforce" } +module { name = "chanserv/enforce" } command { service = "ChanServ"; name = "ENFORCE"; command = "chanserv/enforce"; group = "chanserv/management"; } /* - * cs_entrymsg + * chanserv/entrymsg * * Provides the command chanserv/entrymsg. * @@ -916,7 +916,7 @@ command { service = "ChanServ"; name = "ENFORCE"; command = "chanserv/enforce"; */ module { - name = "cs_entrymsg" + name = "chanserv/entrymsg" /* The maximum number of entrymsgs allowed per channel. If not set, defaults to 5. */ maxentries = 5 @@ -924,7 +924,7 @@ module command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"; group = "chanserv/management"; } /* - * cs_flags + * chanserv/flags * * Provides the command chanserv/flags. * Provides the access system "flags". @@ -932,54 +932,54 @@ command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg" * Used for giving users access in channels. * * The "LIST" subcommand of chanserv/flags will show every access entry on the channel, including access - * entries not added by cs_flags. The "Flags" of these entries will be the flags representation of the + * entries not added by chanserv/flags. The "Flags" of these entries will be the flags representation of the * privilege set granted by the access entry. */ -module { name = "cs_flags" } +module { name = "chanserv/flags" } command { service = "ChanServ"; name = "FLAGS"; command = "chanserv/flags"; group = "chanserv/access"; } /* - * cs_getkey + * chanserv/getkey * * Provides the command chanserv/getkey. * * Used for getting the key for channels. */ -module { name = "cs_getkey" } +module { name = "chanserv/getkey" } command { service = "ChanServ"; name = "GETKEY"; command = "chanserv/getkey"; } /* - * cs_info + * chanserv/info * * Provides the command chanserv/info. * * Used for getting information about channels. */ -module { name = "cs_info" } +module { name = "chanserv/info" } command { service = "ChanServ"; name = "INFO"; command = "chanserv/info"; } /* - * cs_invite + * chanserv/invite * * Provides the command chanserv/invite. * * Used for inviting yourself in to channels. */ -module { name = "cs_invite" } +module { name = "chanserv/invite" } command { service = "ChanServ"; name = "INVITE"; command = "chanserv/invite"; } /* - * cs_kick + * chanserv/kick * * Provides the command chanserv/kick. * * Used for kicking users from channels. */ -module { name = "cs_kick" } +module { name = "chanserv/kick" } command { service = "ChanServ"; name = "KICK"; command = "chanserv/kick"; } /* - * cs_list + * chanserv/list * * Provides the commands: * chanserv/list - Used for retrieving and searching the registered channel list. @@ -987,7 +987,7 @@ command { service = "ChanServ"; name = "KICK"; command = "chanserv/kick"; } */ module { - name = "cs_list" + name = "chanserv/list" /* * The maximum number of channels to be returned for a ChanServ LIST command. @@ -1000,7 +1000,7 @@ command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/pr /* - * cs_log + * chanserv/log * * Provides the command chanserv/log. * @@ -1008,7 +1008,7 @@ command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/pr */ module { - name = "cs_log" + name = "chanserv/log" /* Default log settings for newly registered channels */ @@ -1041,7 +1041,7 @@ module command { service = "ChanServ"; name = "LOG"; command = "chanserv/log"; group = "chanserv/management"; } /* - * cs_mode + * chanserv/mode * * Provides the command chanserv/mode and chanserv/modes. * @@ -1051,7 +1051,7 @@ command { service = "ChanServ"; name = "LOG"; command = "chanserv/log"; group = */ module { - name = "cs_mode" + name = "chanserv/mode" /* * Default modes for mode lock, these are set on newly registered channels. @@ -1086,17 +1086,17 @@ command { service = "ChanServ"; name = "DEVOICE"; command = "chanserv/modes"; gr /* - * cs_register + * chanserv/register * * Provides the commands chanserv/register. * * Used for registering channels. */ -module { name = "cs_register" } +module { name = "chanserv/register" } command { service = "ChanServ"; name = "REGISTER"; command = "chanserv/register"; } /* - * cs_seen + * chanserv/seen * * Provides the commands chanserv/seen and operserv/seen. * @@ -1105,7 +1105,7 @@ command { service = "ChanServ"; name = "REGISTER"; command = "chanserv/register" */ module { - name = "cs_seen" + name = "chanserv/seen" /* If set, uses the older 1.8 style seen, which is less resource intensive */ simple = false @@ -1119,7 +1119,7 @@ module command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; } /* - * cs_set + * chanserv/set * * Provides the commands: * chanserv/set and chanserv/saset - Dummy help wrappers for the SET commands. @@ -1142,7 +1142,7 @@ command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permis */ module { - name = "cs_set" + name = "chanserv/set" /* * The default ban type for newly registered channels. @@ -1180,30 +1180,30 @@ command { service = "ChanServ"; name = "SET SUCCESSOR"; command = "chanserv/set/ command { service = "ChanServ"; name = "SET NOEXPIRE"; command = "chanserv/saset/noexpire"; permission = "chanserv/saset/noexpire"; } /* - * cs_set_misc + * chanserv/set_misc * * Provides the command chanserv/set/misc. * * Allows you to create arbitrary commands to set data, and have that data show up in chanserv/info. * A field named misc_description may be given for use with help output. */ -module { name = "cs_set_misc" } +module { name = "chanserv/set_misc" } command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; misc_description = _("Associate a URL with the channel"); } command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; misc_description = _("Associate an E-mail address with the channel"); } /* - * cs_status + * chanserv/status * * Provides the command chanserv/status. * * Used for determining a user's access on a channel and whether * or not they match any autokick entries. */ -module { name = "cs_status" } +module { name = "chanserv/status" } command { service = "ChanServ"; name = "STATUS"; command = "chanserv/status"; } /* - * cs_suspend + * chanserv/suspend * * Provides the commands chanserv/suspend and chanserv/unsuspend. * @@ -1211,7 +1211,7 @@ command { service = "ChanServ"; name = "STATUS"; command = "chanserv/status"; } */ module { - name = "cs_suspend" + name = "chanserv/suspend" /* * The length of time before a suspended channel expires. @@ -1232,50 +1232,50 @@ command { service = "ChanServ"; name = "SUSPEND"; command = "chanserv/suspend"; command { service = "ChanServ"; name = "UNSUSPEND"; command = "chanserv/unsuspend"; permission = "chanserv/suspend"; group = "chanserv/admin"; } /* - * cs_sync + * chanserv/sync * * Provides the command chanserv/sync. * * Used to sync users channel status modes with what access they have. */ -module { name = "cs_sync" } +module { name = "chanserv/sync" } command { service = "ChanServ"; name = "SYNC"; command = "chanserv/sync"; group = "chanserv/management"; } /* - * cs_topic + * chanserv/topic * * Provides the commands: * chanserv/topic - Used for changing the channel topic. Useful in conjunction with chanserv/set/topiclock. * chanserv/set/keeptopic - Used for configuring if ChanServ is to restore the channel topic when a channel is created. * */ -module { name = "cs_topic" } +module { name = "chanserv/topic" } command { service = "ChanServ"; name = "TOPIC"; command = "chanserv/topic"; group = "chanserv/management"; } command { service = "ChanServ"; name = "SET KEEPTOPIC"; command = "chanserv/set/keeptopic"; } /* - * cs_unban + * chanserv/unban * * Provides the command chanserv/unban. * * Used for unbanning users from channels. */ -module { name = "cs_unban" } +module { name = "chanserv/unban" } command { service = "ChanServ"; name = "UNBAN"; command = "chanserv/unban"; } /* - * cs_updown + * chanserv/updown * * Provides the commands chanserv/up and chanserv/down. * * Used for setting or removing your status modes on a channel. */ -module { name = "cs_updown" } +module { name = "chanserv/updown" } command { service = "ChanServ"; name = "DOWN"; command = "chanserv/down"; group = "chanserv/status"; } command { service = "ChanServ"; name = "UP"; command = "chanserv/up"; group = "chanserv/status"; } /* - * cs_xop + * chanserv/xop * * Provides the command chanserv/xop. * Provides the access system "XOP". @@ -1288,7 +1288,7 @@ command { service = "ChanServ"; name = "UP"; command = "chanserv/up"; group = "c * The "LIST" subcommand of chanserv/xop will show only XOP access entries of the given XOP type. You * can not view the entire access list at once, and instead should use another access system to do that. */ -module { name = "cs_xop" } +module { name = "chanserv/xop" } command { service = "ChanServ"; name = "QOP"; command = "chanserv/xop"; group = "chanserv/access"; } command { service = "ChanServ"; name = "SOP"; command = "chanserv/xop"; group = "chanserv/access"; } command { service = "ChanServ"; name = "AOP"; command = "chanserv/xop"; group = "chanserv/access"; } @@ -1301,9 +1301,9 @@ command { service = "ChanServ"; name = "VOP"; command = "chanserv/xop"; group = */ /* - * cs_statusupdate + * chanserv/statusupdate * * This module automatically updates users status on channels when the * channel's access list is modified. */ -module { name = "cs_statusupdate" } +module { name = "chanserv/statusupdate" } diff --git a/data/chanstats.example.conf b/data/chanstats.example.conf index 64f57da30..df19374a2 100644 --- a/data/chanstats.example.conf +++ b/data/chanstats.example.conf @@ -5,7 +5,7 @@ module { - name = "m_chanstats" + name = "chanstats" /* * The name of this engine. diff --git a/data/example.conf b/data/example.conf index 02f7f9016..6843c8021 100644 --- a/data/example.conf +++ b/data/example.conf @@ -1046,7 +1046,7 @@ mail */ #module { - name = "db_old" + name = "database/old" /* * This is the encryption type used by the databases. This must be set correctly or @@ -1064,7 +1064,7 @@ mail */ module { - name = "db_flatfile" + name = "database/flatfile" /* * The database name db_flatfile should use @@ -1105,10 +1105,10 @@ module */ #module { - name = "db_sql" + name = "database/sql" /* - * The SQL service db_sql should use, these are configured in modules.conf. + * The SQL service database/sql should use, these are configured in modules.conf. * For MySQL, this should probably be mysql/main. */ engine = "sqlite/main" @@ -1123,14 +1123,14 @@ module * db_redis. * * This module allows using Redis (http://redis.io) as a database backend. - * This module requires that m_redis is loaded and configured properly. + * This module requires the module redis to be loaded and configured properly. */ #module { - name = "db_redis" + name = "database/redis" /* - * Redis database to use. This must be configured with m_redis. + * Redis database to use. This must be configured with the module redis. */ engine = "redis/main" } @@ -1144,9 +1144,9 @@ module * * Without any encryption modules loaded users will not be able to authenticate unless * there is another module loaded that provides authentication checking, such as - * m_ldap_authentication or m_sql_authentication. + * ldap_authentication or sql_authentication. * - * With enc_none, passwords will be stored in plain text, allowing for passwords + * With encryption/none, passwords will be stored in plain text, allowing for passwords * to be recovered later but it isn't secure and therefore is not recommended. * * The other encryption modules use one-way encryption, so the passwords can not @@ -1158,21 +1158,16 @@ module * */ -#module { name = "enc_bcrypt" } -module { name = "enc_sha256" } - -/* - * When using enc_none, passwords will be stored without encryption. This isn't secure - * therefore it is not recommended. - */ -#module { name = "enc_none" } +#module { name = "encryption/bcrypt" } +module { name = "encryption/sha256" } /* * [DEPRECATED] Deprecated encryption modules. */ -#module { name = "enc_md5" } -#module { name = "enc_sha1" } -#module { name = "enc_old" } +#module { name = "encryption/md5" } +#module { name = "encryption/sha1" } +#module { name = "encryption/old" } +#module { name = "encryption/none" } /* Extra (optional) modules. */ diff --git a/data/global.example.conf b/data/global.example.conf index a299885aa..d6c856aea 100644 --- a/data/global.example.conf +++ b/data/global.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "global" + name = "global/main" /* * The name of the client that should be Global. @@ -96,11 +96,11 @@ module command { service = "Global"; name = "HELP"; command = "generic/help"; } /* - * gl_global + * global/global * * Provides the command global/global. * * Used for sending a message to every online user. */ -module { name = "gl_global" } +module { name = "global/global" } command { service = "Global"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; } diff --git a/data/hostserv.example.conf b/data/hostserv.example.conf index 47fa6f44f..685eb9722 100644 --- a/data/hostserv.example.conf +++ b/data/hostserv.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "hostserv" + name = "hostserv/main" /* * The name of the client that should be HostServ. @@ -77,18 +77,18 @@ module command { service = "HostServ"; name = "HELP"; command = "generic/help"; } /* - * hs_del + * hostserv/del * * Provides the commands hostserv/del and hostserv/delall. * * Used for removing users' vHosts. */ -module { name = "hs_del" } +module { name = "hostserv/del" } command { service = "HostServ"; name = "DEL"; command = "hostserv/del"; permission = "hostserv/del"; } command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; permission = "hostserv/del"; } /* - * hs_group + * hostserv/group * * Provides the command hostserv/group. * @@ -96,7 +96,7 @@ command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; pe */ module { - name = "hs_group" + name = "hostserv/group" /* * Upon nickserv/group, this option syncs the nick's main vHost to the grouped nick. @@ -111,37 +111,37 @@ module command { service = "HostServ"; name = "GROUP"; command = "hostserv/group"; } /* - * hs_list + * hostserv/list * * Provides the command hostserv/list. * * Used for listing actively set vHosts. */ -module { name = "hs_list" } +module { name = "hostserv/list" } command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; } /* - * hs_off + * hostserv/off * * Provides the command hostserv/off. * * Used for turning off your vHost. */ -module { name = "hs_off" } +module { name = "hostserv/off" } command { service = "HostServ"; name = "OFF"; command = "hostserv/off"; } /* - * hs_on + * hostserv/on * * Provides the command hostserv/on. * * Used for turning on your vHost. */ -module { name = "hs_on" } +module { name = "hostserv/on" } command { service = "HostServ"; name = "ON"; command = "hostserv/on"; } /* - * hs_request + * hostserv/request * * Provides the commands hostserv/request, hostserv/activate, hostserv/reject, and hostserv/waiting. * @@ -149,7 +149,7 @@ command { service = "HostServ"; name = "ON"; command = "hostserv/on"; } */ module { - name = "hs_request" + name = "hostserv/request" /* * If set, Services will send a memo to the user requesting a vHost when it's been @@ -168,12 +168,12 @@ command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; pe command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; permission = "hostserv/set"; } /* - * hs_set + * hostserv/set * * Provides the commands hostserv/set and hostserv/setall. * * Used for setting users' vHosts. */ -module { name = "hs_set" } +module { name = "hostserv/set" } command { service = "HostServ"; name = "SET"; command = "hostserv/set"; permission = "hostserv/set"; } command { service = "HostServ"; name = "SETALL"; command = "hostserv/setall"; permission = "hostserv/set"; } diff --git a/data/hybrid.example.conf b/data/hybrid.example.conf index 2af525c28..c44e67ca9 100644 --- a/data/hybrid.example.conf +++ b/data/hybrid.example.conf @@ -1,7 +1,7 @@ module { - name = "hybrid" + name = "protocol/hybrid" } usermode diff --git a/data/inspircd20.example.conf b/data/inspircd20.example.conf index 133b86089..db3611519 100644 --- a/data/inspircd20.example.conf +++ b/data/inspircd20.example.conf @@ -1,7 +1,7 @@ module { - name = "inspircd20" + name = "protocol/inspircd20" /* * Enables mode locks server-side. This reduces the spam caused by diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf index c001fa93d..cda9a02ae 100644 --- a/data/memoserv.example.conf +++ b/data/memoserv.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "memoserv" + name = "memoserv/main" /* * The name of the client that should be MemoServ. Clients are configured * with the service blocks. @@ -92,37 +92,37 @@ module command { service = "MemoServ"; name = "HELP"; command = "generic/help"; } /* - * ms_cancel + * memoserv/cancel * * Provides the command memoserv/cancel. * * Used to cancel memos already sent but not yet read. */ -module { name = "ms_cancel" } +module { name = "memoserv/cancel" } command { service = "MemoServ"; name = "CANCEL"; command = "memoserv/cancel"; } /* - * ms_check + * memoserv/check * * Provides the command memoserv/check. * * Used to check if a sent memo has been read. */ -module { name = "ms_check" } +module { name = "memoserv/check" } command { service = "MemoServ"; name = "CHECK"; command = "memoserv/check"; } /* - * ms_del + * memoserv/del * * Provides the command memoserv/del. * * Used to delete your memos. */ -module { name = "ms_del" } +module { name = "memoserv/del" } command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; } /* - * ms_ignore + * memoserv/ignore * * Provides the command memoserv/ignore. * @@ -130,7 +130,7 @@ command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; } */ module { - name = "ms_ignore" + name = "memoserv/ignore" /* * The maximum number of entries that may be on a memo ignore list. @@ -142,37 +142,37 @@ module command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; } /* - * ms_info + * memoserv/info * * Provides the command memoserv/info. * * Used to show memo related information about an account or a channel. */ -module { name = "ms_info" } +module { name = "memoserv/info" } command { service = "MemoServ"; name = "INFO"; command = "memoserv/info"; } /* - * ms_list + * memoserv/list * * Provides the command memoserv/list. * * Used to list your current memos. */ -module { name = "ms_list" } +module { name = "memoserv/list" } command { service = "MemoServ"; name = "LIST"; command = "memoserv/list"; } /* - * ms_read + * memoserv/read * * Provides the command memoserv/read. * * Used to read your memos. */ -module { name = "ms_read" } +module { name = "memoserv/read" } command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; } /* - * ms_rsend + * memoserv/rsend * * Provides the command memoserv/rsend. * @@ -182,10 +182,10 @@ command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; } */ #module { - name = "ms_rsend" + name = "memoserv/rsend" /* - * Only allow Services Operators to use ms_rsend. + * Only allow Services Operators to use memoserv/rsend. * * This directive is optional. */ @@ -194,41 +194,41 @@ command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; } #command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; } /* - * ms_send + * memoserv/send * * Provides the command memoserv/send. * * Used to send memos. */ -module { name = "ms_send" } +module { name = "memoserv/send" } command { service = "MemoServ"; name = "SEND"; command = "memoserv/send"; } /* - * ms_sendall + * memoserv/sendall * * Provides the command memoserv/sendall. * * Used to send a mass memo to every registered user. */ -module { name = "ms_sendall" } +module { name = "memoserv/sendall" } command { service = "MemoServ"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; } /* - * ms_set + * memoserv/set * * Provides the command memoserv/set. * * Used to set settings such as how you are notified of new memos, and your memo limit. */ -module { name = "ms_set" } +module { name = "memoserv/set" } command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; } /* - * ms_staff + * memoserv/staff * * Provides the command memoserv/staff. * * Used to send a memo to all registered staff members. */ -module { name = "ms_staff" } +module { name = "memoserv/staff" } command { service = "MemoServ"; name = "STAFF"; command = "memoserv/staff"; permission = "memoserv/staff"; } diff --git a/data/modules.example.conf b/data/modules.example.conf index c5d8fb3a4..7048e5e43 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -19,14 +19,14 @@ module { name = "help" } /* - * m_dns + * dns * * Adds support for the DNS protocol. By itself this module does nothing useful, - * but other modules such as m_dnsbl and os_dns require this. + * but other modules such as dnsbl and operserv/dns require this. */ #module { - name = "m_dns" + name = "dns" /* * The nameserver to use for resolving hostnames, must be an IP or a resolver configuration file. @@ -42,7 +42,7 @@ module { name = "help" } timeout = 5 - /* Only edit below if you are expecting to use os_dns or otherwise answer DNS queries. */ + /* Only edit below if you are expecting to use operserv/dns or otherwise answer DNS queries. */ /* * The IP and port services use to listen for DNS queries. @@ -80,7 +80,7 @@ module { name = "help" } } /* - * m_dnsbl + * dnsbl * * Allows configurable DNS blacklists to check connecting users against. If a user * is found on the blacklist they will be immediately banned. This is a crucial module @@ -88,7 +88,7 @@ module { name = "help" } */ #module { - name = "m_dnsbl" + name = "dnsbl" /* * If set, Services will check clients against the DNSBLs when services connect to its uplink. @@ -179,19 +179,19 @@ module { name = "help" } } /* - * m_helpchan + * helpchan * * Gives users who are op in the specified help channel usermode +h (helpop). */ #module { - name = "m_helpchan" + name = "helpchan" helpchannel = "#help" } /* - * m_httpd + * httpd * * Allows services to serve web pages. By itself, this module does nothing useful. * @@ -200,7 +200,7 @@ module { name = "help" } */ #module { - name = "m_httpd" + name = "httpd" httpd { @@ -232,13 +232,13 @@ module { name = "help" } } /* - * m_ldap [EXTRA] + * ldap [EXTRA] * * This module allows other modules to use LDAP. By itself, this module does nothing useful. */ #module { - name = "m_ldap" + name = "ldap" ldap { @@ -253,14 +253,14 @@ module { name = "help" } } /* - * m_ldap_authentication [EXTRA] + * ldap_authentication [EXTRA] * * This module allows many commands such as IDENTIFY, RELEASE, RECOVER, GHOST, etc. use - * LDAP to authenticate users. Requires m_ldap. + * LDAP to authenticate users. Requires ldap. */ #module { - name = "m_ldap_authentication" + name = "ldap_authentication" /* * The distinguished name used for searching for users's accounts. @@ -313,16 +313,16 @@ module { name = "help" } } /* - * m_ldap_oper [EXTRA] + * ldap_oper [EXTRA] * * This module dynamically ties users to Anope opertypes when they identify - * via LDAP group membership. Requires m_ldap. + * via LDAP group membership. Requires ldap. * * Note that this doesn't give the user privileges on the IRCd, only in Services. */ #module { - name = "m_ldap_oper" + name = "ldap_oper" /* * An optional binddn to use when searching for groups. @@ -354,13 +354,13 @@ module { name = "help" } } /* - * m_mysql [EXTRA] + * mysql [EXTRA] * * This module allows other modules to use MySQL. */ #module { - name = "m_mysql" + name = "mysql" mysql { @@ -374,13 +374,13 @@ module { name = "help" } } } /* - * m_redis + * redis * * This module allows other modules to use Redis. */ #module { - name = "m_redis" + name = "redis" /* A redis database */ redis @@ -399,16 +399,16 @@ module { name = "help" } } /* - * m_rewrite + * rewrite * * Allows rewriting commands sent to/from clients. */ -#module { name = "m_rewrite" } +#module { name = "rewrite" } #command { service = "ChanServ"; name = "CLEAR"; command = "rewrite" - /* Enable m_rewrite. */ + /* Enable rewrite. */ rewrite = true /* Source message to match. A $ can be used to match anything. */ @@ -429,7 +429,7 @@ module { name = "help" } } /* - * m_proxyscan + * proxyscan * * This module allows you to scan connecting clients for open proxies. * Note that using this will allow users to get the IP of your services. @@ -443,7 +443,7 @@ module { name = "help" } */ #module { - name = "m_proxyscan" + name = "proxyscan" /* * The target IP services tells the proxy to connect back to. This must be a publicly @@ -511,47 +511,47 @@ module { name = "help" } } /* - * m_sasl + * sasl * * Some IRCds allow "SASL" authentication to let users identify to Services * during the IRCd user registration process. If this module is loaded, Services will allow * authenticating users through this mechanism. Supported mechanisms are: * PLAIN, EXTERNAL. */ -#module { name = "m_sasl" } +#module { name = "sasl" } /* - * m_sasl_dh-aes [EXTRA] + * sasl_dh-aes [EXTRA] * * Add the DH-AES mechanism to SASL. - * Requires m_sasl to be loaded. + * Requires sasl to be loaded. * Requires openssl. */ -#module { name = "m_sasl_dh-aes" } +#module { name = "sasl_dh-aes" } /* - * m_sasl_dh-blowfish [EXTRA] + * sasl_dh-blowfish [EXTRA] * * Add the DH-BLOWFISH mechanism to SASL. - * Requires m_sasl to be loaded. + * Requires sasl to be loaded. * Requires openssl. */ -#module { name = "m_sasl_dh-blowfish" } +#module { name = "sasl_dh-blowfish" } /* - * m_ssl_gnutls [EXTRA] + * ssl_gnutls [EXTRA] * * This module provides SSL services to Anope using GnuTLS, for example to * connect to the uplink server(s) via SSL. * - * You may only load either m_ssl_gnutls or m_ssl_openssl, bot not both. + * You may only load either ssl_gnutls or ssl_openssl, bot not both. */ #module { - name = "m_ssl_gnutls" + name = "ssl_gnutls" /* - * An optional certificate and key for m_ssl_gnutls to give to the uplink. + * An optional certificate and key for ssl_gnutls to give to the uplink. * * You can generate your own certificate and key pair by using: * @@ -577,20 +577,20 @@ module { name = "help" } } /* - * m_ssl_openssl [EXTRA] + * ssl_openssl [EXTRA] * * This module provides SSL services to Anope using OpenSSL, for example to * connect to the uplink server(s) via SSL. * - * You may only load either m_ssl_openssl or m_ssl_gnutls, bot not both. + * You may only load either ssl_openssl or ssl_gnutls, bot not both. * */ #module { - name = "m_ssl_openssl" + name = "ssl_openssl" /* - * An optional certificate and key for m_ssl_openssl to give to the uplink. + * An optional certificate and key for ssl_openssl to give to the uplink. * * You can generate your own certificate and key pair by using: * @@ -610,16 +610,16 @@ module { name = "help" } } /* - * m_sql_authentication [EXTRA] + * sql_authentication [EXTRA] * * This module allows authenticating users against an external SQL database using a custom * query. */ #module { - name = "m_sql_authentication" + name = "sql_authentication" - /* SQL engine to use. Should be configured elsewhere with m_mysql, m_sqlite, etc. */ + /* SQL engine to use. Should be configured elsewhere with mysql, sqlite, etc. */ engine = "mysql/main" /* Query to execute to authenticate. A non empty result from this query is considered a success, @@ -661,7 +661,7 @@ module { name = "help" } } /* - * m_sql_log [EXTRA] + * sql_log [EXTRA] * * This module adds an additional target option to log{} blocks * that allows logging Service's logs to SQL. To log to SQL, add @@ -678,19 +678,19 @@ module { name = "help" } * it if it doesn't exist. This module does not create any indexes (keys) * on the table and it is recommended you add them yourself as necessary. */ -#module { name = "m_sql_log" } +#module { name = "sql_log" } /* - * m_sql_oper [EXTRA] + * sql_oper [EXTRA] * * This module allows granting users services operator privileges and possibly IRC Operator * privileges based on an external SQL database using a custom query. */ #module { - name = "m_sql_oper" + name = "sql_oper" - /* SQL engine to use. Should be configured elsewhere with m_mysql, m_sqlite, etc. */ + /* SQL engine to use. Should be configured elsewhere with mysql, sqlite, etc. */ engine = "mysql/main" /* Query to execute to determine if a user should have operator privileges. @@ -707,13 +707,13 @@ module { name = "help" } } /* - * m_sqlite [EXTRA] + * sqlite [EXTRA] * * This module allows other modules to use SQLite. */ #module { - name = "m_sqlite" + name = "sqlite" /* A SQLite database */ sqlite @@ -733,7 +733,7 @@ module { name = "help" } * as they could over IRC. If you are using the default configuration you should be able to access * this panel by visiting http://127.0.0.1:8080 in your web browser from the machine Anope is running on. * - * This module requires m_httpd. + * This module requires httpd. */ #module { @@ -750,23 +750,23 @@ module { name = "help" } } /* - * m_xmlrpc + * xmlrpc * * Allows remote applications (websites) to execute queries in real time to retrieve data from Anope. - * By itself this module does nothing, but allows other modules (m_xmlrpc_main) to receive and send XMLRPC queries. + * By itself this module does nothing, but allows other modules (xmlrpc_main) to receive and send XMLRPC queries. */ #module { - name = "m_xmlrpc" + name = "xmlrpc" - /* Web service to use. Requires m_httpd. */ + /* Web service to use. Requires httpd. */ server = "httpd/main" } /* - * m_xmlrpc_main + * xmlrpc_main * * Adds the main XMLRPC core functions. - * Requires m_xmlrpc. + * Requires xmlrpc. */ -#module { name = "m_xmlrpc_main" } +#module { name = "xmlrpc_main" } diff --git a/data/ngircd.example.conf b/data/ngircd.example.conf index 641b2cc20..7df67ce64 100644 --- a/data/ngircd.example.conf +++ b/data/ngircd.example.conf @@ -1,7 +1,7 @@ module { - name = "ngircd" + name = "protocol/ngircd" } usermode diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf index f8ffade33..0109aa104 100644 --- a/data/nickserv.example.conf +++ b/data/nickserv.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "nickserv" + name = "nickserv/main" /* * The name of the client that should be NickServ. @@ -85,9 +85,9 @@ module * - killprotect: Kill nick if not identified within 60 seconds * - kill_quick: Kill nick if not identified within 20 seconds, this one overrides the above * option and the above must be specified with this one - * - ns_secure: Enable nickname security, requiring the nick's password before any operations + * - nickserv/secure: Enable nickname security, requiring the nick's password before any operations * can be done on it - * - ns_private: Hide the nick from NickServ's LIST command + * - nickserv/private: Hide the nick from NickServ's LIST command * - hide_email: Hide's the nick's e-mail address from NickServ's INFO command * - hide_mask: Hide's the nick's last or current user@host from NickServ's INFO command * - hide_quit: Hide's the nick's last quit message @@ -97,12 +97,12 @@ module * - autoop: User will be automatically opped in channels they enter and have access to * - msg: Services messages will be sent as PRIVMSGs instead of NOTICEs, requires * options:useprivmsg to be enabled as well - * - ns_keepmodes: Enables keepmodes, which retains user modes across sessions + * - nickserv/keepmodes: Enables keepmodes, which retains user modes across sessions * - * This directive is optional, if left blank, the options will default to ns_secure, memo_signon, and + * This directive is optional, if left blank, the options will default to nickserv/secure, memo_signon, and * memo_receive. If you really want no defaults, use "none" by itself as the option. */ - defaults = "ns_secure ns_private hide_email hide_mask memo_signon memo_receive autoop" + defaults = "nickserv/secure nickserv/private hide_email hide_mask memo_signon memo_receive autoop" /* * The minimum length of time between consecutive uses of NickServ's REGISTER command. This @@ -229,7 +229,7 @@ command_group command { service = "NickServ"; name = "HELP"; command = "generic/help"; } /* - * ns_access + * nickserv/access * * Provides the command nickserv/access. * @@ -237,7 +237,7 @@ command { service = "NickServ"; name = "HELP"; command = "generic/help"; } */ module { - name = "ns_access" + name = "nickserv/access" /* * The maximum number of entries allowed on a nickname's access list. @@ -256,7 +256,7 @@ module command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; } /* - * ns_ajoin + * nickserv/ajoin * * Provides the command nickserv/ajoin. * @@ -264,7 +264,7 @@ command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; } */ module { - name = "ns_ajoin" + name = "nickserv/ajoin" /* * The maximum number of channels a user can have on NickServ's AJOIN command. @@ -274,17 +274,17 @@ module command { service = "NickServ"; name = "AJOIN"; command = "nickserv/ajoin"; } /* - * ns_alist + * nickserv/alist * * Provides the command nickserv/alist. * * Used for viewing what channels you have access to. */ -module { name = "ns_alist" } +module { name = "nickserv/alist" } command { service = "NickServ"; name = "ALIST"; command = "nickserv/alist"; } /* - * ns_cert + * nickserv/cert * * Provides the command nickserv/cert. * @@ -292,7 +292,7 @@ command { service = "NickServ"; name = "ALIST"; command = "nickserv/alist"; } */ module { - name = "ns_cert" + name = "nickserv/cert" /* * The maximum number of entries allowed on a nickname's certificate fingerprint list. @@ -303,27 +303,27 @@ module command { service = "NickServ"; name = "CERT"; command = "nickserv/cert"; } /* - * ns_drop + * nickserv/drop * * Provides the command nickserv/drop. * * Used for unregistering names. */ -module { name = "ns_drop" } +module { name = "nickserv/drop" } command { service = "NickServ"; name = "DROP"; command = "nickserv/drop"; } /* - * ns_getemail + * nickserv/getemail * * Provides the command nickserv/getemail. * * Used for getting registered accounts by searching for emails. */ -module { name = "ns_getemail" } +module { name = "nickserv/getemail" } command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail"; permission = "nickserv/getemail"; group = "nickserv/admin"; } /* - * ns_getpass + * nickserv/getpass * * Provides the command nickserv/getpass. * @@ -331,11 +331,11 @@ command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail" * * Requires no encryption is being used. */ -#module { name = "ns_getpass" } +#module { name = "nickserv/getpass" } #command { service = "NickServ"; name = "GETPASS"; command = "nickserv/getpass"; permission = "nickserv/getpass"; } /* - * ns_group + * nickserv/group * * Provides the commands nickserv/group, nickserv/glist, and nickserv/ungroup. * @@ -343,7 +343,7 @@ command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail" */ module { - name = "ns_group" + name = "nickserv/group" /* * The maximum number of nicks allowed in a group. @@ -366,7 +366,7 @@ command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; } command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; } /* - * ns_identify + * nickserv/identify * * Provides the command nickserv/identify. * @@ -374,7 +374,7 @@ command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; */ module { - name = "ns_identify" + name = "nickserv/identify" /* * If set, limits the number of concurrent users that can be logged in as a given account at once. @@ -385,14 +385,14 @@ command { service = "NickServ"; name = "ID"; command = "nickserv/identify"; hide command { service = "NickServ"; name = "IDENTIFY"; command = "nickserv/identify"; } /* - * ns_info + * nickserv/info * * Provides the commands: * nickserv/info. - Used for gathering information about an account. * nickserv/set/hide, nickserv/saset/hide - Used for configuring which options are publicly shown in nickserv/info. * */ -module { name = "ns_info" } +module { name = "nickserv/info" } command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; } command { service = "NickServ"; name = "SET HIDE"; command = "nickserv/set/hide"; } @@ -400,7 +400,7 @@ command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/h /* - * ns_list + * nickserv/list * * Provides the commands: * nickserv/list - Used for retrieving and searching the registered account list. @@ -409,7 +409,7 @@ command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/h */ module { - name = "ns_list" + name = "nickserv/list" /* * The maximum number of nicks to be returned for a NickServ LIST command. @@ -423,17 +423,17 @@ command { service = "NickServ"; name = "SASET PRIVATE"; command = "nickserv/sase /* - * ns_logout + * nickserv/logout * * Provides the command nickserv/logout. * * Used for logging out of your account. */ -module { name = "ns_logout" } +module { name = "nickserv/logout" } command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; } /* - * ns_recover + * nickserv/recover * * Provides the command nickserv/recover. * @@ -441,7 +441,7 @@ command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; } */ module { - name = "ns_recover" + name = "nickserv/recover" /* * If set, Services will svsnick and svsjoin users who use the recover @@ -457,7 +457,7 @@ command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; #command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; } /* - * ns_register + * nickserv/register * * Provides the commands nickserv/confirm, nickserv/register, and nickserv/resend. * @@ -465,7 +465,7 @@ command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; */ module { - name = "ns_register" + name = "nickserv/register" /* * Registration confirmation setting. Set to "none" for no registration confirmation, @@ -500,17 +500,17 @@ command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register" command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; } /* - * ns_resetpass + * nickserv/resetpass * * Provides the command nickserv/resetpass. * * Used for resetting passwords by emailing users a temporary one. */ -module { name = "ns_resetpass" } +module { name = "nickserv/resetpass" } command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpass"; } /* - * ns_set + * nickserv/set * * Provides the commands: * nickserv/set, nickserv/saset - Dummy help wrappers for the SET and SASET commands. @@ -527,7 +527,7 @@ command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpas */ module { - name = "ns_set" + name = "nickserv/set" /* * Allow the use of the IMMED option in the NickServ SET KILL command. @@ -571,14 +571,14 @@ command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/sas /* - * ns_set_misc + * nickserv/set_misc * * Provides the command nickserv/set/misc. * * Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info. * A field named misc_description may be given for use with help output. */ -module { name = "ns_set_misc" } +module { name = "nickserv/set_misc" } command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associate a URL with your account"); } 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"; } #command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; misc_description = _("Associate an ICQ account with your account"); } @@ -589,17 +589,17 @@ command { service = "NickServ"; name = "SASET URL"; command = "nickserv/saset/mi #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"; } /* - * ns_status + * nickserv/status * * Provides the nickserv/status command. * * Used to determine if a user is recognized or identified by services. */ -module { name = "ns_status" } +module { name = "nickserv/status" } command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; } /* - * ns_suspend + * nickserv/suspend * * Provides the commands nickserv/suspend and nickserv/unsuspend. * @@ -607,7 +607,7 @@ command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; } */ module { - name = "ns_suspend" + name = "nickserv/suspend" /* * The length of time before a suspended nick becomes unsuspended. @@ -627,13 +627,13 @@ command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; } /* - * ns_update + * nickserv/update * * Provides the command nickserv/update. * * Used to update your status on all channels, turn on your vHost, etc. */ -module { name = "ns_update" } +module { name = "nickserv/update" } command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; } @@ -642,14 +642,14 @@ command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; } */ /* - * ns_maxemail + * nickserv/maxemail * * Limits how many times the same email address may be used in Anope * to register accounts. */ #module { - name = "ns_maxemail" + name = "nickserv/maxemail" /* * The limit to how many registered nicks can use the same e-mail address. If set to 0 or left diff --git a/data/operserv.example.conf b/data/operserv.example.conf index 5554dcb42..1c83bede1 100644 --- a/data/operserv.example.conf +++ b/data/operserv.example.conf @@ -49,7 +49,7 @@ service */ module { - name = "operserv" + name = "operserv/main" /* * The name of the client that should be OperServ. @@ -126,27 +126,27 @@ module command { service = "OperServ"; name = "HELP"; command = "generic/help"; } /* - * os_akill + * operserv/akill * * Provides the command operserv/akill. * * Used to ban users from the network. */ -module { name = "os_akill" } +module { name = "operserv/akill" } command { service = "OperServ"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; } /* - * os_chankill + * operserv/chankill * * Provides the command operserv/chankill. * * Used to akill users from an entire channel. */ -module { name = "os_chankill" } +module { name = "operserv/chankill" } command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"; permission = "operserv/chankill"; } /* - * os_defcon + * operserv/defcon * * Provides the command operserv/defcon. * @@ -155,7 +155,7 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill" */ #module { - name = "os_defcon" + name = "operserv/defcon" /* * Default DefCon level (1-5) to use when starting Services up. Level 5 constitutes normal operation @@ -254,7 +254,7 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill" #command { service = "OperServ"; name = "DEFCON"; command = "operserv/defcon"; permission = "operserv/defcon"; } /* - * os_dns + * operserv/dns * * Provides the command operserv/dns. * @@ -286,7 +286,7 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill" */ #module { - name = "os_dns" + name = "operserv/dns" /* TTL for records. This should be very low if your records change often. */ ttl = 1m @@ -315,99 +315,99 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill" #command { service = "OperServ"; name = "DNS"; command = "operserv/dns"; permission = "operserv/dns"; } /* - * os_config + * operserv/config * * Provides the command operserv/config. * * Used to view and set configuration options while services are running. */ -module { name = "os_config" } +module { name = "operserv/config" } command { service = "OperServ"; name = "CONFIG"; command = "operserv/config"; permission = "operserv/config"; } /* - * os_forbid + * operserv/forbid * * Provides the command operserv/forbid. * * Used to forbid specific nicks, channels, emails, etc. from being used. */ -module { name = "os_forbid" } +module { name = "operserv/forbid" } command { service = "OperServ"; name = "FORBID"; command = "operserv/forbid"; permission = "operserv/forbid"; } /* - * os_ignore + * operserv/ignore * * Provides the command operserv/ignore. * * Used to make Services ignore users. */ -module { name = "os_ignore" } +module { name = "operserv/ignore" } command { service = "OperServ"; name = "IGNORE"; command = "operserv/ignore"; permission = "operserv/ignore"; } /* - * os_info + * operserv/info * * Provides the command operserv/info. * * Used to add oper only notes to users and channels. */ -module { name = "os_info" } +module { name = "operserv/info" } command { service = "OperServ"; name = "INFO"; command = "operserv/info"; permission = "operserv/info"; } /* - * os_jupe + * operserv/jupe * * Provides the command operserv/jupe. * * Used to disconnect servers from the network and prevent them from relinking. */ -module { name = "os_jupe" } +module { name = "operserv/jupe" } command { service = "OperServ"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; } /* - * os_kick + * operserv/kick * * Provides the command operserv/kick. * * Used to kick users from channels. */ -module { name = "os_kick" } +module { name = "operserv/kick" } command { service = "OperServ"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; } /* - * os_kill + * operserv/kill * * Provides the command operserv/kill. * * Used to forcibly disconnect users from the network. */ -module { name = "os_kill" } +module { name = "operserv/kill" } command { service = "OperServ"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; } /* - * os_list + * operserv/list * * Provides the commands operserv/chanlist and operserv/userlist. * * Used to list and search the channels and users currently on the network. */ -module { name = "os_list" } +module { name = "operserv/list" } command { service = "OperServ"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; } command { service = "OperServ"; name = "USERLIST"; command = "operserv/userlist"; permission = "operserv/userlist"; } /* - * os_login + * operserv/login * * Provides the commands operserv/login and operserv/logout. * * Used to login to OperServ, only required if your oper block requires this. */ -module { name = "os_login" } +module { name = "operserv/login" } command { service = "OperServ"; name = "LOGIN"; command = "operserv/login"; } command { service = "OperServ"; name = "LOGOUT"; command = "operserv/logout"; } /* - * os_logsearch + * operserv/logsearch * * Provides the command operserv/logsearch. * @@ -415,7 +415,7 @@ command { service = "OperServ"; name = "LOGOUT"; command = "operserv/logout"; } */ module { - name = "os_logsearch" + name = "operserv/logsearch" /* The log file name to search. There should be a log{} block configured to log * to a file of this name. @@ -425,41 +425,41 @@ module command { service = "OperServ"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; } /* - * os_mode + * operserv/mode * * Provides the commands operserv/mode and operserv/umode. * * Used to change user and channel modes. */ -module { name = "os_mode" } +module { name = "operserv/mode" } command { service = "OperServ"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; } command { service = "OperServ"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; } /* - * os_modinfo + * operserv/modinfo * * Provides the commands operserv/modinfo and operserv/modlist. * * Used to show information about loaded modules. */ -module { name = "os_modinfo" } +module { name = "operserv/modinfo" } command { service = "OperServ"; name = "MODINFO"; command = "operserv/modinfo"; permission = "operserv/modinfo"; } command { service = "OperServ"; name = "MODLIST"; command = "operserv/modlist"; permission = "operserv/modinfo"; } /* - * os_module + * operserv/module * * Provides the commands operserv/modload, operserv/modreload, and operserv/modunload. * * Used to load, reload, and unload modules. */ -module { name = "os_module" } +module { name = "operserv/module" } command { service = "OperServ"; name = "MODLOAD"; command = "operserv/modload"; permission = "operserv/modload"; } command { service = "OperServ"; name = "MODRELOAD"; command = "operserv/modreload"; permission = "operserv/modload"; } command { service = "OperServ"; name = "MODUNLOAD"; command = "operserv/modunload"; permission = "operserv/modload"; } /* - * os_news + * operserv/news * * Provides the commands operserv/logonnews, operserv/opernews, and operserv/randomnews. * @@ -467,7 +467,7 @@ command { service = "OperServ"; name = "MODUNLOAD"; command = "operserv/modunloa */ module { - name = "os_news" + name = "operserv/news" /* * The service bot names to use to send news to users on connection @@ -488,48 +488,48 @@ command { service = "OperServ"; name = "OPERNEWS"; command = "operserv/opernews" command { service = "OperServ"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; } /* - * os_noop + * operserv/noop * * Provides the command operserv/noop. * * Used to NOOP a server, which prevents users from opering on that server. */ -module { name = "os_noop" } +module { name = "operserv/noop" } command { service = "OperServ"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; } /* - * os_oline + * operserv/oline * * Provides the command operserv/oline. * * Used to set oper flags on users, and is specific to UnrealIRCd. * See /helpop ?svso on your IRCd for more information. */ -module { name = "os_oline" } +module { name = "operserv/oline" } command { service = "OperServ"; name = "OLINE"; command = "operserv/oline"; permission = "operserv/oline"; } /* - * os_oper + * operserv/oper * * Provides the command operserv/oper. * * Used to configure opers and show information about opertypes. */ -module { name = "os_oper" } +module { name = "operserv/oper" } command { service = "OperServ"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; } /* - * os_reload + * operserv/reload * * Provides the command operserv/reload. * * Used to reload the serv