I plan on releasing a new hostserv which uses a single database, rather than the filesystem.
Thanks
------------------------------------------------------------
Hostserv is designed to automatically assign users vhosts when they idfentify for their nickname. Hostserv features the following commands.
- Code: Select all
ADD - Add a Vhost (IRCOpers Only)
DEL - Remove a Vhost (IRCOpers Only)
LIST - Lists all the vhosts (IRCOpers Only)
HELP - Module Help (IRCOpers Only)
VERSION - Version information (All Users)
Services will log HostServ activity to #services. I recommend you secure this channel.
To Install:
Download the module at place it in ircservices-5.0.x/modules/misc/
Edit the MakeFile ircservices-5.0.x/modules/misc/Makefile
Add hostserv.so to the end of the 'MODULES =' line.
go to your ircservices-5.0.x folder, type 'make' and 'make install'.
The Module is now installed. Before it will run though, we will need some config entries :p
Go to your Library folder (where all your configs are) and create a folder called 'vhosts' (mkdir vhosts).
This is where all the vhosts will be stored, make sure nothing else goes into this folder! - I may improve this and make a proper database in the future, but for now, this is fine.
Open ircservices.conf and add at the bottom, add:
- Code: Select all
LoadModule misc/hostserv
Now open modules.conf, and at the bottom, add:
- Code: Select all
Module misc/hostserv
HostDir "/path/to/vhost/dir"
HostServName "HostServ" "The vhost Service"
EndModule
Now, restart services (I'd recommend against a rehash, as i've had lots of problems with it) and your hostserv will be installed
Download: http://www.chatspike.net/modules/hostserv.c
Mirror: http://www.servicescommunity.za.net/fil ... hostserv.c