ServerInformation
Descrição
ServerInformation adiciona ao menu de pausa um painel com descrição do servidor, abas de texto e botões que abrem URLs configuradas. O painel pode mostrar o logotipo do servidor.
Configuração
Configuração padrão
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¤cy_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"
}
]
}Opções
| Opção | Tipo | Descrição |
|---|---|---|
m_Enable | bool | Com 1, ativa o módulo. Com 0, desativa. |
m_ServerLogo | bool | Com 1, exibe o logotipo configurado se disponível e com o modo streamer desativado. Com 0, oculta o logotipo. |
m_Description | string | Descrição exibida acima das abas. |
m_Tabs | array<object> | Abas de texto exibidas. |
m_Buttons | array<object> | Links exibidos como botões. |
m_Tabs[]
| Opção | Tipo | Descrição |
|---|---|---|
m_TabLabel | string | Rótulo da aba. |
m_TabLines | array<string> | Linhas exibidas na aba, em ordem. |
m_Buttons[]
| Opção | Tipo | Descrição |
|---|---|---|
m_ButtonText | string | Rótulo do botão. |
m_ButtonLink | string | URL aberta pelo botão. |
