If you want to create an openfire plugin which is listening for some packets / messages and should react based on message content e.g. Bot. In my example plugin I want to listen for a message which contains packet extensions and parse the data from XML.
The message looks like:
<message id="ri1KL-7" to="firstname.lastname@example.org" type="chat">