1. GSManager
    1. Features
    2. Supported Games
    3. News
    4. Statistics
    5. Server list
  2. Lexicon
  3. Filebase
  4. Development
  5. Forum
    1. Dashboard
    2. Unresolved Threads
  6. Web-Interface
  7. Articles
  8. Members
    1. Recent Activities
    2. Users Online
    3. Team
    4. Search Members
  • Login
  • Register
  • Search
Lexikon
  • Everywhere
  • Articles
  • Pages
  • Files
  • Forum
  • Lexikon
  • More Options
  1. GSManager
  2. Lexicon

Automessages (1)

  • iMarkus
  • August 13, 2015 at 1:57 PM
  • June 16, 2016 at 2:44 PM
  • 4,545 times viewed
The project GSManager (formerly ManuAdminMod) was discontinued on 01.01.2020 - this internet presence stays available, but the software is no longer maintained. Thanks for your support over the more than 10 past years!
  • This is how you configure the automessages plugin.

    1 Short description


    With this plugin, you can configure your own messages, which are sent to the chat in a specific interval. Furthermore messages can be shown at specific times/days.

    2 Configurationoverview

    JavaScript: configs/plugins/automessages.json
    {
        "automessages": {
            "enabled": true,
            "interval": 120,
            "logging": true,
            "messages": [
                "^5This Server is running ^4GSManager <VERSION>^5, visit our Website at: ^4www.GSManager.de",
                "^5The next Map is: ^4<NEXT_MAP> ^5(^4<NEXT_GAMETYPE>^5){{br}}^5Die nächste Karte ist: ^4<NEXT_MAP> ^5(^4<NEXT_GAMETYPE>^5)"
            ],
            "cron": [
                ["0 0 * * *", "^5Mitternacht!{{br}}^5Midnight!"]
            ]
        }
    }
    Display More

    3 Detailed configurationvariables


    The configurationfile of the "automessages" function is located in the configs/plugins directory and is named banner.json. An explanation of the variables follows:

    Variable Allowed Values Description
    enabled truefalse You can (de)active the plugin with this variable.
    interval number This variable defines the interval between two sent messages in seconds.
    logging truefalse This variable defines if the automessages should be logged in the daemon.log
    messages Text This variable defines the messages, which should be send to the chat.
    cron Array with arrays of two strings each First entry of each array is a unix cron time string, second is the message.

    You can use the following placeholders in your messages:

    Platzhalter Beschreibung
    {{br}} Will be replaced with a wordwrap.
    <NEXTMAP> Will be replaced with the next map.
    <NEXTGT> Will be replaced with the next gametype.
    <VERSION> Will be replaced with the current running GSManager
    <TIME_DE> Will be replaced with the time in german time format.
    <TIME_EN> Will be replaced with the time in english time format.
    <DATE> Will be replaced with the date in form date time month year (01 Oct 2014).
    <MAP> Will be replaced with the current running map.

    Using color codes is possible.

  • Next entry Balancer (1)
  • Changelog
  • PDF

Languages

  • Automessages

Table of Contents

  • 1 Short description
  • 2 Configurationoverview
  • 3 Detailed configurationvariables
  1. Staff
  2. Privacy Policy
  3. Terms of Service
  4. Legal Notice
  5. Contact
Lexicon, developed by www.viecode.com
Powered by WoltLab Suite™