mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:16:37 +02:00
Rewrote the example configurations and split them
up into seperate files for each pseudo client. Also reorganized how the modules are stored, and made most of the old "extra" modules "core"
This commit is contained in:
+5
-236
@@ -8,129 +8,13 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* bs_autoassign
|
||||
* help
|
||||
*
|
||||
* Allows service bots to be automatically assigned to channels upon registration.
|
||||
* Provides commands generic/help
|
||||
*
|
||||
* Is a generic help command that can be used with any client.
|
||||
*/
|
||||
#module { name = "bs_autoassign" }
|
||||
bs_autoassign
|
||||
{
|
||||
/*
|
||||
* Automatically assign ChanServ to channels upon registration.
|
||||
*/
|
||||
bot = "ChanServ"
|
||||
}
|
||||
|
||||
/*
|
||||
* cs_appendtopic
|
||||
*
|
||||
* Adds the APPENDTOPIC command to ChanServ, which allows users to easially append text to
|
||||
* the end of existing channel topics.
|
||||
*/
|
||||
module { name = "cs_appendtopic" }
|
||||
command { service = "ChanServ"; name = "APPENDTOPIC"; command = "chanserv/appendtopic"; }
|
||||
|
||||
/*
|
||||
* cs_enforce
|
||||
*
|
||||
* Adds the ENFORCE commad to ChanServ, which allows enforcing various channel settings like
|
||||
* SECUREOPS and RESTRICTED.
|
||||
*/
|
||||
module { name = "cs_enforce" }
|
||||
command { service = "ChanServ"; name = "ENFORCE"; command = "chanserv/enforce"; }
|
||||
|
||||
/*
|
||||
* cs_entrymsg
|
||||
*
|
||||
* Allows you to set entry messages on your channel, which are shown to anyone
|
||||
* who joins.
|
||||
*/
|
||||
module { name = "cs_entrymsg" }
|
||||
command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"; }
|
||||
cs_entrymsg
|
||||
{
|
||||
/* The maximum number of entrymsgs allowed per channel. If not set, defaults to 5. */
|
||||
maxentries = 5
|
||||
}
|
||||
|
||||
/*
|
||||
* cs_set_misc
|
||||
*
|
||||
* Allows you to create misc /chanserv set commands, and have the data
|
||||
* show up in /chanserv info.
|
||||
*/
|
||||
module { name = "cs_set_misc" }
|
||||
command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; }
|
||||
command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; }
|
||||
|
||||
/*
|
||||
* cs_sync
|
||||
*
|
||||
* Adds the chanserv/sync command, which syncs users channel status modes on a channel
|
||||
* with their access level.
|
||||
*/
|
||||
#module { name = "cs_sync" }
|
||||
#command { service = "ChanServ"; name = "SYNC"; command = "chanserv/sync"; }
|
||||
|
||||
/*
|
||||
* db_plain
|
||||
*
|
||||
* This is the default flatfile database format. You must have at least one database
|
||||
* module loaded or Anope will not save databases!
|
||||
*/
|
||||
module { name = "db_plain" }
|
||||
db_plain
|
||||
{
|
||||
/*
|
||||
* The database db_plain should use
|
||||
*/
|
||||
database = "anope.db"
|
||||
}
|
||||
|
||||
/*
|
||||
* db_mysql and db_mysql_live
|
||||
*
|
||||
* Enables (live) MySQL support.
|
||||
*
|
||||
* The db_mysql_live module is an extension to db_mysql, and should only be used if
|
||||
* db_mysql is being used. This module pulls data in real time from SQL as it is
|
||||
* requested by the core as a result of someone executing commands.
|
||||
*
|
||||
* This effectively allows you to edit your database and have it be immediately
|
||||
* reflected back in Anope.
|
||||
*
|
||||
* For information on how to make db_mysql_live use asynchronous queries see
|
||||
* m_async_commands.
|
||||
*
|
||||
* At this time db_mysql_live only supports pulling data in real time from the three
|
||||
* main tables: anope_cs_info, anope_ns_alias, and anope_ns_core.
|
||||
*/
|
||||
#module { name = "db_mysql" }
|
||||
#module { name = "db_mysql_live" }
|
||||
|
||||
/*
|
||||
* hs_request
|
||||
*
|
||||
* Allows users to request vhosts which opers may then view, accept or deny
|
||||
*/
|
||||
module { name = "hs_request" }
|
||||
command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
|
||||
command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; }
|
||||
command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; }
|
||||
command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; }
|
||||
hs_request
|
||||
{
|
||||
/*
|
||||
* If set, Services will send a memo to the user requesting a vHost when it's been
|
||||
* approved or rejected.
|
||||
*/
|
||||
#memouser = yes
|
||||
|
||||
/*
|
||||
* If set, Services will send a memo to all Services staff when a new vHost is requested.
|
||||
*/
|
||||
#memooper = yes
|
||||
}
|
||||
module { name = "help" }
|
||||
|
||||
/*
|
||||
* m_async_commands
|
||||
@@ -403,118 +287,3 @@ ns_maxemail
|
||||
#maxemails = 1
|
||||
}
|
||||
|
||||
/*
|
||||
* ns_set_misc
|
||||
*
|
||||
* Allows you to create misc /nickserv set commands, and have the data
|
||||
* show up in /nickserv info.
|
||||
*/
|
||||
module { name = "ns_set_misc" }
|
||||
command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; }
|
||||
command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; }
|
||||
|
||||
/*
|
||||
* os_defcon
|
||||
*
|
||||
* Allows you to set services in defcon mode, which can be used to restrict services access
|
||||
* during bot attacks.
|
||||
*/
|
||||
#module { name = "os_defcon" }
|
||||
command { service = "OperServ"; name = "DEFCON"; command = "operserv/defcon"; }
|
||||
defcon
|
||||
{
|
||||
/*
|
||||
* Default DefCon level (1-5) to use when starting Services up. Level 5 constitutes normal operation
|
||||
* while level 1 constitutes the most restrictive operation. If this setting is left out or set to
|
||||
* 0, DefCon will be disabled and the rest of this block will be ignored.
|
||||
*/
|
||||
#defaultlevel = 5
|
||||
|
||||
/*
|
||||
* The following 4 directives define what operations will take place when DefCon is set to levels
|
||||
* 1 through 4. Each level is a list that must be separated by spaces.
|
||||
*
|
||||
* The following operations can be defined at each level:
|
||||
* - nonewchannels: Disables registering new channels
|
||||
* - nonewnicks: Disables registering new nicks
|
||||
* - nomlockchanges: Disables changing MLOCK on registered channels
|
||||
* - forcechanmodes: Forces all channels to have the modes given in the later chanmodes directive
|
||||
* - reducedsessions: Reduces the session limit to the value given in the later sessionlimit directive
|
||||
* - nonewclients: KILL any new clients trying to connect
|
||||
* - operonly: Services will ignore all non-IRCops
|
||||
* - silentoperonly: Services will silently ignore all non-IRCops
|
||||
* - akillnewclients: AKILL any new clients trying to connect
|
||||
* - nonewmemos: No new memos will be sent to block MemoServ attacks
|
||||
*/
|
||||
level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions"
|
||||
level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions"
|
||||
level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly"
|
||||
level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients"
|
||||
|
||||
/*
|
||||
* New session limit to use when a DefCon level is using "reduced" session limiting.
|
||||
*/
|
||||
#sessionlimit = 2
|
||||
|
||||
/*
|
||||
* Length of time to add an AKILL for when DefCon is preventing new clients from connecting to the
|
||||
* network.
|
||||
*/
|
||||
#akillexpire = 5m
|
||||
|
||||
/*
|
||||
* The channel modes to set on all channels when the DefCon channel mode system is in use.
|
||||
*
|
||||
* Note 1: Choose these modes carefully, because when DefCon switches to a level which does NOT have
|
||||
* the mode setting selected, Services will set the reverse on all channels, e.g. if this setting
|
||||
* is +RN when DefCon is used, all channels will be set to +RN, when DefCon is removed, all
|
||||
* channels will be set to -RN. You don't want to set this to +k for example, because when DefCon
|
||||
* is removed all channels with -k.
|
||||
*
|
||||
* Note 2: MLOCKed modes will not be lost.
|
||||
*/
|
||||
#chanmodes = "+R"
|
||||
|
||||
/*
|
||||
* This value can be used to automatically return the network to DefCon level 5 after the specified
|
||||
* time period, just in case any IRC Operator forgets to remove a DefCon setting.
|
||||
*
|
||||
* This directive is optional.
|
||||
*/
|
||||
#timeout = 15m
|
||||
|
||||
/*
|
||||
* If set, Services will send a global message on DefCon level changes.
|
||||
*
|
||||
* This directive is optional.
|
||||
*/
|
||||
#globalondefcon = yes
|
||||
|
||||
/*
|
||||
* If set, Services will send the global message defined in the message directive on DefCon level
|
||||
* changes.
|
||||
*
|
||||
* This directive is optional.
|
||||
*/
|
||||
#globalondefconmore = yes
|
||||
|
||||
/*
|
||||
* Defines the message that will be sent on DefCon level changes when globalondefconmore is set.
|
||||
*
|
||||
* This directive is required only when globalondefconmore is set.
|
||||
*/
|
||||
#message = "Put your message to send your users here. Dont forget to uncomment globalondefconmore"
|
||||
|
||||
/*
|
||||
* Defines the message that will be sent when DefCon is returned to level 5. This directive is optional,
|
||||
* and will also override globalondefcon and globalondefconmore when set.
|
||||
*/
|
||||
#offmessage = "Services are now back to normal, sorry for any inconvenience"
|
||||
|
||||
/*
|
||||
* Defines the reason to use when clients are KILLed or AKILLed from the network while the proper
|
||||
* DefCon operation is in effect.
|
||||
*/
|
||||
#akillreason = "This network is currently not accepting connections, please try again later"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user