This module subscribes to a real-time blocklist using pubsub (XEP-0060). As entries are added and removed from the blocklist, it immediately updates a local service-wide ban list.


Load this module on your existing MUC component like so:

Component "" "muc"
modules_enabled = {
    -- other modules etc

Then there are two options, which must be set under the component or in the global section of your config:

muc_rtbl_jid = "rtbl.example"
muc_rtbl_node = "muc_bans_sha256"


Should work with Prosody >= 0.11.x



This version of mod_muc_rtbl assumes that the pubsub node contains one item per blocked JID. The item id should be the SHA256 hash of the JID to block. The payload is not currently used, but it is recommend to use a XEP-0377 report element as the payload.


With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server= mod_muc_rtbl

For earlier versions see the documentation for installing 3rd party modules