mod_motd_sequential/README.markdown
changeset 1807 4d73a1a6ba68
parent 1786 29f3d6b7ad16
child 1824 8de50be756e5
equal deleted inserted replaced
1806:0ab737feada6 1807:4d73a1a6ba68
       
     1 ---
       
     2 labels:
       
     3 - 'Stage-Beta'
       
     4 summary: Sequential MOTD messages
       
     5 ...
       
     6 
       
     7 Introduction
       
     8 ============
       
     9 
       
    10 mod\_motd\_sequential is a variant of
       
    11 [mod\_motd](https://prosody.im/doc/modules/mod_motd) that lets you
       
    12 specify a sequence of MOTD messages instead of a single static one. Each
       
    13 message is only sent once and the module keeps track of who as seen
       
    14 which message.
       
    15 
       
    16 Configuration
       
    17 =============
       
    18 
       
    19 
       
    20         modules_enabled = {
       
    21             -- other modules
       
    22                 "motd_sequential";
       
    23         }
       
    24         motd_sequential_messages = {
       
    25             "Hello and welcome to our service!", -- First login
       
    26             "Lorem ipsum dolor sit amet", -- Second time they login
       
    27             -- Add more messages here.
       
    28         }