This checks the nickname of a joining user against a configurable list of Lua patterns, and prevents them from joining if it matches any of them.
There is a single configuration option,
muc_reserve_nick_patterns
and the default is
{}
- i.e. allow everything.
Requires Prosody 0.11 or higher.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_reserve_nick_pattern
For earlier versions see the documentation for installing 3rd party modules