ServerInfo

Moved

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

5/5, 53 likes

  1. Does it matter if the brace is right besides the bracket like this? [{
    Mine is in the next line right below the "Pages"

    Trying to learn hehe.
     
  2. Not really as far as I know to be honest, as long as the opener and closer brackets are in the right place. I am new to JSON and CS coding so I could be wrong but with the codes I have worked with as long as the openers and closers are in the right order of where they are needed to be used u could close all the code together without spaces and would still run. The spacing is more for the ease of reading the code and seeing whats what without it looking like a mess of words, brackets and commas.
     
  3. Ah ok so in this case here it doesn't matter. Thanks for the explanation :)
     
  4. Yeah no worries I try to help where i can.
     
  5. update please
     

    Attached Files:

  6. that has nothing to do with this plugin or any its from facepunch
     
  7. I removed the attachment and my problem is resolved.
     
  8. I could not find anything in the rcon saying error but I get this red text only when I /info and I've had others complain of being kicked when logging onto the server (our serverinfo panel is set to pop up when you first log on for the day)
    If there's any problem viewing it let me know it should be set to public
    Steam Community :: IsisKitsune :: Screenshots
     
  9. @Resistance Do you know if there's a character limit for the config file per line? I'm having the same problem as projackius, the unity error. It doesn't happen with the default config/json file but when i load my custom config/json (it worked up until last update) i get the same error. I did manually re-add the info/configured the file again as i did originally, but once it loads, and i use /info, i get the error.
     
  10. Check your config on this site in case there is a mistake with it
     
  11. Update your config ;) You use invalid image paths. It's not the plugin's fault, it's your fault :p
     
  12. LOL i figured it was something i did but i did check my image link, and its ok, it works. I'll double check my config to see if i missed anything. If i cannot figure it out, would you's be willing to take a look at my config to help me find the issue?
     
  13. Ok I need help, i have removed all image references from the config file, now its text and color only. Its only happening on the first tab that opens with /info. i compared the default configuration to mine and i am obviously missing something. i probably missed a comma somewhere lol Here is my config:

    Code:
    {
      "settings": {
        "Tabs": [
          {
            "ButtonText": "Help Info",
            "HeaderText": "Help and Information",
            "Pages": [
              {
                "TextLines": [
                  "Welcome To the information menu.",
                  "In here you can find a list of commands and general rules for the server.",
                  "type <color=red> /info </color> to open this window",
                  "If you need help Message me <color=red>b0xy</color> or another Admin.",
                  "Please Read The Rules Section.",
                  "Press next page to check a list of available commands."
                ],
                "ImageSettings": [
                  {
                    "Position": {
                      "MinX": 0.0,
                      "MaxX": 0.5,
                      "MinY": 0.0,
                      "MaxY": 0.5
                    },
                    "Url": "",
                    "TransparencyInPercent": 100
                  },
                  {
                    "Position": {
                      "MinX": 0.5,
                      "MaxX": 1.0,
                      "MinY": 0.0,
                      "MaxY": 0.5
                    },
                    "Url": "",
                    "TransparencyInPercent": 100
                  },
                  {
                    "Position": {
                      "MinX": 0.0,
                      "MaxX": 0.5,
                      "MinY": 0.5,
                      "MaxY": 1.0
                    },
                    "Url": "",
                    "TransparencyInPercent": 100
                  },
                  {
                    "Position": {
                      "MinX": 0.5,
                      "MaxX": 1.0,
                      "MinY": 0.5,
                      "MaxY": 1.0
                    },
                    "Url": "",
                    "TransparencyInPercent": 100
                  }
                ]
              },
              {
                "TextLines": [
                  "Type <color=red> /ad </color> to disable Auto Doors. ",
                  "Type <color=red> /bgrade </color> for help on Auto Grade building.",
                  "Type <color=red> /sethome </color> on a foundation to create your tp points. You can have 3.",
                  "Type <color=red> /remove </color> to use the Remover Tool. ",
                  "Type <color=red> /pm </color> to private message a player. Syntax is /pm name message. ",
                  "Type <color=red> /castfishingpole </color> while looking at water, using made fishing pole.",
                  "Type <color=red> /makefishingpole </color> while holding any type of spear. ",
                  "Type <color=red> /fishchance </color> percentage of chance you will catch a fish. ",
                  "Type <color=red> /trade </color> to start a trade with another player."
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Rules",
            "HeaderText": "General Rules",
            "Pages": [
              {
                "TextLines": [
                  "-Hackers are not wanted here and will be kicked and banned when caught.",
                  "-Glitching is not tolerated unless there is a reasonable explanation.",
                  "-Player griefing-Compound raiding -i.e-raiding the same person over and over before they have a chance",
                  "to rebuild or other such harassment is not acceptable, and could result in a ban.",
                  "-Don’t accuse another player of greifing, abuse or hacking unless you have proof (Fraps recording,",
                  "screenshots are acceptable methods). If you implicate another player or PM the admin but don’t have",
                  "any proof to back up your claim, we can’t help you. ",
                  "-Flooding the chat channel with CAPS FURY is frowned upon and if you are asked to stop, do it or risk",
                  "a good kicking. ",
                  "-Raging or nasty abuse of another player on the basis of gender,race or etc will result in the player",
                  "being kicked. ",
                  "-Multiple infractions will be a ban.",
                  "-General disruption of the server will result in a kick or ban at the Admins discretion.",
                  "If the admin asks you to stop doing something that is breaking the rules or otherwise",
                  "disrupting the server please listen to them, otherwise you could be kicked or banned.",
                  "3 TO A GROUP/CLAN. THATS IT. SIMPLE. NO BENDING THE RULE OR YOU WILL BE KICK/BANNED."
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          },
          {
            "ButtonText": "Other Misc",
            "HeaderText": "Other Miscellaneous info.",
            "Pages": [
              {
                "TextLines": [
                  "This is a WIP. Work in progress. Remember to have FUN. This is Rust. ",
                  "Leave your salt at home.",
                  "We have Plane Crashes! Use smoke rockets to shoot it down, they lock on the target.",
                  "You can use Lock on rockets for Planes, Heli's, and the tank.",
                  "Smoke rockets are used for Lock On rockets and can be found from meteor drops.",
                  "Zoom in and hold on target for 2 seconds to lock on.",
                  "You can also mine loot spawns for additional resources.",
                  "Meteors drop c00l shit."
                ],
                "ImageSettings": []
              }
            ],
            "TabButtonAnchor": 4,
            "TabButtonFontSize": 16,
            "HeaderAnchor": 0,
            "HeaderFontSize": 32,
            "TextFontSize": 16,
            "TextAnchor": 3,
            "OxideGroup": ""
          }
        ],
        "ShowInfoOnPlayerInit": true,
        "ShowInfoOnlyOncePerRuntime": true,
        "TabToOpenByDefault": 0,
        "Position": {
          "MinX": 0.15,
          "MaxX": 0.9,
          "MinY": 0.2,
          "MaxY": 0.9
        },
        "BackgroundImage": {
          "Enabled": false,
          "Position": {
            "MinX": 0.0,
            "MaxX": 1.0,
            "MinY": 0.0,
            "MaxY": 1.0
          },
          "Url": "",
          "TransparencyInPercent": 100
        },
        "ActiveButtonColor": "#0255255255",
        "InactiveButtonColor": "#127127127255",
        "CloseButtonColor": "#127127127255",
        "NextPageButtonColor": "#127127127255",
        "PrevPageButtonColor": "#127127127255",
        "BackgroundColor": "#000255",
        "HelpButton": {
          "IsEnabled": false,
          "Text": "Help",
          "Position": {
            "MinX": 0.0,
            "MaxX": 0.05,
            "MinY": 0.1,
            "MaxY": 0.14
          },
          "Color": "#127127127255",
          "FontSize": 18
        },
        "UpgradedConfig": false
      }
    }
     
  14. I fixed a few things in your file upload this one
     

    Attached Files:

    Last edited by a moderator: Jul 1, 2018
  15. ok i replaced my config with this one and got this:
     
  16. Got what?
     
  17. my paste and save didnt work. lol ill try again..heh
     
  18. try unloading plugin first then upload config then reload plugin
     
  19. I'm waiting on a verification from those that were having issues with being kicked but we weren't using any URLs in the configs and I double checked and found out we had the background image was true. Setting that to false seems to have fixed the red text issue at least for me. (If anyone mentioned this I must have missed it)
     
  20. its working now as long as I do not remove the urls for the default images. If we don't want to use the default images, what do we replace the urls with or just remove that section of code all together? or?
    Code:
                    "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",    <----------Those lol*****
                    "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",    <----------Those lol*****
                    "TransparencyInPercent": 100
                  },
                  {
                    "Position": {
                      "MinX": 0.0,
                      "MaxX": 0.5,
                      "MinY": 0.5,
                      "MaxY": 1.0
                    },
                    "Url": "",       <----------This is how i was changing it in the past
                    "TransparencyInPercent": 100
                  },
                  {
                    "Position": {
                      "MinX": 0.5,
                      "MaxX": 1.0,
                      "MinY": 0.5,
                      "MaxY": 1.0
                    },
                    "Url": "",       <----------This is how i was changing it in the past
                    "TransparencyInPercent": 100