Skip to content

Operator Commands

Authenticate as an IRC operator.

Syntax: OPER <name> <password>

Behavior:

  • Credentials are checked against the operators list in elixircd.exs
  • Passwords are verified using Argon2id hashing
  • On success: you receive +o mode and a RPL_YOUREOPER (381) message
  • On failure: ERR_NOOPERHOST (491) or ERR_PASSWDMISMATCH (464)

Example:

/oper admin mypassword

Forcefully 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 detected
KILL troublemaker :Repeated violations

Broadcast a message to all users who have +w (Wallops) mode set.

Syntax: WALLOPS :<message>

Behavior:

  • Message is sent to all users with +w mode enabled
  • Regular users can enable +w to receive these announcements
  • Commonly used for server announcements

Example:

WALLOPS :The server will restart for maintenance in 5 minutes.

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?

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.

Reload the server configuration without restarting.

Syntax: REHASH

Behavior:

  • Reloads elixircd.exs from disk
  • Configuration changes take effect for new connections
  • Active connections are not affected immediately (they continue with their existing state)

Example:

REHASH

Response:

:server 382 yournick elixircd.exs :Rehashing

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

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 CHGHOST capability is enabled, other users in shared channels receive a CHGHOST message

Example:

CHGHOST Alice staff.mynetwork.org

View server statistics.

Syntax: STATS <letter>

Available stats letters:

LetterInformation
uServer uptime
oConfigured operators
lServer connection information (links)
mCommand usage counts

Example:

STATS u # Show uptime
STATS o # Show configured operators