X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=docs%2Fconf%2Fmodules.conf.example;h=9cb78daee74bc4720668b299f807d8f9885b119a;hb=bb1f892f68cb70537b224bca85cc40f1ed23017d;hp=bb8a74dbc9a1ecf65a3a2863ce36a44ea3e830de;hpb=ba8a3b236a84d42c888a93e4e8cf934062c7a7ea;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index bb8a74dbc..9cb78daee 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -116,6 +116,10 @@ # to successfully trigger. If they are not, then # # the user receives a 'no such nick' 401 numeric. # # # +# stripcolor - If this is true, the text from the user will be # +# stripped of color and format codes before # +# matching against 'text'. # +# # # uline - Setting this to true will ensure that the user # # given in 'requires' is also on a U-lined server, # # as well as actually being on the network. If the # @@ -403,12 +407,12 @@ # # # If hidemask is set to yes, the user will not be shown the mask when -# his/her message is blocked. +# their message is blocked. # # If maxlen is set then it defines the maximum length of a filter entry. # # If notifyuser is set to no, the user will not be notified when -# his/her message is blocked. +# their message is blocked. # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# @@ -550,11 +554,13 @@ # +# prefix="net-" +# ignorecase="no"> # # +# prefix="net-" +# ignorecase="no"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Clones module: Adds an oper command /CLONES for detecting cloned @@ -652,8 +658,8 @@ # bootwait - Amount of time in seconds to wait before enforcing # the throttling when the server just booted. # -# +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Custom prefixes: Allows for channel prefixes to be configured. @@ -675,7 +681,7 @@ # You can also override the configuration of prefix modes added by both the core # and other modules by adding a customprefix tag with change="yes" specified. # -# +# # # Do /RELOADMODULE customprefix after changing the settings of this module. @@ -856,8 +862,14 @@ # at the tag for info on availability. # # # # If notifyuser is set to no, the user will not be notified when # -# his/her message is blocked. # -# +# their message is blocked. # +# # +# If warnonselfmsg is set to yes when a user sends a message to # +# themself that matches a filter the filter will be ignored and a # +# warning will be sent to opers instead. This stops spambots which # +# send their spam message to themselves first to check if it is being # +# filtered by the server. # +# # # # Your choice of regex engine must match on all servers network-wide. # # # @@ -1343,6 +1355,12 @@ # Message flood module: Adds message/notice flood protection via # channel mode +f. # +# +# The weight to give each message type. TAGMSGs are considered to be +# 1/5 of a NOTICE or PRIVMSG to avoid users being accidentally flooded +# out of a channel by automatic client features such as typing +# notifications. +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # MLOCK module: Adds support for server-side enforcement of services @@ -1646,7 +1664,12 @@ # # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be # saved. Defaults to false. -# +# +# 'saveperiod' determines how often to check if the database needs to be +# saved to disk. Defaults to every five seconds. +# # # # You may also create channels on startup by using the block. @@ -1673,7 +1696,7 @@ # # # If notifyuser is set to no, the user will not be notified when -# his/her message is blocked. +# their message is blocked. # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# @@ -2284,11 +2307,18 @@ # Requires SHA-1 hash support available in the sha1 module. # # -# Whether to re-encode messages as UTF-8 before sending to WebSocket -# clients. This is recommended as the WebSocket protocol requires all -# text frames to be sent as UTF-8. If you do not have this enabled -# messages will be sent as binary frames instead. -# +# behindproxy: Whether the server is behind a proxy that sends the +# X-Real-IP or X-Forwarded-For headers. If enabled the +# server will use the IP address specified by those HTTP +# headers. You should NOT enable this unless you are using +# a HTTP proxy like nginx as it will allow IP spoofing. +# sendastext: Whether to re-encode messages as UTF-8 before sending to +# WebSocket clients. This is recommended as the WebSocket +# protocol requires all text frames to be sent as UTF-8. +# If you do not have this enabled messages will be sent as +# binary frames instead. +# # # If you use the websocket module you MUST specify one or more origins # which are allowed to connect to the server. You should set this as @@ -2304,8 +2334,9 @@ # be a lot less bans to apply - as most of them will already be there. # -# Specify the filename for the xline database here. -# +# Specify the filename for the xline database and how often to check whether +# the database needs to be saved here. +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # ____ _ _____ _ _ ____ _ _ _ #