Operator Commands
Authenticate as an IRC operator.
Syntax: OPER <name> <password>
Behavior:
- Credentials are checked against the
operatorslist inelixircd.exs - Passwords are verified using Argon2id hashing
- On success: you receive
+omode and aRPL_YOUREOPER(381) message - On failure:
ERR_NOOPERHOST(491) orERR_PASSWDMISMATCH(464)
Example:
/oper admin mypasswordForcefully disconnect a user from the server.
Syntax: KILL <nick> <reason>
Behavior:
- The target user is disconnected with a “Killed” message showing who killed them and the reason
- The kill is broadcast as a server notice to operators
Example:
KILL spambot :Automated spam detectedKILL troublemaker :Repeated violationsWALLOPS
Section titled “WALLOPS”Broadcast a message to all users who have +w (Wallops) mode set.
Syntax: WALLOPS :<message>
Behavior:
- Message is sent to all users with
+wmode enabled - Regular users can enable
+wto receive these announcements - Commonly used for server announcements
Example:
WALLOPS :The server will restart for maintenance in 5 minutes.OPERWALL
Section titled “OPERWALL”Send a message visible only to IRC operators.
Syntax: OPERWALL :<message>
Behavior:
- Message is sent only to connected IRC operators
- Regular users do not see OPERWALL messages
- Used for operator-to-operator communication
Example:
OPERWALL :Anyone else seeing connection floods from 192.168.1.x?GLOBOPS
Section titled “GLOBOPS”Send a global operator message to all operators.
Syntax: GLOBOPS :<message>
Behavior:
- Broadcasts to all connected IRC operators
- Similar to OPERWALL in the current single-server implementation
Example:
GLOBOPS :Maintenance window starts in 30 minutes.REHASH
Section titled “REHASH”Reload the server configuration without restarting.
Syntax: REHASH
Behavior:
- Reloads
elixircd.exsfrom disk - Configuration changes take effect for new connections
- Active connections are not affected immediately (they continue with their existing state)
Example:
REHASHResponse:
:server 382 yournick elixircd.exs :RehashingRESTART
Section titled “RESTART”Restart the server.
Syntax: RESTART
Behavior:
- Broadcasts a server restart notice to all connected users
- The server process restarts
- All connections are dropped during restart
- In-memory state (channels, users, etc.) is cleared; registered nicks/channels may be lost
Shut down the server.
Syntax: DIE
Behavior:
- Broadcasts a shutdown notice to all connected users
- The server process exits cleanly
- All connections are closed
CHGHOST
Section titled “CHGHOST”Change a user’s visible hostname.
Syntax: CHGHOST <nick> <newhost>
Behavior:
- Changes the target user’s visible hostname to
<newhost> - The user’s real IP/hostname is preserved internally; this only changes the displayed hostname
- If
CHGHOSTcapability is enabled, other users in shared channels receive aCHGHOSTmessage
Example:
CHGHOST Alice staff.mynetwork.orgView server statistics.
Syntax: STATS <letter>
Available stats letters:
| Letter | Information |
|---|---|
u | Server uptime |
o | Configured operators |
l | Server connection information (links) |
m | Command usage counts |
Example:
STATS u # Show uptimeSTATS o # Show configured operators