Server Notice Masks (SNOMASK)
m (Updating category listing) |
|||
Line 1: | Line 1: | ||
Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server. | Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server. | ||
- | + | Usage: /mode <nick> +s [+/-][flag] | |
- | + | ||
- | Usage: /mode <nick> +s [+/-][ | + | |
{| class="wikitable" width="97%" style="font-size: 85%; text-align: left;" | {| class="wikitable" width="97%" style="font-size: 85%; text-align: left;" | ||
|- | |- | ||
- | ! style="text-align: left" | Mask | + | ! style="text-align: left; width: 120px;" | Mask |
- | + | ! style="text-align: left" | Flag | |
- | ! style="text-align: left" | | + | |
! style="text-align: left" | Description | ! style="text-align: left" | Description | ||
|- | |- | ||
- | | | + | | SNO_CONNEXIT |
- | | | + | | +c |
- | | | + | | Client connections and exits. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_DEBUG |
- | | | + | | +d |
- | + | | Server debug messages (debugmode only). | |
- | | Server | + | |
|- | |- | ||
- | | | + | | SNO_TCPCOMMON |
- | | | + | | +e |
- | | | + | | Common TCP and socket error messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_GLINE |
- | | | + | | +g |
- | | | + | | G-lines/Z-line/Shun messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_AUTO |
- | | | + | | +G |
- | | | + | | Auto G-line/Z-line/Shun messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_IPMISMATCH |
- | | | + | | +i |
- | | | + | | IP mismatch messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_HACK4 |
- | | | + | | +j |
- | | | + | | HACK4 messages (services actions on channels). |
- | + | ||
|- | |- | ||
- | | | + | | SNO_SERVKILL |
- | | | + | | +k |
- | | | + | | Server kill messages. |
- | + | |- | |
- | |- | + | |
- | | | + | | SNO_OPERKILL |
- | | | + | | +K |
- | | | + | | Oper kill messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_NICKCHG |
- | | | + | | +n |
- | | | + | | Nickname changes. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_OLDREALOP |
- | | | + | | +o |
- | | | + | | Old oper-only messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_TOOMANY |
- | | | + | | +r |
- | | | + | | Too many connections rejection messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_NETWORK |
- | | | + | | +R |
- | | | + | | Routing messages (e.g., net.join/breaks). |
- | + | ||
|- | |- | ||
- | | | + | | SNO_OLDSNO |
- | | | + | | +s |
- | | | + | | Unsorted server notices. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_UNAUTH |
- | | | + | | +u |
- | | | + | | Unauthorized connection messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_SERVICEKILL |
- | | | + | | +x |
- | | | + | | Services kill messages. |
- | + | ||
|- | |- | ||
- | | | + | | SNO_HACK3 |
- | | | + | | +z |
- | | | + | | HACK3 messages (desyncs). |
- | + | ||
|- | |- | ||
- | | | + | | SNO_HACK2 |
- | | | + | | +Z |
- | | | + | | HACK2 messages (temporary desyncs). |
- | + | ||
|- | |- | ||
|} | |} | ||
Line 131: | Line 110: | ||
If you wanted to receive only operkills, you would use the following: | If you wanted to receive only operkills, you would use the following: | ||
- | /mode <nick> +s | + | /mode <nick> +s +K |
- | To receive both operkills and glines, you would | + | To receive both operkills and glines, you would use: |
- | /mode <nick> +s | + | /mode <nick> +s +gK |
If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value: | If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value: | ||
Line 143: | Line 122: | ||
If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use: | If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use: | ||
- | <pre>/mode <nick> +s - | + | <pre>/mode <nick> +s -R |
or | or | ||
- | /mode <nick> -s + | + | /mode <nick> -s +R</pre> |
Revision as of 01:38, 27 May 2010
Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server.
Usage: /mode <nick> +s [+/-][flag]
Mask | Flag | Description |
---|---|---|
SNO_CONNEXIT | +c | Client connections and exits. |
SNO_DEBUG | +d | Server debug messages (debugmode only). |
SNO_TCPCOMMON | +e | Common TCP and socket error messages. |
SNO_GLINE | +g | G-lines/Z-line/Shun messages. |
SNO_AUTO | +G | Auto G-line/Z-line/Shun messages. |
SNO_IPMISMATCH | +i | IP mismatch messages. |
SNO_HACK4 | +j | HACK4 messages (services actions on channels). |
SNO_SERVKILL | +k | Server kill messages. |
SNO_OPERKILL | +K | Oper kill messages. |
SNO_NICKCHG | +n | Nickname changes. |
SNO_OLDREALOP | +o | Old oper-only messages. |
SNO_TOOMANY | +r | Too many connections rejection messages. |
SNO_NETWORK | +R | Routing messages (e.g., net.join/breaks). |
SNO_OLDSNO | +s | Unsorted server notices. |
SNO_UNAUTH | +u | Unauthorized connection messages. |
SNO_SERVICEKILL | +x | Services kill messages. |
SNO_HACK3 | +z | HACK3 messages (desyncs). |
SNO_HACK2 | +Z | HACK2 messages (temporary desyncs). |
Default Masks
- standard +s: has no effect on DareNET
- standard +s when opered (+o/O): SNO_DEFAULT | SNO_HACK2 | SNO_HACK4 | SNO_THROTTLE | SNO_OLDSNO
Example Usage
If you wanted to receive only operkills, you would use the following:
/mode <nick> +s +K
To receive both operkills and glines, you would use:
/mode <nick> +s +gK
If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value:
/mode <nick> +s +1024
If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use:
/mode <nick> +s -R or /mode <nick> -s +R
While users can set +s, they will not receive any notices on DareNET. Opers who set +s will automatically receive netjoins/breaks, operkills, glines and HACK notices.