Go to file
Blair Bonnett 2e7f0f9c12 Add plugin to send user commands.
Adds a mod_ucmd plugin which uses the previously added user command
plugin functions to send user commands when users log in. These are read
from a text file in a simple format. They can be restricted to users
with certain credentials, and can have multiple actions (e.g., send a PM
and a message in the main chat).

A sample user command file for the standard uhub commands is at
doc/ucmd.conf, and will be automatically installed if appropriate.

This currently won't send commands to existing users (e.g., if the
plugin is (re)loaded after the hub is already up and running). To
support this, a plugin function to list all current users would need to
be added.

I'm not sure how efficient this would be due to the volume of
messages needed to delete the existing commands on shutdown and send
them again on startup. As the commands are reloaded properly within the
plugin, it may be easier to require users to reconnect after the
configuration changes (and, of course, an admin could force this by
restarting the hub).
2012-08-08 19:34:19 +12:00
admin Cleanup after creating debian packages. 2009-03-24 23:16:09 +01:00
autotest Cleaned up command handling code, by splitting into multiple files. 2012-05-01 20:15:49 +02:00
debian Updated init script in debian package. 2012-05-08 23:40:16 +03:00
doc Add plugin to send user commands. 2012-08-08 19:34:19 +12:00
src Add plugin to send user commands. 2012-08-08 19:34:19 +12:00
thirdparty Added sqlite as a git submodule. 2011-12-28 18:08:11 +01:00
tools convert_to_sqlite.pl: Update to the latest SQL schema + be more Perlish 2012-05-14 19:06:11 +02:00
vs2010 Fix VS2010 project file - missing .c file. 2012-05-13 23:59:27 +02:00
.gitignore ignore files generated by dpkg-buildpackage 2012-04-19 02:54:21 +02:00
.gitmodules Added sqlite as a git submodule. 2011-12-28 18:08:11 +01:00
AUTHORS Added support for dynamic commands. 2011-12-09 10:29:50 +01:00
BSDmakefile kqueue() BSD fixes 2010-01-27 17:50:02 +01:00
BUGS Document new bugs strategies 2009-03-16 17:35:08 +01:00
ChangeLog Updated changelog. 2012-05-29 22:57:02 +02:00
COPYING First git commit. 2009-02-19 17:14:09 +01:00
COPYING.OpenSSL Fix bug #183 - Added proper OpenSSL license exception for the GPL. 2012-04-22 22:23:11 +02:00
GNUmakefile Add plugin to send user commands. 2012-08-08 19:34:19 +12:00
README update client software link 2012-04-19 02:43:59 +02:00
TODO Add TODO file. Some modify example uhub.conf 2010-01-14 09:46:55 +03:00
version.h Updated the copyright to 2012 and git version display. 2012-01-04 11:08:07 +01:00

Welcome and thanks for downloading uHub, a high performance ADC p2p hub.

For the official documentation, bugs and other information, please visit:
http://www.uhub.org/

For a list of compatible ADC clients, see:
http://en.wikipedia.org/wiki/Advanced_Direct_Connect#Client_software