How to create a room in openfire?

Hi,guys!

I want to devlop a openfire plugin, which allow me to create rooms using openfire api on the user login.

and user will have access to a particular room in that login. A new room will assign in the new login.

Is it possible in openfire?

thx!

I don’t really know the code but maybe take a look in the code of org.jivesoftware.openfire.muc*