Orixon / Docs / UnrealIRCd / IRCop commands

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

CommandDescription
ADDMOTDAdds a line to the server MOTD
ADDOMOTDAdds a line to the OPERMOTD
CHGHOSTChanges the hostname of a connected user
CHGIDENTChanges the ident of a connected user
CHGNAMEChanges the realname (GECOS) of a connected user
CLOSECloses connections that haven't fully registered yet
CONNECTLinks a server to the IRC network
DCCDENYAdds a DCC block for a file type
DIEShuts down the IRC process (disconnects everyone)
DNSInformation about the server's DNS cache
ELINEAdds ban exceptions (E-Line)
GLINEGlobal ban on a host across the whole network
GLOBOPSSends a message to all connected IRCops
GZLINEGlobal Z-Line on all servers (pre-connection IP block)
INVITEForces an invite regardless of the channel modes
KILLForcibly disconnects a user
KLINELocal ban on a host on the current server
LAGIRC traceroute to a server (shows where lag builds up)
LOCOPSSends a message to the IRCops on the local server
MKPASSWDGenerates a password hash for the configuration files
MODULEList of loaded modules (with extra flags for opers)
OPERGains IRC operator privileges
OPERMOTDShows the MOTD reserved for opers
REHASHReloads the server's configuration files
RESTARTShuts down and restarts the IRC process
SAJOINForces a user to join a channel
SAMODEChanges a channel's modes without being an op
SAPARTForces a user to leave a channel
SDESCChanges the server description without a restart
SETHOSTSets a virtual hostname on yourself
SHUNPrevents a user from running commands (global, like gline)
SPAMFILTERAdds/removes regex-based spam filters
SQUITDisconnects a server from the network
STATSDetailed server statistics
TEMPSHUNTemporary shun for the user's current session
TLINECounts how many users would match a given mask
TRACETraces the route to a server or user
TSCTLServer timestamp control
UNDCCDENYRemoves a DCC block
WALLOPSSends a message to all users with mode +w
ZLINEIP-level ban on the local server (pre-connection)

Global bans

CommandScopeSyntax
KLINELocal server KLINE [nick/host] [duration] <reason>
KLINE -*@host (remove)
ZLINELocal server (IP) ZLINE *@ip [duration] <reason>
ZLINE -*@ip (remove)
GLINEWhole network (host) GLINE [nick/host] [duration] <reason>
GLINE -host (remove)
GZLINEWhole network (IP) GZLINE *@ip [duration] <reason>
GZLINE -*@ip (remove)
SHUNGlobal — the user stays connected but can't send commands SHUN +user@host [duration] :reason
SHUN -user@host (remove)
SHUN (list)
ELINEBan 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

CommandSyntaxDescription
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

CommandSyntaxDescription
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>

CommandDescription
SVSJOINForces a user to join a channel (services side)
SVSPARTForces a user to leave a channel (services side)
SVSNICKForces a user to change nickname (e.g. unregistered nick)
SVSMODESets user modes from the server (services)
SVS2MODELike SVSMODE but sends a notice to the user
SVSKILLKill sent by the services (with a custom message)
SQLINEQ-Line on a nick (forbids use of that nick)
UNSQLINERemoves a Q-Line
SVSNLINESets an N-Line (nick block based on real name)
SVSFLINESpamfilter via services
SVSMOTDChanges the MOTD via services
SVSLUSERSForces a refresh of the user statistics
SVSNOLAGDisables the lag check for a server
SVSNOOPPrevents a server's opers from using /OPER
SVSOGrants/removes IRCop status for a user
SVSSILENCEManages a user's SILENCE list via services
SVSSNOSets a user's snomask via services
SVS2SNOLike SVSSNO but sends a notice to the user
SVSWATCHManages a user's WATCH list
SWHOISSets a custom line in a user's /WHOIS

Server management

CommandSyntaxDescription
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.