mod_motd_sequential is a variant of mod_motd that lets you specify a sequence of MOTD messages instead of a single static one. Each message is only sent once and the module keeps track of who as seen which message.
= {
modules_enabled -- other modules
"motd_sequential";
}
= {
motd_sequential_messages "Hello and welcome to our service!", -- First login
"Lorem ipsum dolor sit amet", -- Second time they login
-- Add more messages here.
}
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_motd_sequential
For earlier versions see the documentation for installing 3rd party modules