|2.0 Documentation||3.0 Documentation|
SNOMASK (server notice mask) is a system whereby messages sent by the ircd can be categorized and split into groups. This allows an IRC operator to filter out messages they are not interested in, such as local connects or kill messages.
To enable SNOMASK, set usermode +s, and provide the server notice masks you want as a parameter to the mode, for example, to see local and remote connects and quits, send the command:
/MODE Yournick +s +cCqQ
To enable SNOMASK upon oper set the modes in the type block, for example:
<type name="GlobalOp" classes="OperChat BanControl HostCloak Modular" host="globalop.chatspike.net" modes="+s +cCqQ">
NOTE: This requires the m_opermodes.so module to be loaded.
To remove a server notice mask, set usermode +s again, but remove masks by sending a 'negative' change:
/MODE Yournick +s -CQ
This would remove remote connect and quit notices for example.
To disable all server notice masks, simply remove +s entirely:
/MODE Yournick -s
A list of the valid server notice masks and what they do is listed below.
You can use the m_chanlog.so module to send messages to a channel of your choice. You can even have multiple channels for different masks. Use local masks on every server to the same channel to receive messages globally in the channel.
Valid Server Notice Masks
Core Server Notice Masks
These are the server notice masks implemented by the core. Modules may implement extra notice masks.
|A||Allows receipt of global announcement messages|
|a||Allows receipt of local announcement messages|
|C||Allows receipt of remote connect messages|
|c||Allows receipt of local connect messages|
|Q||Allows receipt of remote quit messages|
|q||Allows receipt of local quit messages|
|k||Allows receipt of local kill messages|
|K||Allows receipt of remote kill messages|
|L||Allows receipt of linking related messages from other servers|
|l||Allows receipt of linking related messages|
|O||Allows receipt of remote oper-up, oper-down, and oper-failure messages|
|o||Allows receipt of local oper-up, oper-down, and oper-failure messages|
|d||Allows receipt of general (and sometimes random) debug messages|
|X||Allows receipt of remote Xline notices (g/z/q/k/e as well as those provided by modules)|
|x||Allows receipt of local Xline notices (g/z/q/k/e as well as those provided by modules)|
|t||Allows receipt of attempts to use /STATS (local and remote)|
|f||Allows receipt of flooding notices|
Module Server Notice Masks
|g||m_globops - Allows receipt of globops|
|G||m_globops - Allows receipt of remote globops|
|n||m_seenicks - See local nickname changes|
|N||m_seenicks - See remote nickname changes|
|J||m_chancreate - Allows receipt of remote channel creation notices|
|j||m_chancreate - Allows receipt of local channel creation notices|
|v||m_override - Allows receipt of use of oper-override|