ServerInfo

Moved

Total Downloads: 10,611 - First Release: Aug 29, 2015 - Last Update: Oct 27, 2017

5/5, 53 likes
  1. Any news on if there is going to be a fix to the plugin locking up on first join and being unable to close the GUI on first join, the only way my players can get rid of it, is to log off and then log back in again, its such a useful plugin, and I love what it can do but this is making it impraticle to use. Is it likely to be updated or has this been abandoned now?
     
  2. Need help, when adding a background image, appears a shade of grayish color. How can this be remedied?
    http://gamestores.pictures/images/2017/05/19/8EgzNW9j6dE.jpg
    It used to be like this:
    http://gamestores.pictures/images/2017/05/19/JHclD3icdy8.jpg
    Code:
    {
      "settings": {
        "Tabs": [
          {
            "ButtonText": "Информация",
            "HeaderText": "Информация о сервере FastRust#1",
            "Pages": [
              {
                "TextLines": [
                  "- <color=cyan>Рады приветствовать вас на сервере FastRust#1!</color>",
                  "- <color=cyan>Вайпы карты на данный момент каждый четверг</color>",
                  "- <color=cyan>Максимум игроков вместе- 3 </color>",
                  "- <color=cyan>На сервере запрещены тайники (точнее их размещение) </color>",
                  "- <color=cyan>Администрация не вмешивается в игровой процесс, а только следит за ним </color>",
                  "- <color=cyan>Автоматический рестарт каждый день в </color><color=yellow> 04:00 </color>",
                  "- <color=cyan>Группа сервера ВК:</color><color=yellow> vk.com/fast_rust_server</color>",
                  "- <color=cyan>Магазин сервера </color><color=yellow>shop.fastrust.ru</color>",
                  "- <color=cyan>Чтобы открыть это окно снова, введите в чат</color><color=yellow> /info</color>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Правила",
            "HeaderText": "Правила Сервера",
            "Pages": [
              {
                "TextLines": [
                  "1) <color=red>Запрещены</color> <color=cyan>кланы (максимум 3 игрока в команде)</color>",
                  "2) <color=red>Запрещено</color> <color=cyan>использовать читы любых видов (бан)!</color>",
                  "3) <color=red>Запрещено</color> <color=cyan>багоюзерство (бан)</color>",
                  "4) <color=red>запрещено</color> <color=cyan>использование матов в никах</color>",
                  "5) <color=red>запрещено</color> <color=cyan>унижения или оскорбления игроков (мут)</color>",
                  "  <color=cyan>а так же мат даже замаскированный (мут -> кик -> бан)</color>",
                  "6) <color=red>Запрещено</color> <color=cyan>строительство на воде дальше чем 250 метров от острова</color>",
                  "  <color=cyan>(Дом будет снесен под корень админом)</color>",
                  "7) <color=red>Запрещена</color> <color=cyan>реклама других серверов в чате (мут)</color>",
                  "8) <color=red>Запрещены</color> <color=cyan>постройки в текстурах</color>",
                  "   <color=red> Дом сносится под 0, ресурсы не возвращаются</color>",
                  "9) <color=red>Запрещены</color> <color=cyan>картинки непристойного содержания снаружи дома</color>",
                  "  <color=cyan>(внутри лепите что хотите)</color>",
                  "10) <color=red>Запрещены</color> <color=cyan>любые попытки спамить, стакать или dos'ить сервер</color>",
                  "  <color=cyan>(карается вечным баном и отправкой жалобы в valve)</color>",
                  "11)<color=red> За клевету и дезинформацию про сервер - мут + бан  </color> ",
                  "12)<color=red> Администрация сервера в любой момент при возникновении подозрения </color> ",
                  "   <color=red> на нечестную игру имеет право проверить игрока на наличие запрещенного софта. </color>",
                  "   <color=red> За отказ от прохождения проверки последует БАН</color>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Блок Предметов",
            "HeaderText": "Блок Предметов",
            "Pages": [
              {
                "TextLines": [
                  ""
                ],
                "ImageSettings": [
                  {
                    "Position": {
                      "MinX": 0.0,
                      "MaxX": 0.7,
                      "MinY": 0.0,
                      "MaxY": 0.9
                    },
                    "Url": "http://gamestores.pictures/images/2017/05/19/ItemBlocker.png",
                    "TransparencyInPercent": 100
                  }
                ]
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Киты",
            "HeaderText": "Как получить киты",
            "Pages": [
              {
                "TextLines": [
                  "<color=yellow> /kit </color> <color=cyan>- Показывает информацию о доступных китах, а так же их перезарядку.</color>",
                  "<color=yellow> /kit hunt </color> <color=cyan>- Набор для охоты, доступен раз в 15 минут.</color>",
                  "<color=yellow> /kit home </color> <color=cyan>- начальные ресурсы для дома, можно получить только 1 раз.</color>",
                  "<color=yellow> /kit med </color> <color=cyan>- медицинский набор, доступен каждый час.</color>",
                  "<color=yellow> /kit food </color> <color=cyan>- набор c едой, доступен каждые 5 минут.</color>",
                  "<color=yellow> /kit work </color> <color=cyan>- кирка, топор и факел, доступен каждую минуту.</color>",
                  "<color=yellow> /kit build </color> <color=cyan>- план постройки и киянка, доступен каждую минуту.</color>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Телепортация",
            "HeaderText": "Помощь по телепортации",
            "Pages": [
              {
                "TextLines": [
                  "<color=yellow> /sethome имя_дома </color> <color=cyan>- сохранит текущее местоположение с именем 'имя_дома'(всего 4).</color>",
                  "<color=yellow> /home имя_дома </color> <color=cyan>- телепортирует вас в точку сохранения 'имя_дома'.</color>",
                  "<color=yellow> /removehome имя_дома </color> <color=cyan>- удаляет точку сохранения с именем 'имя_дома'.</color>",
                  "<color=yellow> /tpr имя_игрока </color> <color=cyan>- создает запрос на телепортацию к игроку 'имя_игрока'.</color>",
                  "<color=yellow> /tpa </color> <color=cyan>- принимает запрос на телепортацию от другого игрока.</color>",
                  "<color=yellow> /tpc </color> <color=cyan>- Отмена телепортации (tpr/home).</color>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Остальное",
            "HeaderText": "Остальные команды",
            "Pages": [
              {
                "TextLines": [
                  "<color=yellow> /friend add Имя </color> <color=cyan>- пригласить игрока в друзья</color>",
                  "<color=yellow> /friend list </color> <color=cyan>- список ваших друзей</color>",
                  "<color=yellow> /friend remove Имя </color> <color=cyan>- удалить игрока из друзей</color>",
                  "<color=yellow> /ff off/on </color> <color=cyan>- Отключить/Включить урон по друзьям</color>",
                  "<color=yellow> /pm ник сообщение </color> <color=cyan>- Отправить приватное сообщение игроку</color>",
                  "<color=yellow> /r </color> <color=cyan>- Ответить на последнее принятое приватное сообщение в личку</color>",
                  "<color=yellow> /showmenu </color> <color=cyan>- включить/изменить прицел</color>",
                  "<color=yellow> /lantern </color> <color=cyan>- вкл/выкл автоосвещение дома фонарями</color>",
                  "<color=yellow> /ad </color> <color=cyan>- вкл/выкл автозакрытие дверей (пусто-выкл, или от 5 до 30 секунд)</color>",
                  "<color=yellow> /remove </color> <color=cyan>- включить или отключить режим удаления ваших построек</color>",
                  "<color=yellow> /sil </color> <color=cyan>- команда загрузки изображения на табличку</color>",
                  "<color=cyan>(пример <color=green>/sil http://imagehost.com/my_image</color>)</color>",
                  "<color=yellow> /trade </color> <color=cyan>- команда для торговли между игроками.</color>",
                  "<color=cyan>Во время торговли нельзя двигаться. КД до повторной торговли 15 минут.</color>",
                  "<color=yellow> /chskin </color> <color=cyan> изменить скин предмета </color>",
                  "<color=yellow> /sl add </color> <color=cyan> Включить автоматическое слежение данного прожектора (максимум 2)</color>",
                  "<color=yellow> /sl remove </color> <color=cyan> Отключить автоматическое слежение данного прожектора</color>",
                  "<color=yellow> /sl rotate </color> <color=cyan> включает/отключает вращение прожектора в автоматическом режиме</color>",
                  "<color=yellow> /bgrade 1-4 </color> <color=cyan>- автоулучшение построек.</color>",
                  "<color=yellow> 1 </color> <color=cyan>- дерево, </color><color=yellow> 2 </color> <color=cyan>- камень, </color><color=yellow> 3 </color> <color=cyan>- металл, </color><color=yellow> 4 </color> <color=cyan>- МВК, </color><color=yellow> 0 </color> <color=cyan>- Отключает</color>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "ПРЕМИУМ",
            "HeaderText": "Для Премиум-игроков",
            "Pages": [
              {
                "TextLines": [
                  "<color=cyan>Приобрести премиум статус можно в нашем магазине : </color><color=orange>shop.fastrust.ru/</color>",
                  "<color=yellow> /kit premium </color> <color=cyan> - 1 раз в 24 часа. Содежит ресурсы и оружие</color>",
                  "<color=yellow> /kit comp </color> <color=cyan> - 1 раз в сутки. Содержит компоненты</color>",
                  "<color=cyan>Вампиризм, который позволяет вам лечиться при нанесении противнику урона</color>",
                  "Так же отключено гниение построек игрока с привилегией PREMIUM"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "БИНДЫ",
            "HeaderText": "Бинды основных команд сервера",
            "Pages": [
              {
                "TextLines": [
                  "<color=cyan> Вписывать в консоль (клавиша <color=yellow>F1</color>)</color>",
                  "<color=yellow>bind c ''chat.say /remove'' </color><color=cyan>(Инструмент для удаления) </color>",
                  "<color=yellow>bind k ''chat.say /kit'' </color><color=cyan>(Меню китов)  </color>",
                  "<color=yellow>bind m ''LMUI_Control map'' </color><color=cyan>(Открытие/Закрытие карты (Не бумажная)) </color>",
                  "<color=yellow>bind n ''skinbox.open'' </color><color=cyan>(Смена скинов предметов) </color>",
                  "<color=yellow>bind f5 ''ShowMenu'' </color><color=cyan>(Выбор прицела)  </color>",
                  "<color=cyan>После переназначения клавиш не забудьте сохранить изменения в ваш </color>",
                  "<color=cyan>конфигурационный файл командой </color> <color=yellow>writecfg </color>",
                  "<color=cyan>Подробнее о бинде чат-команд с пробелом <color=yellow>(/home 1, /trade accept, /tpr player и т.д.)</color></color>",
                  "<color=cyan>смотрите информацию в обсуждениях в группе ВК</color>"
                ],
                "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://gamestores.pictures/images/2017/03/07/Font2.jpg",
          "TransparencyInPercent": 100
        },
        "ActiveButtonColor": "#00CED1",
        "InactiveButtonColor": "#2F4F4F",
        "CloseButtonColor": "#DF0101",
        "NextPageButtonColor": "#127127127255",
        "PrevPageButtonColor": "#127127127255",
        "BackgroundColor": "#000000",
        "HelpButton": {
          "IsEnabled": true,
          "Text": "<color=cyan>Помощь \n (/info в чат)</color>",
          "Position": {
            "MinX": 0.75,
            "MaxX": 0.83,
            "MinY": 0.02,
            "MaxY": 0.1
          },
          "Color": "#080b19",
          "FontSize": 18
        },
        "UpgradedConfig": true
      }
    }
     
    Last edited by a moderator: May 19, 2017
  3. Hey why when i remove some pages i get eror can some1 help me pls.TNX.
     
  4. You probably are missing a comma or something simple like that, try putting your config through a json parser like this one http://json.parser.online.fr/
    [DOUBLEPOST=1495607600][/DOUBLEPOST]
    I was wondering if you would consider adding this to your list of private plugins and developing it further that way, I have purchased your spawn control plugin and would be willing to support you further if this plugin was added to your list private plugins so that we could use it properly.
     
  5. Can you send it to me for reference?
     
  6. Wulf

    Wulf Community Admin

    You can find old versions under the Version History tab.
     
  7. Has there been any reports of this plugin causing server freezes after beginning of May 2017?

    Marcus Longridge and I have potentially narrowed down to 3 plugins (this being one of them) that potentially are the source of the random freezes:
    Server freezing | Page 2 | Oxide
    (my config file is attached in the linked thread)
     
  8. Hello,

    Every time I restart my config file is getting overwritten by the default one and my changes never show up, only the default does. This is the config that I'm trying to use: https://webhosts.online/ServerInfo2.json

    Can anyone see if I'm doing anything wrong?

    Thanks
     
  9. Code:
    [06/02/2017 04:02:34] Error while compiling: ServerInfo.cs(862,2): error CS1010: Newline in constant
    
     
  10. Then your modded version from anywhere is wrong coded ;)
     
  11. Fujikura, are you able to help me? Every time I restart the server the ServerInfo.json gets overwritten by the default.
     
  12. Players on my server are unable to close the window after roughly 30 seconds of having it open. This seems to only affect 1 player at a time but that has yet to be proven. Is anyone else having this issue?
     
  13. It's most likely you have an error in your ServerInfo.json and so it's resetting to default - been there, got the t-shirt. Go and validate it at jsonlint.com.
    [DOUBLEPOST=1496745620][/DOUBLEPOST]@Fujikura I just noticed today that the background image has become washed out as if some of the colour has been leeched out of it, turning it almost to black and white. It didn't used to be like this. I've fiddled with the transparency but it doesn't make any difference the image is still sad and washed out. I'm not sure when this happened, I've only just spotted it.

    I see @Silent. has noticed the same issue.

    Any chance of a quick look? :)
     
  14. When players join the server, they are unable to close the info window. I have had to unload it to close it and when I call it with /info, it closes no problem. The issue only arises when someone connects . Any ideas on how to fix it?
     
  15. did you ever figure it out? mine does the same and its all valid JSON
     
  16. Would you mind posting it here?
     
  17. Would not really be a quick look, causei did not made the plugin, and the code is partly very strange built ;)
    Also i got not really an idea ,what would cause such results atm.
     
  18. Thanks Fuji. I think it might be an Oxide (maybe Rust) hook or function that has changed which calls the same graphics routine it always has, but something there has changed. I don't really believe it's the plugin, but maybe there is a different function, or the new one needs a parameter.

    The plugin isn't broken, it just looks a bit funny now, and I only just noticed it so I'm guessing it's something that changed in the last month.

    You know I'm just guessing, but thanks for answering me anyway. :)
     
  19. Here we go,
    Code:
    {
        "Tabs": [{
                "ButtonText": "Overview",
                "HeaderText": "Overview",
                "Pages": [{
                    "TextLines": [
                        "Welcome to Flesh and Bones.",
                        "This is a deathmatch server with a focus on looting weapons from barrels and crates. There are no kits.",
                        "Make sure to harvest the corpses of your enemies, as you can use their meat and skulls to purchase items from vending machines.",
                        "",
                        "",
                        "type <color=red> /info </color> at any time to open this window."
                    ],
                    "ImageSettings": [{
                        "Position": {
                            "MinX": 0.0,
                            "MaxX": 0.0,
                            "MinY": 0.0,
                            "MaxY": 0.0
                        },
                        "Url": "",
                        "TransparencyInPercent": 0
                    }]
                }],
                "TabButtonAnchor": 4,
                "TabButtonFontSize": 16,
                "HeaderAnchor": 0,
                "HeaderFontSize": 32,
                "TextFontSize": 16,
                "TextAnchor": 3,
                "OxideGroup": ""
            },
            {
                "ButtonText": "Looting",
                "HeaderText": "Looting",
                "Pages": [{
                    "TextLines": [
                        "There are several ways to obtain weapons.",
                        "The easiest is to find a building and loot it. The map is covered with custom buildings such as log cabins, apartment blocks, a church, a prison and a castle. There will be crates inside with weapons that respawn on a timer.",
                        "These spawns are not random, the same weapon/item will respawn there every time. This means you can learn exactly where to find a specific weapon.",
                        "These crates can also be found scattered around outside, and many have been place at the airfield and harbour.",
                        "Another way to loot weapons is from junkpiles. The barrels and crates will both drop weapons and ammo."
                    ],
                    "ImageSettings": []
                }],
                "TabButtonAnchor": 4,
                "TabButtonFontSize": 16,
                "HeaderAnchor": 0,
                "HeaderFontSize": 32,
                "TextFontSize": 16,
                "TextAnchor": 3,
                "OxideGroup": ""
            },
            {
                "ButtonText": "Vending Machines",
                "HeaderText": "Vending Machines",
                "Pages": [{
                    "TextLines": [
                        "Check your map to see the locations of all the vending machines. Some are more useful than others.",
                        "Human Skulls are the most valuable currency. They are needed to buy any armour, weapons or attachments.",
                        "Raw human meat is used mostly to buy ammo and meds. Ammo is not cheap.",
                        "(PLANNED)There is one shop called 'Refunds' than will buy most purchasable items, but for a lower value than their selling price."
                    ],
                    "ImageSettings": []
                }],
                "TabButtonAnchor": 4,
                "TabButtonFontSize": 16,
                "HeaderAnchor": 0,
                "HeaderFontSize": 32,
                "TextFontSize": 16,
                "TextAnchor": 3,
                "OxideGroup": ""
            },
            {
                "ButtonText": "Other Features",
                "HeaderText": "Other Features",
                "Pages": [{
                    "TextLines": [
                        "- No radiation",
                        "- No attack helicopters",
                        "- Death messages",
                        "- Wounded screams",
                        "- Type <color=red> /KDR </color> to see you kill/death stats, and type <color=red> /top </color> to see the top ten players",
                        "- Many items have been blocked from crafting, including most building related items such as building plan, hammer, code locks etc",
                        "- Daytime lasts for 20 minutes, night lasts for 10",
                        "- All of the lights don't consume and fuel (including campfires), however the prison searchlights still do. Low grade fuel can be purchased from the prison cafeteria"
                    ],
                    "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://i.imgur.com/KDh0HMw.png",
            "TransparencyInPercent": 75
        },
        "ActiveButtonColor": "#00FFFFFF",
        "InactiveButtonColor": "#7F7F7FFF",
        "CloseButtonColor": "#7F7F7FFF",
        "NextPageButtonColor": "#7F7F7FFF",
        "PrevPageButtonColor": "#7F7F7FFF",
        "BackgroundColor": "#000000FF"
    }
     
  20. Got it! Your formatting has become screwed up because you missed out "settings" at the top of your JSON. The beginning of mine looks like this:-
    Code:
    {
      "settings": {
        "Tabs": [
          {
            "ButtonText": "Welcome",
    So yes your code validates, but it's missing the settings section and from there on all the formatting has gone out of kilter to match it. Maybe you can fix this by editing all your code, but my suggestion is to print off or have open another window with your code in it. Then take the default ServerInfo.json generated by the plugin and very carefully edit it, and TEST every little change. To save yourself some heartache (I've been there) every time you make a change, save a copy with a different name so that you might end up with 10 named files. If you screw it up again somewhere along the way - and if you're anything like me you'll do it at least 2 or 3 times - you won't have lost everything.

    I couldn't sleep one night and I was up until 4.00am making changes to my ServerInfo.json and I didn't save it with a different name. I must have made ONE tiny mistake somewhere and I lost 2+ hours of work and couldn't remember what I'd done and had no copy of the text I'd changed anywhere. Don't make my mistake - make sure you have plenty of different saves and save every few minutes. ;)