ServerInfo

0.00 руб.

Скачали: 10 раз

Вы можете открыть панель в оригинальном размере и рассмотреть ее ближе/детальнее


1920 x 1080


☑ Необходим плагин ServerInfo
☒ Плагин (.cs) с измененным UI кнопок отсутствует
Скачать бесплатно с umod.org
Купить UI на rustelysium.ru

Категория: Метки: , ,

Этот плагин позволяет вам создавать настраиваемый пользовательский интерфейс с несколькими вкладками. Прежде всего это полезно для предоставления командной справки или другой информации о сервере.

Конфигурацию можно изменять по-своему вкусу, например:  форматирование текста в теме “HTML разметка в плагинах“, вкладки страниц, кнопка активации/команда или вместе, показывать каждый раз при подключении/один раз.
Если допустить ошибку при форматировании, то конфигурация может вернуться к дефолтному состоянию.

Параметры этого плагина можно настроить в ServerInfo.json файле в oxide/config каталоге.

Поэтому чтобы избежать проблем с форматированием и синтаксических ошибок, рекомендуется использовать редактор JSON или сайт проверки, например jsonlint.com .

Конфигурация

 

default config
{
  "Tabs": [
    {
      "ButtonText": "First Tab",
      "HeaderText": "First Tab",
      "Pages": [
        {
          "TextLines": [
            "This is first tab,  \t\t 1 \u20AC \n first page.",
            "Add some text here by adding more lines.",
            "You should replace all default text lines with whatever you feel up to",
            "type  /info  to open this window",
            "Press next page to check second page.",
            "You may add more pages in config file."
          ],
          "ImageSettings": [
            {
              "Position": {
                "MinX": 0.0,
                "MaxX": 0.5,
                "MinY": 0.0,
                "MaxY": 0.5
              },
              "Url": "http://th04.deviantart.net/fs70/PRE/f/2012/223/4/4/rust_logo_by_furrypigdog-d5aqi3r.png",
              "TransparencyInPercent": 100
            },
            {
              "Position": {
                "MinX": 0.5,
                "MaxX": 1.0,
                "MinY": 0.0,
                "MaxY": 0.5
              },
              "Url": "http://files.enjin.com/176331/IMGS/LOGO_RUST1.fw.png",
              "TransparencyInPercent": 100
            },
            {
              "Position": {
                "MinX": 0.0,
                "MaxX": 0.5,
                "MinY": 0.5,
                "MaxY": 1.0
              },
              "Url": "http://files.enjin.com/176331/IMGS/LOGO_RUST1.fw.png",
              "TransparencyInPercent": 100
            },
            {
              "Position": {
                "MinX": 0.5,
                "MaxX": 1.0,
                "MinY": 0.5,
                "MaxY": 1.0
              },
              "Url": "http://th04.deviantart.net/fs70/PRE/f/2012/223/4/4/rust_logo_by_furrypigdog-d5aqi3r.png",
              "TransparencyInPercent": 100
            }
          ]
        },
        {
          "TextLines": [
            "This is first tab, second page",
            "Add some text here by adding more lines.",
            "You should replace all default text lines with whatever you feel up to",
            "type  /info  to open this window",
            "Press next page to check third page.",
            "Press prev page to go back to first page.",
            "You may add more pages in config file."
          ],
          "ImageSettings": []
        },
        {
          "TextLines": [
            "This is first tab, third page",
            "Add some text here by adding more lines.",
            "You should replace all default text lines with whatever you feel up to",
            "type  /info  to open this window",
            "Press prev page to go back to second page."
          ],
          "ImageSettings": []
        }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": ""
    },
    {
      "ButtonText": "Second Tab",
      "HeaderText": "Second Tab",
      "Pages": [
        {
          "TextLines": [
            "This is second tab, first page.",
            "Add some text here by adding more lines.",
            "You should replace all default text lines with whatever you feel up to",
            "type  /info  to open this window",
            "You may add more pages in config file."
          ],
          "ImageSettings": []
        }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": ""
    },
    {
      "ButtonText": "Third Tab",
      "HeaderText": "Third Tab",
      "Pages": [
        {
          "TextLines": [
            "This is third tab, first page.",
            "Add some text here by adding more lines.",
            "You should replace all default text lines with whatever you feel up to",
            "type  /info  to open this window",
            "You may add more pages in config file."
          ],
          "ImageSettings": []
        }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": ""
    }
  ],
  "ShowInfoOnPlayerInit": true,
  "TabToOpenByDefault": 0,
  "Position": {
    "MinX": 0.15,
    "MaxX": 0.9,
    "MinY": 0.2,
    "MaxY": 0.9
  },
  "BackgroundImage": {
    "Enabled": true,
    "Position": {
      "MinX": 0.0,
      "MaxX": 1.0,
      "MinY": 0.0,
      "MaxY": 1.0
    },
    "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg",
    "TransparencyInPercent": 100
  },
  "ActiveButtonColor": "#00FFFFFF",
  "InactiveButtonColor": "#7F7F7FFF",
  "CloseButtonColor": "#7F7F7FFF",
  "NextPageButtonColor": "#7F7F7FFF",
  "PrevPageButtonColor": "#7F7F7FFF",
  "BackgroundColor": "#000000FF"
}

Команды

/info чат-команда. Показать доступную информацию

История

 

Обновления