This module automatically reserves the nickname of a user when they first join a MUC. That’s all.
The module doesn’t currently update the registration if the user changes their nick. That could cause flip-flopping if the user has two clients in regular use with different nicks configured.
Requires Prosody trunk (0.12) for the API introduced in commit 0e7dedd8b18d and e0b58717f0c5.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_auto_reserve_nicks
For earlier versions see the documentation for installing 3rd party modules