Plugins

Plugins form a fundamental layer in the Licq architecture. They communicate with the Licq daemon to allow user interfaces and other functions to be built. Creating a plugin is fairly tricky as there is little documentation and the daemon interface is somewhat complicated. A good place to start is the PLUGINS.HOWTO, and the Licq header files.

Installing a plugin is, however, simple. First, unpack the plugin to the "plugins" directory in the main Licq source tree. Then build and install it (ie place it in /usr/local/lib/licq). Then run licq using the "-p" option and the name of the plugin (minus the leading "licq_" and tailing ".so"). For example, the qt-gui plugin may be loaded by doing
licq -p qt-gui
where the plugin has been installed as /usr/local/lib/licq/licq_qt-gui.so.

After the first time, any plugins will load automatically at startup without the need for the -p option.

A number of plugins are available for Licq at the current time:

Interface Plugins

Plugin Version Description
Qt GUI 1.3.2 The offical interface for Licq written in Qt. Comes with the main distribution. Includes all the features of Licq as listed in the Info page. See the plugins/qt-gui/doc directory for more information.
Includes full KDE support as well if configured with "--with-kde".
Console 1.3.2 This is a console interface plugin for Licq using ncurses. It features multiple command windows, and much of the basic icq functionality. It can be retrieved using CVS as described in the Licq cvs page, the module is called "console"..
IcQnD Gtk-2 GUI 0.1.6-1.31 A New GTK2 Gui! This one looks like it has many features already and should be used instead of the other GTK plugins.
Nicq 0.40 An excellent Qt based GUI which uses an IRC style single window interface.

Additional Functionality Plugins

Plugin Version Description
Forwarder 1.3.2 A simple plugin to forward incoming ICQ events to either an email address or another ICQ account. This is great for forwarding a secondary ICQ account or forwarding to a pager/mobile phone. Also included in the main distribution.
Auto-Responder 1.3.2 Plugin to automatically respond to any incoming event with the output of a given program, which can be passed user arguments, or event the message text itself. Often used in conjunction with "fortune" to send people fortunes. Also included in the main distribution.
Update Hosts 0.0.5 A simple plugin to add your contact list to your /etc/hosts file, thus allowing the use of a users alias as a hostname for contacting them using ftp/telnet/talk... The plugin can be run concurrently with a gui plugin and will dynamically maintain your /etc/hosts file as users go online and offline.
Can be found on the ftp site (ftp.xx.licq.org) in the plugins directory.
Mailchecker 1.0 This is a POP3 plugin and was created to notify the user when there is mail on your server. There are some bugs but the author is working to resolve them. Please notify the contributer of problems.
Contributed by Ismael Orenstein <perdig@linuxbr.com.br>
Remote Management Service 1.3.2 This plugin opens a TCP server on the Licq box which allows you to telnet in and perform commands and get information. It works with the new licqweb web interface. It acts much like the FIFO only it is two way. Currently it supports viewing/changing status, viewing the user list, viewing groups, sending messages/urls, and dumping the network log.
Basic security is implemented through the need to enter your UIN and ICQ password before being allowed access to commands.
Written by Graham Roff. New enhancements by Jon Keating.
On Screen Display 1.3.0 The On Screen Display (OSD) plugin uses libxosd2 to display messages on the screen as soon as they are received. Currently under development by Martin Maurer.