ServerInfo

Moved

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

5/5, 53 likes
  1. Change the text to what you like then do this in console oxide.reload ServerInfo
     
  2. still hasnt worked mate... gonna start pulling my hair out soon
    [DOUBLEPOST=1454699252][/DOUBLEPOST]
    Code:
    {
       "Tabs":[
          {
             "ButtonText":"Server Info",
             "HeaderText":"First Tab",
             "Pages":[
                {
                   "TextLines":[
                      "Welcome to Rusty Spoons",
                      "Where kills are high but resource gains are higher",
                      "FEATURES:",
                      "10k STACKS | PETS | PM SYSTEM | 5X RESOURCES | EXCITING WELCOME GIFTS | CLANS",
                      "type <color=red> /info </color> 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":[
                      "Social Commands:",
                      "DEATHNOTES:",
                      "/deathnotes show (info about the plugin)",
                      "/showdeaths toggle (lets you you see messages in chat)",
                      "PERSONAL MESSAGE:",
                      "/pm <player name> (messages said player only",
                      "HELIVOTE:",
                      "/helivote open XX' - Will open a vote to call helicopters, with optional amount of helicopters XX",
                      "/helivote yes' - Votes yes",
                      "/helivote no' - Votes no",
                      "DICE:",
                      "/dice (rolls a dice with random out come",
                      "type <color=red> /info </color> 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":[
                      "PETS:",
                      "How to:",
                      "/pet (activate/deactivate npc mode)",
                      "/pet free  (release the pet)",
                      "/pet sleep  (pet will sleep) (low hunger and thirst lose, stamina recovers 3 times faster)",
                      "/pet draw  (on/off draw system)",
                      "/pet info  (show info about your pet (health, hunger, thrist, stamina)",
                      "type <color=red> /info </color> 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":""
          }
       ],
       "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"
    }
    and still cant get it to work
     
  3. can some friendly soul make a example for me with 5 tabs ?
    no matter what i do i cant get it to work !

    and plz mark like [your text here] on all new tabs so i know were to add my stuff...
    i suck at this :D
     
  4. is there a way to force a player to read info again
     
  5. Good evening,

    I have problems when I use the <size>.
    I try to put a text in <size=40> but nothing happens.
    Me on text does not appear.

    Where have this problem?
     
  6. <size=40>text here</size>
     
  7. No Unfortunately :-(

    I have proof that appears on the image. [​IMG]
    Look in the configuration file I attached. In the configuration part there is no error.

    I do not understand !
     

    Attached Files:

  8. i can't find serverinfo.json in config files. Is it bug or json is somewhere?
     
  9. Is it possible to made a close timer?

    I have some faq info that opens on join, but people are just closing it and asking the questions that are just on the screen. I have made announcements that its viewable with the command, but its getting frusterated.

    I really love the idea that if you are joining the server for the first time U cant close the screen for X seconds.
     
  10. This feautere would be nice.
    And add so you can smack it in someonse face again
     
  11. I will pay $10 paypal to the 1st person who can take all the info from this old config and make it all work and look right in the new style config. I get stumped when I get to adding pages to tab 2 makes my brain hurt lol
     

    Attached Files:

  12. hi.. i keep ketting a "?" picture if i want to change the background.
     
  13. make sure you upload your pic to:
    Imgur
    or somekind of good website
    right click the image and save image url/address paste it in the code
    this is the last url on the bottom of the config
    Code:
        "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg",
        "TransparencyInPercent": 100/and if you want one pic for every tab make sure you DELETE :/            {
                  "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
                }
    
    make sure the transparency is lower than 50 or the image wil go over the text and the text will gets hard to read

    [DOUBLEPOST=1455379682][/DOUBLEPOST]
    :)
     

    Attached Files:

    Last edited by a moderator: Feb 13, 2016
  14. oh fyi Instinct got my $10 so no need for anyone else to mess with that. Thx again Instinct
     
  15. Hello All,
    I have been trying to modify the "ServerInfo.json" file in my oxide/config folder. I have validated my new .json file but when I reload the plugin it resets it and rewrites it to a default .json file. I read a few pages back that you need to make your customizations in the "server_info_text.json" file but I cant seem to find that file.

    Does anyone know what I can do to fix this?

    Thanks!
     
  16. Remove this post if I'm not allowed to share this. Edited the code to get /help and /info do the same thing, open Serverinfo. I found this useful, maybe do you.
     
  17. how can I make the main panel transparent?
     
    • 100% — FF
    • 95% — F2
    • 90% — E6
    • 85% — D9
    • 80% — CC
    • 75% — BF
    • 70% — B3
    • 65% — A6
    • 60% — 99
    • 55% — 8C
    • 50% — 80
    • 45% — 73
    • 40% — 66
    • 35% — 59
    • 30% — 4D
    • 25% — 40
    • 20% — 33
    • 15% — 26
    • 10% — 1A
    • 5% — 0D
    • 0% — 00
    Put those codes at the end of the hexcode for the background color:

    Ex: I want to get a black background with 70% opacity, I use the hex code for black (#000000) and add B3 to the end: #000000B3
     
  18. Hello.

    Button "HELP" appears only when reload the plugin. Is it possible to see this button always?
    Code:
    "HelpButton": {
          "IsEnabled": true,
          "Text": "help",
          "Position": {
            "MinX": 0.03,
            "MaxX": 0.09,
            "MinY": 0.96,
            "MaxY": 0.99
          },
          "Color": "#7F7F7FFF",
          "FontSize": 18
        },
        "UpgradedConfig": false
     
    Last edited by a moderator: Feb 23, 2016
  19. Hey, so im working on my Help GUI info screen and I can't seem to figure out how to make the background transparent. I would only like it about as transparent as the crafting screen. Just enough to see if a player is coming up on you or something while reading it. If someone can do that for me it'd be great! i'll put my json file below if someone can edit it. Thanks!
     

    Attached Files: