Skip to content

ServerInformation ​

Description ​

ServerInformation adds a pause-menu panel with a server description, tabs of text and buttons that open configured URLs. An optional server logo can appear in the panel.

Configuration ​

Default configuration ​

ServerInformation.json
json
{
    "m_Enable": 0,
    "m_ServerLogo": 1,
    "m_Description": "Description of your server",
    "m_Tabs": [
        {
            "m_TabLabel": "TAB 01",
            "m_TabLines": [
                "01 - Text...",
                "02 - Text...",
                "03 - Etc...."
            ]
        },
        {
            "m_TabLabel": "TAB 02",
            "m_TabLines": [
                "04 - Text...",
                "05 - Text...",
                "06 - Etc...."
            ]
        },
        {
            "m_TabLabel": "TAB 03",
            "m_TabLines": [
                "07 - Text...",
                "08 - Text...",
                "09 - Etc...."
            ]
        }
    ],
    "m_Buttons": [
        {
            "m_ButtonText": "DONATE",
            "m_ButtonLink": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KQS8P492THZ4J&currency_code=BRL&source=url"
        },
        {
            "m_ButtonText": "WEBSITE",
            "m_ButtonLink": "https://steamcommunity.com/sharedfiles/filedetails/?id=2030913708"
        },
        {
            "m_ButtonText": "DISCORD",
            "m_ButtonLink": "https://discord.gg/QfGuzTF4Hk"
        }
    ]
}

Options ​

OptionTypeDescription
m_EnableboolWith 1, enables the module. With 0, disables it.
m_ServerLogoboolWith 1, displays the configured logo if available and streamer mode is off. With 0, hides the logo.
m_DescriptionstringDescription displayed above the tabs.
m_Tabsarray<object>Text tabs to display.
m_Buttonsarray<object>Links to display as buttons.

m_Tabs[] ​

OptionTypeDescription
m_TabLabelstringTab label.
m_TabLinesarray<string>Lines shown inside the tab, in order.

m_Buttons[] ​

OptionTypeDescription
m_ButtonTextstringButton label.
m_ButtonLinkstringURL opened by the button.

Released under the MIT License.