💾 Archived View for missbanal.net › perfect-znc-setup captured on 2023-12-28 at 15:21:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2024-06-16)

-=-=-=-=-=-=-

Published the 2021-05-28 on Willow's site

Perfect ZNC Multi-Client Setup

By default, ZNC handle the playback. When no client is connected, it will store missed messages and play them back when you log in with an IRC client.

But if you got multiple IRC client in multiple device, login with one of them will make the others to never receive the messages.

clientbuffer is a module to fix that! It will track what message all of your IRC clients received.

Configure clientbuffer

We have to compile it as it is not a base module.

$ apt install unzip znc-dev
$ curl -o v1.0.48.zip https://github.com/CyberShadow/znc-clientbuffer/archive/refs/tags/v1.0.48.zip
$ unzip v1.0.48.zip
$ cd znc-clientbuffer-1.0.48/
$ znc-buildmod clientbuffer.cpp
$ mkdir -p /var/lib/znc/modules/
$ cp clientbuffer.so /var/lib/znc/modules/

Connect to ZNC

Use this as username: "username@CLIENTNAME/network"

Here CLIENTNAME will be used by clientbuffer to identify this client. Make it unique per client.

Enable clientbuffer on each network

/msg *controlpanel set AutoClearChanBuffer $me False
/msg *controlpanel set AutoClearQueryBuffer $me False
/msg *status LoadMod clientbuffer autoadd timelimit=86400

RSS feed

If this post inspired you, feels free to leave a comment !

The Cogitatis mailing list