After you have installed Verlihub from source, you can install Forbid Plugin from source. This tutorial does not apply for the verlihub installed from repositories (in which case you should reinstall verlihub from source, because the version from repositories is no longer supported).
Download the file:
tar zxvf forbid-1.3.tar.gz
Change current directory to forbid plugin directory:
sudo make install
After everything was successful, we enter the hub with our favorite DC client as administrator and we type (it will start the plugin):
It should say OK.
To list all the plugins that are started:
You should see Forbid Plugin listed there.
The command options for the Forbid Plugin:
|!lstforbid||Lists forbidden patterns.|
|!addforbid <"pattern"> [-C ||Adds a forbidden pattern. Using the -C option, you can specify the classes to ignore filtering. Set to 1 to ignore registered users and up. Using the -r option, you can specify a kick reason. Using the -f option, you can specify which chats are screened and whether or not a message is sent to OpChat when a rule is broken. Using the table below, to screen main chat and private messages, use -f 3.|
|1||Screen public chat|
|2||Screen private messages|
|4||Notify OpChat when a rule is broken|
|7||Will notify OpChat when a rule is broken and screen public and private chat|
|!modforbid <"pattern">||Modifies forbidden pattern. See parameters for adding.|
|!delforbid <"pattern">||Deletes forbidden pattern.|
It will list all the rules for the Forbid Plugin.
!addforbid dchub:// -f 4 -C 2 -r "forbidden"
It will add a rule for the dchub:// and notify an chat operator. This rule applies to those user with a class smaller than 2, and the message wil be "forbidden".
!delforbid dchub:// -f 4 -C 2 -r "forbidden"
It will delete that rule above.
Resources: Velihub Docu