ServerInfo

Moved

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

5/5, 53 likes
  1. That didn't work either :( I don't get it. I tried reinstalling it too. This is my config file:

    Code:
    {
      "settings": {
        "Tabs": [
          {
            "ButtonText": "Welcome",
            "HeaderText": "Welcome to <color=orange>Rusty Mirage</color>!",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>A low population, lightly modded Rust server. Our combination of plugins eliminate the annoyance of playing</size>",
                  "<size=14>on a vanilla server without losing that original Rust experience. Some of our current plugins include:</size>",
                  " ",
                  "<size=14>-<color=orange>GatherManager</color>: 2x gather on resources.</size>",
                  "<size=14>-<color=orange>ZLevelsRemastered</color>: 0.5% gain per level. This resets every wipe.</size>",
                  "<size=14>-<color=orange>MagicLoot</color>: 2x component loot. 1-2 extra items per container.</size>",
                  "<size=14>-<color=orange>TimeOfDay</color>: 45 minutes of daylight, 5 minute nights.</size>",
                  "<size=14>-<color=orange>NoDecay</color>: Only twigs are set to decay.</size>",
                  "<size=14>-<color=orange>RemoveTool</color>: If you missplace an item, easily remove it!</size>",
                  "<size=14>-<color=orange>StackSizeController</color>: Resource stacks are 5k. Most other items are 2-3x vanilla stack size.</size>",
                  "<size=14>-<color=orange>QuickSmelt</color>: Smelting is twice as fast as vanilla - including charcoal output.</size>",
                  "<size=14>-<color=orange>CraftingController</color>: Crafting items twice as fast as vanilla.</size>",
                  "<size=14>-<color=orange>CarCommanderLite</color>: 5 car spawn points. Cars do NOT save after player disconnect.</size>",
                  "<size=14>-<color=orange>PlayerCounter</color>: Shows player count in top left of screen - players(sleepers)/75</size>",
                  "<size=14>-<color=orange>PlayerRanks</color>: Get a fancy title next to your name!</size>",
                  " ",
                  "<size=14>Type <color=yellow>/info</color> any time to open this window.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Server Rules",
            "HeaderText": "Rules:",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>1. No Hacking.</size>",
                  "<size=14>2. No Exploiting.</size>",
                  "<size=14>3. No Cheating.</size>",
                  "<size=14>4. No Advertising.</size>",
                  "<size=14>9. No Racism.</size>",
                  "<size=14>5. Do Not Spam Chat.</size>",
                  "<size=14>6. Respect The Admin (miraqul).</size>",
                  "<size=14>7. Do Not Impersonate The Admin.</size>",
                  "<size=14>8. Do Not Ask The Admin for Items.</size>",
                  " ",
                  "<size=14>NOTE: The Admin is very active. If you need to report something, contact <color=yellow>miraqul</color> on Steam.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Wipe Info",
            "HeaderText": "Wipe Schedule:",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>We are on a biweekly Rust schedule.*</size>",
                  " ",
                  "<size=14>Last map wipe: November 9, 2017</size>",
                  "<size=14>Next map wipe: November 23, 2017</size>",
                  "<size=14>Last Blueprint wipe: none - server has only been up a couple weeks.</size>",
                  "<size=14>Next Blueprint wipe: TBD - possibly on first thursday of each month.</size>",
                  " ",
                  "<size=14>The wipe will always be between 4:30-5:30PM CST</size>",
                  " ",
                  "<size=14>*subject to change at the discretion of the Admin for the good of the server.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Plugin Help",
            "HeaderText": "Plugin Commands:",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>Remove Tool - To use the remove tool type <color=green>/remove</color> in chat.</size>",
                  "<size=14>Player Ranks - To view rank information type <color=green>/ranks</color> in chat.</size>",
                  "<size=14>Private Message - type <color=green>/pm <user> <message></color> and <color=green>/r</color> to reply to messages.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          }
        ],
        "ShowInfoOnPlayerInit": false,
        "ShowInfoOnlyOncePerRuntime": 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": "https://i.imgur.com/rP0pHMc.jpg",
          "TransparencyInPercent": 100
        },
        "ActiveButtonColor": "#128008C65",
        "InactiveButtonColor": "#128008C65",
        "CloseButtonColor": "#128008C65",
        "NextPageButtonColor": "#128008C65",
        "PrevPageButtonColor": "#128008C65",
        "BackgroundColor": "#FFFFFF00",
        "HelpButton": {
          "IsEnabled": false,
          "Text": "Help",
          "Position": {
            "MinX": 0.0,
            "MaxX": 0.05,
            "MinY": 0.1,
            "MaxY": 0.14
          },
          "Color": "#0255255255",
          "FontSize": 18
        },
        "UpgradedConfig": false
      }
    }
     
  2. apart from the background img not being an https secure link that's the only real difference I could see when I compared yours to mine

    Code:
    {
      "settings": {
        "Tabs": [
          {
            "ButtonText": "Welcome",
            "HeaderText": "Welcome to <color=orange>Rusty Mirage</color>!",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>A low population, lightly modded Rust server. Our combination of plugins eliminate the annoyance of playing</size>",
                  "<size=14>on a vanilla server without losing that original Rust experience. Some of our current plugins include:</size>",
                  " ",
                  "<size=14>-<color=orange>GatherManager</color>: 2x gather on resources.</size>",
                  "<size=14>-<color=orange>ZLevelsRemastered</color>: 0.5% gain per level. This resets every wipe.</size>",
                  "<size=14>-<color=orange>MagicLoot</color>: 2x component loot. 1-2 extra items per container.</size>",
                  "<size=14>-<color=orange>TimeOfDay</color>: 45 minutes of daylight, 5 minute nights.</size>",
                  "<size=14>-<color=orange>NoDecay</color>: Only twigs are set to decay.</size>",
                  "<size=14>-<color=orange>RemoveTool</color>: If you missplace an item, easily remove it!</size>",
                  "<size=14>-<color=orange>StackSizeController</color>: Resource stacks are 5k. Most other items are 2-3x vanilla stack size.</size>",
                  "<size=14>-<color=orange>QuickSmelt</color>: Smelting is twice as fast as vanilla - including charcoal output.</size>",
                  "<size=14>-<color=orange>CraftingController</color>: Crafting items twice as fast as vanilla.</size>",
                  "<size=14>-<color=orange>CarCommanderLite</color>: 5 car spawn points. Cars do NOT save after player disconnect.</size>",
                  "<size=14>-<color=orange>PlayerCounter</color>: Shows player count in top left of screen - players(sleepers)/75</size>",
                  "<size=14>-<color=orange>PlayerRanks</color>: Get a fancy title next to your name!</size>",
                  " ",
                  "<size=14>Type <color=yellow>/info</color> any time to open this window.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Server Rules",
            "HeaderText": "Rules:",
            "Pages": [
              {
                "TextLines": [
                 " ",
                  "<size=14>1. No Hacking.</size>",
                  "<size=14>2. No Exploiting.</size>",
                  "<size=14>3. No Cheating.</size>",
                  "<size=14>4. No Advertising.</size>",
                  "<size=14>9. No Racism.</size>",
                  "<size=14>5. Do Not Spam Chat.</size>",
                  "<size=14>6. Respect The Admin (miraqul).</size>",
                  "<size=14>7. Do Not Impersonate The Admin.</size>",
                  "<size=14>8. Do Not Ask The Admin for Items.</size>",
                  " ",
                  "<size=14>NOTE: The Admin is very active. If you need to report something, contact <color=yellow>miraqul</color> on Steam.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Wipe Info",
            "HeaderText": "Wipe Schedule:",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>We are on a biweekly Rust schedule.*</size>",
                  " ",
                  "<size=14>Last map wipe: November 9, 2017</size>",
                  "<size=14>Next map wipe: November 23, 2017</size>",
                  "<size=14>Last Blueprint wipe: none - server has only been up a couple weeks.</size>",
                  "<size=14>Next Blueprint wipe: TBD - possibly on first thursday of each month.</size>",
                  " ",
                  "<size=14>The wipe will always be between 4:30-5:30PM CST</size>",
                  " ",
                  "<size=14>*subject to change at the discretion of the Admin for the good of the server.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Plugin Help",
            "HeaderText": "Plugin Commands:",
            "Pages": [
              {
                "TextLines": [
                  " ",
                  "<size=14>Remove Tool - To use the remove tool type <color=green>/remove</color> in chat.</size>",
                  "<size=14>Player Ranks - To view rank information type <color=green>/ranks</color> in chat.</size>",
                  "<size=14>Private Message - type <color=green>/pm <user> <message></color> and <color=green>/r</color> to reply to messages.</size>"
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          }
        ],
        "ShowInfoOnPlayerInit": false,
        "ShowInfoOnlyOncePerRuntime": 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": "https://i.imgur.com/rP0pHMc.jpg",
          "TransparencyInPercent": 100
        },
        "ActiveButtonColor": "#128008C65",
        "InactiveButtonColor": "#128008C65",
        "CloseButtonColor": "#128008C65",
        "NextPageButtonColor": "#128008C65",
        "PrevPageButtonColor": "#128008C65",
        "BackgroundColor": "#FFFFFF00",
        "HelpButton": {
          "IsEnabled": false,
          "Text": "Help",
          "Position": {
            "MinX": 0.0,
            "MaxX": 0.05,
            "MinY": 0.1,
            "MaxY": 0.14
          },
          "Color": "#0255255255",
          "FontSize": 18
        },
        "UpgradedConfig": false
      }
    }
     
  3. /info makes my server crash now


    "RPC Error in AddUI"
     
  4. I tried going back to the previous version and that happened to me as well. Server didn't crash, it just disconnects you, same error message.
     
  5. Wulf

    Wulf Community Admin

    No way for you to get that if you're using the latest version of it and are updated with Rust. This plugin does not have any direct CUI calls anymore, it uses Oxide's API for it. So the only way for you to get that still is if you're using an old version of the plugin or are using an old old version of Rust and Oxide.
     
  6. yes, I only went back to the previous version to see if it corrected the bug where it doesn't allow you to close out of the window. There has to be something wrong or interfering with this plugin. This issue is happening on other servers too, but no one seems to talk about it. Hope there is a fix someday.
     
  7. Wulf

    Wulf Community Admin

    Tested the current version and had no issues. Closed just fine, no errors. It's possible you have some other UI that is overlapping it though, but errors aren't there either way and would have only been there a ago.
     
  8. It doesn't happen every single time. Here is a video of what happens. It works fine sometimes then you can see at the end what happens. I'm going to test a few more things and see if I can fix it.

    Uploadfiles.io - 2017-11-19_18-30-09.mp4
     
  9. hmm ok fair enough. Must of missed the update in my stream . Thanks.
     
    Last edited by a moderator: Nov 20, 2017
  10. "Error while compiling ServerInfo.cs(266,21): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `connection' and no extension method `connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?"

    I have the latest version 0.5.3 and double checked there is no "connection" with the lowercase. What else could it be?

    Update: I fixed it. Clanforge has 2 separate ServerInfo plugins listed, I installed the other one and it worked.
     
    Last edited by a moderator: Nov 24, 2017
  11. Bug: Players will see the names of the first tabs in the list on the tabs in the config file, not specifically the first tab names they actually have permission for. For example: tab 1 is "Server info" and has no group requirement, tab 2 is "admin commands" and has admin group requirement, tab 3 is "other info" and has no group requirement. The player, who is not an admin, will see two tabs: Server info and admin commands. When a tab is selected it reverts to the proper name. Content of each tab is normal - the player will not see admin commands in the given example.
     
  12. Yup, still happening. Has always happened for the past year I've been using it. Like everyone says ALL THE TIME its not always, its sporadic. Its something specific with this plugin. The first (2) tabs are always un-selectable too after it becomes un-closable so it seems to be everything above a certain height cannot be clicked.
     
    Last edited by a moderator: Dec 3, 2017
  13. Go to line 453 and change AnchorMax = "0.86 1" to AnchorMax = "0.86 0.7" or something like that. It will lower all buttons.
     
  14. Hi guys,

    The window has a fixed width and height or its a percentage of window?

    Because i've created an overlay for the background image and i want to know if the image will fit on all resolution.


    Thanks
     
  15. I haven't used images myself, but from what I understand it should automatically resize as the pop-up interface resizes. To answer your question, it is a percentage.
     
  16. Fack :D

    In fact I try to add a logo on the bottom left corner of the popup and I don't know where i've to put it in the json file
     
  17. But the buttons are all aligned nicely. I guess thats a fix tho (I'll try)
     
  18. Can I make it so it only appears when using the /info command?
    It happens alot that I can't close it when I enter the server, and it gets really frustrating at times.
     
  19. The option is in the config file, but would apply to everyone.
     
  20. "ShowInfoOnlyOncePerRuntime": true ? set that to false? I'm pretty new at this, so trying to figure it out as I go