ZNC Commands - Help
Публикувано на: 12 Дек 2022 17:11
Example: /msg *status listmods
<zncuser> listmods
<*status> +---------+------------------------------------------------------+
<*status> | Name | Description |
<*status> +---------+------------------------------------------------------+
<*status> | email | Monitors Email activity on local disk /var/mail/user |
<*status> | shell | Gives shell access. |
<*status> | schat | Secure cross platform (:P) chat system |
<*status> +---------+------------------------------------------------------+
The prefix for these virtual users can be changed from * in the znc.conf file. It is wise to use a character that is illegal to use on IRC so that you don't lose the ability to talk to a real person who happens to be using the same prefix on their IRC nick.
Command List
<zncuser> help
<*status> In the following list all occurrences of <#chan> support wildcards (* and ?)
<*status> (Except ListNicks)
<*status> +------------------------+---------------------------------------+----------------------------------------------------------------------------------+
<*status> | Command | Arguments | Description |
<*status> +------------------------+---------------------------------------+----------------------------------------------------------------------------------+
<*status> | Version | | Print which version of ZNC this is |
<*status> | ListMods | | List all loaded modules |
<*status> | ListAvailMods | | List all available modules |
<*status> | ListNicks | <#chan> | List all nicks on a channel |
<*status> | ListServers | | List all servers of current IRC network |
<*status> | AddNetwork | <name> | Add a network to your user |
<*status> | DelNetwork | <name> | Delete a network from your user |
<*status> | ListNetworks | | List all networks |
<*status> | MoveNetwork | old-user old-net new-user [new-net] | Move an IRC network from one user to another |
<*status> | JumpNetwork | <network> | Jump to another network (Alternatively, you can connect to ZNC several times, |
using `user/network` as username) |
<*status> | AddServer | <host> [[+]port] [pass] | Add a server to the list of alternate/backup servers of current IRC network. |
<*status> | DelServer | <host> [port] [pass] | Remove a server from the list of alternate/backup servers of current IRC network |
<*status> | Enablechan | <#chan> | Enable the channel |
<*status> | Disablechan | <#chan> | Disable the channel |
<*status> | Detach | <#chan> | Detach from the channel |
<*status> | Topics | | Show topics in all your channels |
<*status> | PlayBuffer | <#chan> | Play back the buffer for a given channel |
<*status> | ClearBuffer | <#chan> | Clear the buffer for a given channel |
<*status> | ClearAllChannelBuffers | | Clear the channel buffers |
<*status> | SetBuffer | <#chan> [linecount] | Set the buffer count for a channel |
<*status> | AddBindHost | <host (IP preferred)> | Adds a bind host for normal users to use |
<*status> | DelBindHost | <host> | Removes a bind host from the list |
<*status> | ListBindHosts | | Shows the configured list of bind hosts |
<*status> | SetBindHost | <host (IP preferred)> | Set the bind host for this connection |
<*status> | SetUserBindHost | <host (IP preferred)> | Set the default bind host for this user |
<*status> | ClearBindHost | | Clear the bind host for this connection |
<*status> | ClearUserBindHost | | Clear the default bind host for this user |
<*status> | ShowBindHost | | Show currently selected bind host |
<*status> | Jump [server] | | Jump to the next or the specified server |
<*status> | Disconnect | [message] | Disconnect from IRC |
<*status> | Connect | | Reconnect to IRC |
<*status> | Uptime | | Show for how long ZNC has been running |
<*status> | LoadMod | [--type=global|user|network] <module> | Load a module |
<*status> | UnloadMod | [--type=global|user|network] <module> | Unload a module |
<*status> | ReloadMod | [--type=global|user|network] <module> | Reload a module |
<*status> | UpdateMod | <module> | Reload a module everywhere |
<*status> | ShowMOTD | | Show ZNC's message of the day |
<*status> | SetMOTD | <Message> | Set ZNC's message of the day |
<*status> | AddMOTD | <Message> | Append <Message> to ZNC's MOTD |
<*status> | ClearMOTD | | Clear ZNC's MOTD |
<*status> | ListPorts | | Show all active listeners |
<*status> | AddPort | <arguments> | Add another port for ZNC to listen on |
<*status> | DelPort | <arguments> | Remove a port from ZNC |
<*status> | Rehash | | Reload znc.conf from disk |
<*status> | SaveConfig | | Save the current settings to disk |
<*status> | ListUsers | | List all ZNC users and their connection status |
<*status> | ListAllUserNetworks | | List all ZNC users and their networks |
<*status> | ListChans | [User <network>] | List all channels |
<*status> | ListClients | [User] | List all connected clients |
<*status> | Traffic | | Show basic traffic stats for all ZNC users |
<*status> | Broadcast | [message] | Broadcast a message to all ZNC users |
<*status> | Shutdown | [message] | Shut down ZNC completely |
<*status> | Restart | [message] | Restart ZNC |
<*status> +------------------------+---------------------------------------+---------------------
<*controlpanel> AddCTCP <username> <ctcp> [reply]: Configure a new CTCP reply
<*controlpanel> AddChan <username> <network> <chan>: Adds a new channel
<*controlpanel> AddNetwork [username] <network>: Add a network for a user
<*controlpanel> AddServer <username> <network> <server>: Adds a new IRC server for the given or current user
<*controlpanel> AddUser <username> <password>: Adds a new user
<*controlpanel> CloneUser <old username> <new username>: Clones a user
<*controlpanel> DelCTCP <username> <ctcp>: Remove a CTCP reply
<*controlpanel> DelChan <username> <network> <chan>: Deletes a channel
<*controlpanel> DelNetwork [username] <network>: Delete a network for a user
<*controlpanel> DelServer <username> <network> <server>: Deletes an IRC server from the given or current user
<*controlpanel> DelUser <username>: Deletes a user
<*controlpanel> Disconnect <username> <network>: Disconnects the user from their IRC server
<*controlpanel> Get <variable> [username]: Prints the variable's value for the given or current user
<*controlpanel> GetChan <variable> [username] <network> <chan>: Prints the variable's value for the given channel
<*controlpanel> GetNetwork <variable> [username] [network]: Prints the variable's value for the given network
<*controlpanel> Help [command] [variable]: Prints help for matching commands and variables
<*controlpanel> ListCTCPs <username>: List the configured CTCP replies
<*controlpanel> ListMods <username>: Get the list of modules for a user
<*controlpanel> ListNetMods <username> <network>: Get the list of modules for a network
<*controlpanel> ListNetworks [username]: List all networks for a user
<*controlpanel> ListUsers: Lists users
<*controlpanel> LoadModule <username> <modulename> [args]: Loads a Module for a user
<*controlpanel> LoadNetModule <username> <network> <modulename> [args]: Loads a Module for a network
<*controlpanel> Reconnect <username> <network>: Cycles the user's IRC server connection
<*controlpanel> Set <variable> <username> <value>: Sets the variable's value for the given user
<*controlpanel> SetChan <variable> <username> <network> <chan> <value>: Sets the variable's value for the given channel
<*controlpanel> SetNetwork <variable> <username> <network> <value>: Sets the variable's value for the given network
<*controlpanel> UnLoadModule <username> <modulename>: Removes a Module of a user
<*controlpanel> UnLoadNetModule <username> <network> <modulename>: Removes a Module of a network
<*controlpanel> The following variables are available when using the Set/Get commands:
<*controlpanel> Boolean (true/false): MultiClients, DenyLoadMod, DenySetBindHost, AutoClearChanBuffer, AutoClearQueryBuffer, Admin, AppendTimestamp, PrependTimestamp, AuthOnlyViaModule
<*controlpanel> Integer: ChanBufferSize, QueryBufferSize, JoinTries, MaxJoins, MaxNetworks, MaxQueryBuffers, NoTrafficTimeout
<*controlpanel> String: Nick, Altnick, Ident, RealName, BindHost, DefaultChanModes, QuitMsg, Password, Timezone, TimestampFormat, DCCBindHost, StatusPrefix
<*controlpanel> The following variables are available when using the SetNetwork/GetNetwork commands:
<*controlpanel> Boolean (true/false): TrustAllCerts, TrustPKI
<*controlpanel> Integer: FloodBurst, JoinDelay
<*controlpanel> Number: FloodRate
<*controlpanel> String: Nick, Altnick, Ident, RealName, BindHost, QuitMsg
<*controlpanel> The following variables are available when using the SetChan/GetChan commands:
<*controlpanel> Boolean (true/false): InConfig, AutoClearChanBuffer, Detached
<*controlpanel> Integer: BufferSize
<*controlpanel> String: DefModes, Key
<*controlpanel> You can use $user as the user name and $network as the network
<zncuser> listmods
<*status> +---------+------------------------------------------------------+
<*status> | Name | Description |
<*status> +---------+------------------------------------------------------+
<*status> | email | Monitors Email activity on local disk /var/mail/user |
<*status> | shell | Gives shell access. |
<*status> | schat | Secure cross platform (:P) chat system |
<*status> +---------+------------------------------------------------------+
The prefix for these virtual users can be changed from * in the znc.conf file. It is wise to use a character that is illegal to use on IRC so that you don't lose the ability to talk to a real person who happens to be using the same prefix on their IRC nick.
Command List
<zncuser> help
<*status> In the following list all occurrences of <#chan> support wildcards (* and ?)
<*status> (Except ListNicks)
<*status> +------------------------+---------------------------------------+----------------------------------------------------------------------------------+
<*status> | Command | Arguments | Description |
<*status> +------------------------+---------------------------------------+----------------------------------------------------------------------------------+
<*status> | Version | | Print which version of ZNC this is |
<*status> | ListMods | | List all loaded modules |
<*status> | ListAvailMods | | List all available modules |
<*status> | ListNicks | <#chan> | List all nicks on a channel |
<*status> | ListServers | | List all servers of current IRC network |
<*status> | AddNetwork | <name> | Add a network to your user |
<*status> | DelNetwork | <name> | Delete a network from your user |
<*status> | ListNetworks | | List all networks |
<*status> | MoveNetwork | old-user old-net new-user [new-net] | Move an IRC network from one user to another |
<*status> | JumpNetwork | <network> | Jump to another network (Alternatively, you can connect to ZNC several times, |
using `user/network` as username) |
<*status> | AddServer | <host> [[+]port] [pass] | Add a server to the list of alternate/backup servers of current IRC network. |
<*status> | DelServer | <host> [port] [pass] | Remove a server from the list of alternate/backup servers of current IRC network |
<*status> | Enablechan | <#chan> | Enable the channel |
<*status> | Disablechan | <#chan> | Disable the channel |
<*status> | Detach | <#chan> | Detach from the channel |
<*status> | Topics | | Show topics in all your channels |
<*status> | PlayBuffer | <#chan> | Play back the buffer for a given channel |
<*status> | ClearBuffer | <#chan> | Clear the buffer for a given channel |
<*status> | ClearAllChannelBuffers | | Clear the channel buffers |
<*status> | SetBuffer | <#chan> [linecount] | Set the buffer count for a channel |
<*status> | AddBindHost | <host (IP preferred)> | Adds a bind host for normal users to use |
<*status> | DelBindHost | <host> | Removes a bind host from the list |
<*status> | ListBindHosts | | Shows the configured list of bind hosts |
<*status> | SetBindHost | <host (IP preferred)> | Set the bind host for this connection |
<*status> | SetUserBindHost | <host (IP preferred)> | Set the default bind host for this user |
<*status> | ClearBindHost | | Clear the bind host for this connection |
<*status> | ClearUserBindHost | | Clear the default bind host for this user |
<*status> | ShowBindHost | | Show currently selected bind host |
<*status> | Jump [server] | | Jump to the next or the specified server |
<*status> | Disconnect | [message] | Disconnect from IRC |
<*status> | Connect | | Reconnect to IRC |
<*status> | Uptime | | Show for how long ZNC has been running |
<*status> | LoadMod | [--type=global|user|network] <module> | Load a module |
<*status> | UnloadMod | [--type=global|user|network] <module> | Unload a module |
<*status> | ReloadMod | [--type=global|user|network] <module> | Reload a module |
<*status> | UpdateMod | <module> | Reload a module everywhere |
<*status> | ShowMOTD | | Show ZNC's message of the day |
<*status> | SetMOTD | <Message> | Set ZNC's message of the day |
<*status> | AddMOTD | <Message> | Append <Message> to ZNC's MOTD |
<*status> | ClearMOTD | | Clear ZNC's MOTD |
<*status> | ListPorts | | Show all active listeners |
<*status> | AddPort | <arguments> | Add another port for ZNC to listen on |
<*status> | DelPort | <arguments> | Remove a port from ZNC |
<*status> | Rehash | | Reload znc.conf from disk |
<*status> | SaveConfig | | Save the current settings to disk |
<*status> | ListUsers | | List all ZNC users and their connection status |
<*status> | ListAllUserNetworks | | List all ZNC users and their networks |
<*status> | ListChans | [User <network>] | List all channels |
<*status> | ListClients | [User] | List all connected clients |
<*status> | Traffic | | Show basic traffic stats for all ZNC users |
<*status> | Broadcast | [message] | Broadcast a message to all ZNC users |
<*status> | Shutdown | [message] | Shut down ZNC completely |
<*status> | Restart | [message] | Restart ZNC |
<*status> +------------------------+---------------------------------------+---------------------
<*controlpanel> AddCTCP <username> <ctcp> [reply]: Configure a new CTCP reply
<*controlpanel> AddChan <username> <network> <chan>: Adds a new channel
<*controlpanel> AddNetwork [username] <network>: Add a network for a user
<*controlpanel> AddServer <username> <network> <server>: Adds a new IRC server for the given or current user
<*controlpanel> AddUser <username> <password>: Adds a new user
<*controlpanel> CloneUser <old username> <new username>: Clones a user
<*controlpanel> DelCTCP <username> <ctcp>: Remove a CTCP reply
<*controlpanel> DelChan <username> <network> <chan>: Deletes a channel
<*controlpanel> DelNetwork [username] <network>: Delete a network for a user
<*controlpanel> DelServer <username> <network> <server>: Deletes an IRC server from the given or current user
<*controlpanel> DelUser <username>: Deletes a user
<*controlpanel> Disconnect <username> <network>: Disconnects the user from their IRC server
<*controlpanel> Get <variable> [username]: Prints the variable's value for the given or current user
<*controlpanel> GetChan <variable> [username] <network> <chan>: Prints the variable's value for the given channel
<*controlpanel> GetNetwork <variable> [username] [network]: Prints the variable's value for the given network
<*controlpanel> Help [command] [variable]: Prints help for matching commands and variables
<*controlpanel> ListCTCPs <username>: List the configured CTCP replies
<*controlpanel> ListMods <username>: Get the list of modules for a user
<*controlpanel> ListNetMods <username> <network>: Get the list of modules for a network
<*controlpanel> ListNetworks [username]: List all networks for a user
<*controlpanel> ListUsers: Lists users
<*controlpanel> LoadModule <username> <modulename> [args]: Loads a Module for a user
<*controlpanel> LoadNetModule <username> <network> <modulename> [args]: Loads a Module for a network
<*controlpanel> Reconnect <username> <network>: Cycles the user's IRC server connection
<*controlpanel> Set <variable> <username> <value>: Sets the variable's value for the given user
<*controlpanel> SetChan <variable> <username> <network> <chan> <value>: Sets the variable's value for the given channel
<*controlpanel> SetNetwork <variable> <username> <network> <value>: Sets the variable's value for the given network
<*controlpanel> UnLoadModule <username> <modulename>: Removes a Module of a user
<*controlpanel> UnLoadNetModule <username> <network> <modulename>: Removes a Module of a network
<*controlpanel> The following variables are available when using the Set/Get commands:
<*controlpanel> Boolean (true/false): MultiClients, DenyLoadMod, DenySetBindHost, AutoClearChanBuffer, AutoClearQueryBuffer, Admin, AppendTimestamp, PrependTimestamp, AuthOnlyViaModule
<*controlpanel> Integer: ChanBufferSize, QueryBufferSize, JoinTries, MaxJoins, MaxNetworks, MaxQueryBuffers, NoTrafficTimeout
<*controlpanel> String: Nick, Altnick, Ident, RealName, BindHost, DefaultChanModes, QuitMsg, Password, Timezone, TimestampFormat, DCCBindHost, StatusPrefix
<*controlpanel> The following variables are available when using the SetNetwork/GetNetwork commands:
<*controlpanel> Boolean (true/false): TrustAllCerts, TrustPKI
<*controlpanel> Integer: FloodBurst, JoinDelay
<*controlpanel> Number: FloodRate
<*controlpanel> String: Nick, Altnick, Ident, RealName, BindHost, QuitMsg
<*controlpanel> The following variables are available when using the SetChan/GetChan commands:
<*controlpanel> Boolean (true/false): InConfig, AutoClearChanBuffer, Detached
<*controlpanel> Integer: BufferSize
<*controlpanel> String: DefModes, Key
<*controlpanel> You can use $user as the user name and $network as the network