DJabberd::Component::Example - An example DJabberd service component
<Plugin DJabberd::Plugin::Component> Subdomain example Class DJabberd::Component::Example Greeting Hello, world! </Plugin>
This class implements a very simple component that responds to all incoming messages with a predefined greeting and which returns a vCard for itself when one is requested. You can change the greeting returned using the optional Greeting configuration setting as above.
This example also exposes a node called "eliza" that allows you to talk to an Eliza chatbot.
To install DJabberd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DJabberd
CPAN shell
perl -MCPAN -e shell install DJabberd
For more information on module installation, please visit the detailed CPAN module installation guide.