To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Difference between revisions of "Clientbuffer"

From ZNC
Jump to: navigation, search
m (added note about this being an updated version, added link to multiple clients page)
m (minor wording change)
Line 6: Line 6:
 
The source code is available on [https://github.com/CyberShadow/znc-clientbuffer GitHub]. See also instructions for [[compiling modules]].
 
The source code is available on [https://github.com/CyberShadow/znc-clientbuffer GitHub]. See also instructions for [[compiling modules]].
  
This is an updated version to the original Clientbuffer.  Some additional modules which you may find useful when using multiple clients, including information between this and the original Clientbuffer, can be found at [[Multiple clients]].
+
This is an updated version to the original Clientbuffer.  Some additional modules which you may find useful when using multiple clients, as well as information between this and the original Clientbuffer, can be found at [[Multiple clients]].
  
 
{{Module arguments|count=up to two|extra=<br>
 
{{Module arguments|count=up to two|extra=<br>

Revision as of 20:07, 20 October 2017

The client buffer module maintains client specific buffers for identified clients.

The source code is available on GitHub. See also instructions for compiling modules.

This is an updated version to the original Clientbuffer. Some additional modules which you may find useful when using multiple clients, as well as information between this and the original Clientbuffer, can be found at Multiple clients.

Arguments

This user module takes up to two arguments.

autoadd
If specified, causes any clients that haven't been previously registered to be automatically registered, thus making it unnecessary to use the AddClient command.
timelimit=seconds
Does not send log lines that are older than the specified number of seconds. For example, use timelimit=86400 to only send buffer lines that are at most one day long.

Read loading modules to learn more about loading modules.

Configuration

In order to make it possible for the module to control client specific buffers, you must disable the AutoClearChanBuffer and AutoClearQueryBuffer config options that are enabled by default. This can be done via controlpanel, webadmin, or znc.conf.

The savebuff module is recommended to allow buffers survive ZNC restarts.

Commands

/msg *clientbuffer AddClient <identifier>
/msg *clientbuffer DelClient <identifier>
/msg *clientbuffer ListClients

Identifiers

ZNC supports passing a client identifier in the password:

username@identifier/network:password

or in the username:

username@identifier/network