website/content/docs/operserv.md

55 lines
3.1 KiB
Markdown

# OperServ
Operator service — network administration, bans / X-lines, the SVS commands, and services control.
Operator-only. Message it with `/msg OperServ <command>`.
## Bans & X-lines
| Command | Syntax | Description |
| --- | --- | --- |
| AKILL | `AKILL ADD [+expiry] <user@host> <reason>` · `DEL <mask\|number>` · `LIST [pattern]` | Network-ban a `user@host` |
| SQLINE | `SQLINE ADD [+expiry] <nick> <reason>` · `DEL` · `LIST` | Ban a nick pattern |
| SNLINE | `SNLINE ADD [+expiry] <realname> <reason>` · `DEL` · `LIST` | Ban a realname pattern |
| SHUN | `SHUN ADD [+expiry] <mask> <reason>` · `DEL` · `LIST` | Silence a host |
| CBAN | `CBAN ADD [+expiry] <#channel> <reason>` · `DEL` · `LIST` | Ban a channel name |
| SPAMFILTER | `SPAMFILTER ADD <action> [+expiry] <regex> <reason>` · `DEL` · `LIST` | Content spam filter |
| FORBID | `FORBID ADD\|DEL <NICK\|CHAN\|EMAIL> <mask> <reason>` · `LIST` | Ban a nick/chan/email from registration |
| IGNORE | `IGNORE ADD [+expiry] <mask> [reason]` · `DEL <mask>` · `LIST` | Silence a user from services |
## Enforcement & moderation
| Command | Syntax | Description |
| --- | --- | --- |
| KILL | `KILL <nick> [reason]` | Disconnect a user |
| KICK | `KICK <#channel> <nick> [reason]` | Kick from a channel |
| MODE | `MODE <#channel> <modes> [params]` | Set channel modes |
| CHANKILL | `CHANKILL <#channel> [reason]` | Clear a channel |
| REDACT | `REDACT <#channel\|nick> <msgid> [reason]` | Delete a message by its id |
| GLOBAL | `GLOBAL <message>` | Announce to everyone |
| PROTECT | `PROTECT ALL \| <account> [ON\|OFF]` | Nick protection for accounts |
| SETALL | `SETALL <setting> <ON\|OFF>` | Apply a channel setting to every channel |
## SVS & staff
| Command | Syntax | Description |
| --- | --- | --- |
| SVSNICK | `SVSNICK <nick> <newnick>` | Force a nick change |
| SVSJOIN | `SVSJOIN <nick> <#channel> [key]` | Force a channel join |
| SVSPART | `SVSPART <nick> <#channel> [reason]` | Force a channel part |
| SWHOIS | `SWHOIS <account> [text]` | Extra WHOIS line on an account |
| OPER | `OPER ADD <account> <priv[,priv]> [+duration]` · `DEL <account>` · `LIST` | Manage runtime operators |
| INFO | `INFO <target>` · `ADD <target> <note>` · `DEL <target>` | Staff notes on a target |
| NOTIFY | `NOTIFY ADD +<expiry> <flags\|*> <mask> <reason>` · `DEL` · `LIST` · `VIEW` · `CLEAR` | Watch masks and log their events |
## Sessions, jupes & control
| Command | Syntax | Description |
| --- | --- | --- |
| SESSION | `SESSION LIST <min>` · `VIEW <ip>` | Inspect per-IP sessions |
| EXCEPTION | `EXCEPTION ADD <ip-mask> <limit> [reason]` · `DEL` · `LIST` | Session-limit exceptions |
| JUPE | `JUPE <server.name> [reason]` · `DEL <server.name>` · `LIST` | Jupe a server name |
| STATS | `STATS` | Enforcement overview |
| LOGSEARCH | `LOGSEARCH [pattern]` | Search the action log |
| DEFCON | `DEFCON [1-5]` | Network defence level |
| SET | `SET READONLY {ON\|OFF}` | Services-wide settings |
| SHUTDOWN / RESTART / REHASH | `SHUTDOWN [reason]` · `RESTART [reason]` · `REHASH` | Stop / restart / reload services |