IRCop commands – UnrealIRCd 6
The full, official list of commands reserved for IRCops on UnrealIRCd 6: KLINE, GLINE, ZLINE, GZLINE, SHUN, KILL, SAJOIN, SAMODE, CHGHOST and more. Source: the official help.it.conf.
Restricted access. These commands are only available to IRC operators authorized by Orixon. Misuse leads to immediate revocation of privileges and possible sanctions.
Becoming an IRCop
Authentication — name and password are case-sensitive
/OPER <utente> <password>
Esempio: OPER admin foobar234
Oper commands — full list
| Command | Description |
|---|---|
ADDMOTD | Adds a line to the server MOTD |
ADDOMOTD | Adds a line to the OPERMOTD |
CHGHOST | Changes the hostname of a connected user |
CHGIDENT | Changes the ident of a connected user |
CHGNAME | Changes the realname (GECOS) of a connected user |
CLOSE | Closes connections that haven't fully registered yet |
CONNECT | Links a server to the IRC network |
DCCDENY | Adds a DCC block for a file type |
DIE | Shuts down the IRC process (disconnects everyone) |
DNS | Information about the server's DNS cache |
ELINE | Adds ban exceptions (E-Line) |
GLINE | Global ban on a host across the whole network |
GLOBOPS | Sends a message to all connected IRCops |
GZLINE | Global Z-Line on all servers (pre-connection IP block) |
INVITE | Forces an invite regardless of the channel modes |
KILL | Forcibly disconnects a user |
KLINE | Local ban on a host on the current server |
LAG | IRC traceroute to a server (shows where lag builds up) |
LOCOPS | Sends a message to the IRCops on the local server |
MKPASSWD | Generates a password hash for the configuration files |
MODULE | List of loaded modules (with extra flags for opers) |
OPER | Gains IRC operator privileges |
OPERMOTD | Shows the MOTD reserved for opers |
REHASH | Reloads the server's configuration files |
RESTART | Shuts down and restarts the IRC process |
SAJOIN | Forces a user to join a channel |
SAMODE | Changes a channel's modes without being an op |
SAPART | Forces a user to leave a channel |
SDESC | Changes the server description without a restart |
SETHOST | Sets a virtual hostname on yourself |
SHUN | Prevents a user from running commands (global, like gline) |
SPAMFILTER | Adds/removes regex-based spam filters |
SQUIT | Disconnects a server from the network |
STATS | Detailed server statistics |
TEMPSHUN | Temporary shun for the user's current session |
TLINE | Counts how many users would match a given mask |
TRACE | Traces the route to a server or user |
TSCTL | Server timestamp control |
UNDCCDENY | Removes a DCC block |
WALLOPS | Sends a message to all users with mode +w |
ZLINE | IP-level ban on the local server (pre-connection) |
Global bans
| Command | Scope | Syntax |
|---|---|---|
KLINE | Local server | KLINE [nick/host] [duration] <reason>KLINE -*@host (remove) |
ZLINE | Local server (IP) | ZLINE *@ip [duration] <reason>ZLINE -*@ip (remove) |
GLINE | Whole network (host) | GLINE [nick/host] [duration] <reason>GLINE -host (remove) |
GZLINE | Whole network (IP) | GZLINE *@ip [duration] <reason>GZLINE -*@ip (remove) |
SHUN | Global — the user stays connected but can't send commands | SHUN +user@host [duration] :reasonSHUN -user@host (remove)SHUN (list) |
ELINE | Ban exception | ELINE user@host :reason (add)ELINE -user@host (remove) |
Duration format: use
0 for permanent bans, or the format 1d10h15m30s (days, hours, minutes, seconds). Examples: 2d = 2 days, 1d6h = 30 hours.
Ban examples
KLINE *@*.aol.com Violazione del regolamento ← permanente
KLINE *@*.isp.com 2d Violazione del regolamento ← 2 giorni
GLINE *@*.idiot.net 900 Spammer ← 15 minuti
GZLINE *@1.2.3.4 1d5h Spam ← 29 ore
SHUN [email protected] 1d6h :Spam ← shun 30 ore
KLINE -*@*.aol.com ← rimuovi kline
SA commands — force actions
| Command | Syntax | Description |
|---|---|---|
SAJOIN |
SAJOIN <nick> <#canale>[,#can2] |
Forces a user to join one or more channels |
SAPART |
SAPART <nick> <#canale>[,#can2] [reason] |
Forces a user to leave one or more channels |
SAMODE |
SAMODE <#canale> <+/-mode> |
Changes a channel's modes without being an operator in the channel |
CHG commands — change user data
| Command | Syntax | Description |
|---|---|---|
CHGHOST |
CHGHOST <nick> <new-host> |
Changes the hostname of a connected user |
CHGIDENT |
CHGIDENT <nick> <new-ident> |
Changes the ident of a connected user |
CHGNAME |
CHGNAME <nick> <new-realname> |
Changes the realname (GECOS) of a connected user |
SETHOST |
SETHOST <new-host> |
Sets a virtual hostname on yourself (your choice, no special characters) |
SETIDENT |
SETIDENT <new-ident> |
Changes your own ident |
SDESC |
SDESC <new description> |
Changes the server description without a restart |
MKPASSWD |
MKPASSWD <method> <password> |
Generates a hash for configuration files. E.g.: MKPASSWD argon2 MyPassword. Methods: argon2, bcrypt, sha256. Details: Authentication types |
SVS commands — U:Lined / Services
These commands can be sent through a U:Lined server (such as the Anope services). They're usually sent via: /MSG OperServ RAW :<command>
| Command | Description |
|---|---|
SVSJOIN | Forces a user to join a channel (services side) |
SVSPART | Forces a user to leave a channel (services side) |
SVSNICK | Forces a user to change nickname (e.g. unregistered nick) |
SVSMODE | Sets user modes from the server (services) |
SVS2MODE | Like SVSMODE but sends a notice to the user |
SVSKILL | Kill sent by the services (with a custom message) |
SQLINE | Q-Line on a nick (forbids use of that nick) |
UNSQLINE | Removes a Q-Line |
SVSNLINE | Sets an N-Line (nick block based on real name) |
SVSFLINE | Spamfilter via services |
SVSMOTD | Changes the MOTD via services |
SVSLUSERS | Forces a refresh of the user statistics |
SVSNOLAG | Disables the lag check for a server |
SVSNOOP | Prevents a server's opers from using /OPER |
SVSO | Grants/removes IRCop status for a user |
SVSSILENCE | Manages a user's SILENCE list via services |
SVSSNO | Sets a user's snomask via services |
SVS2SNO | Like SVSSNO but sends a notice to the user |
SVSWATCH | Manages a user's WATCH list |
SWHOIS | Sets a custom line in a user's /WHOIS |
Server management
| Command | Syntax | Description |
|---|---|---|
REHASH |
REHASH [server|-global] [flag] |
Reloads the configuration. Flags: -dns (reload DNS), -tls (reload SSL certificates), -garbage (clean up unused files). With -global it runs across the whole network. |
RESTART |
RESTART [password] [reason] |
Shuts down and restarts the IRC process, disconnecting all users. |
DIE |
DIE [password] |
Permanently shuts down the IRC process. |
CONNECT |
CONNECT <server> [port]CONNECT <server1> <port> <server2> |
Links a server to the network. With three parameters, it links server1 and server2 to each other. |
SQUIT |
SQUIT <server> |
Disconnects a server from the IRC network. |
LAG |
LAG <server> |
IRC traceroute: lists the servers the request passes through, useful for locating lag. |
TRACE |
TRACE <server|nick> |
Traces the route to a server or user. |
WALLOPS |
WALLOPS <message> |
Message to all users with mode +w. |
GLOBOPS |
GLOBOPS <message> |
Message to all IRCops on the network. |
LOCOPS |
LOCOPS <message> |
Message to the IRCops on the local server. |