ServerInfo

Moved

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

5/5, 53 likes
  1. I have now fixed my issues it was down to bad spacing further up in the script if you want to use this and edit to your needs feel free :)


    Code:
    {
      "settings": {
      "Tabs": [
      {
      "ButtonText": "Rules",
      "HeaderText": "True Survivour Server Rules",
      "Pages": [
      {
      "TextLines": [
      "",
      "Welcome to True Survivour 5x Rust.",
      "Please read all the information here.",
      "type <color=#66ff33>/help </color> to open this window at any time.",
      "",
      "<color=orange>Server rules:</color> - If caught doing any of the following you risk a server ban",
      "and or a VAC / EasyAnticheat ban(s)",
      "",
      "<color=yellow>1.</color>No use of cheats, bots, scripts, third-party software and kown game bugs.",
      "<color=yellow>2.</color>No Pretending to be a member of EGTID.",
      "<color=yellow>3.</color>No Fraud, other dishonest actions! Donations can be made via http://www.egtid.com",
      "<color=yellow>4.</color>No Chat flooding, (Banter is fine, but dont be a dick).",
      "<color=yellow>5.</color>No Creating obstructions for other users (building a wall around their base).",
      "<color=yellow>6.</color>No Server advertisements (without asking first).",
      "<color=yellow>7.</color><color=#66ccff>Only 3 rows of High External Walls allowed.</color>",
      "",
      "<color=green>Server Information:</color>",
      "<color=#66ccff>Wipe Schedule:</color> Every two weeks on Thursdays <color=#33cc33>Last Wipe 1st Dec  <--> Next wipe 15th Dec.</color>",
      "<color=#66ccff>Teamspeak 3:</color> ts.egtid.com.",
      "<color=#66ccff>Restart:</color> 06:00 GMT / UTC.",
      "",
      "<color=#66ccff>Donations can be made via http://www.egtid.com</color>"
      ],
      "ImageSettings": [
      {
      "Position": {
      "MinX": 0.0,
      "MaxX": 0.5,
      "MinY": 0.0,
      "MaxY": 0.5
      },
      "Url": "http://www.egtid.com/gallery/1_08_12_16_1_33_12.png",
      "TransparencyInPercent": 100
      },
      {
      "Position": {
      "MinX": 0.5,
      "MaxX": 1.0,
      "MinY": 0.0,
      "MaxY": 0.5
      },
      "Url": "http://www.egtid.com/gallery/1_08_12_16_1_33_33.png",
      "TransparencyInPercent": 50
      },
      {
      "Position": {
      "MinX": 0.0,
      "MaxX": 0.5,
      "MinY": 0.5,
      "MaxY": 1.0
      },
      "Url": "http://www.egtid.com/gallery/1_08_12_16_1_33_33.png",
      "TransparencyInPercent": 50
      },
      {
      "Position": {
      "MinX": 0.5,
      "MaxX": 1.0,
      "MinY": 0.5,
      "MaxY": 1.0
      },
      "Url": "http://www.egtid.com/gallery/1_08_12_16_1_33_12.png",
      "TransparencyInPercent": 100
      }
      ]
      },
      {
      "TextLines": [
      "No info here yet! (1)",
      "Check Back Soon"
      ],
      "ImageSettings": []
      },
      {
      "TextLines": [
      "No info here yet!(2)",
      "Check Back Soon"
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "Commands 1",
      "HeaderText": "Plugin Help / Facts 1",
      "Pages": [
      {
      "TextLines": [
      "",
      "<color=orange>In-game Commands</color>",
      "",
      "<color=orange>Kits</color>",
      "<color=orange>/kit</color> - shows all kits available to you.",
      "<color=orange>/kit <kitname></color> - Claims that kit.",
      "",
      "<color=orange>RemoverTool</color>",
      "",
      "<color=orange>/Remove</color> - Will let you remove items and buildings.",
      "you have placed/built yourself",
      "",
      "<color=orange>Private Messaging</color>",
      "",
      "<color=orange>/pm <username> <message></color> - Private message a player.",
      "<color=orange>/r <message></color> - Replies to the last person that PMed you.",
      "<color=orange>/c <message></color> - Sends a message to your clan members only."
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "Commands 2",
      "HeaderText": "Plugin Help / Facts 2",
      "Pages": [
      {
      "TextLines": [
      "",
      "<color=orange>Teleportation</color>",
      "",
      "<color=orange>/tpr <username> </color>- asks for a tp to the specified person.",
      "<color=orange>/tpa </color>- To accept a Teleport request.",
      "<color=orange>/home add <name> </color>- sets a new home.",
      "<color=orange>/home <name> </color>- teleports you to your home.",
      "<color=orange>/homelist </color>- gives you a list of all your homes.",
      "<color=orange>/homeremove <name> </color>- removes a saved home.",
      "",
      "<color=orange>Clans</color>",
      "",
      "<color=orange>/clan</color> - displays info on your current clan.",
      "<color=orange>/clan create 'tag' 'description' </color>- Creates a new clan.",
      "<color=orange>/clan invite <playername> </color>- Invites a player to join your clan.",
      "<color=orange>/clan join tag </color>- Joins a clan you have been invited to.",
      "<color=orange>/clan kick <playername> </color>- Kicks a member from your clan.",
      "<color=orange>/clan promote <playername> </color>- Promotes a member to Moderator.",
      "<color=orange>/clan demote <playername> </color>- Demotes a moderator to member.",
      "<color=orange>/clan leave </color>- leaves your current clan.",
      "<color=orange>/clan disband forever </color>- Disbands your clan (no undo)."
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "Commands 3",
      "HeaderText": "Plugin Help / Facts 3",
      "Pages": [
      {
      "TextLines": [
      "",
      "<color=orange>Automatic Doors</color>",
      "",
      "<color=orange>/ad </color>- Turns off Auto Doors.",
      "<color=orange>/ad 8 </color>- Sets Autodoors back to on (8 = 8 seconds. you can change in seconds to suit your needs.",
      "",
      "<color=orange>Auto Building Grades</color>",
      "",
      "Allows you to automatically update building parts to any grade / material",
      "just after you build it (using a building plan)",
      "<color=orange>/bgrade </color>- help in-game & display the current mode.",
      "<color=orange>/bgrade 1 </color>- auto update to wood.",
      "<color=orange>/bgrade 2 </color>- auto update to stone.",
      "<color=orange>/bgrade 3 </color>- auto update to metal.",
      "<color=orange>/bgrade 4 </color>- auto update to armored.",
      "<color=orange>/bgrade 0 </color>- disable auto update.",
      "",
      "<color=orange>Day Vote</color>",
      "",
      "<color=orange>/dayvote yes</color> - To skip the night cycle.",
      "<color=orange>/dayvote no</color> - To run the night cycle."
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "Commands 4",
      "HeaderText": "Plugin Help / Facts 4",
      "Pages": [
      {
      "TextLines": [
      "",
      "<color=orange>Friends</color>",
      "",
      "<color=orange>/friend add <playername></color> - Adds that player as a friend.",
      "<color=orange>/friend remove <playername></color> - Removes said player.",
      "",
      "<color=orange>Shop / Reward Store</color>",
      "",
      "you start with $1000 coins. Reward points are earned at 1 every hour of playtime on this server.",
      "you can exchange your $ for RP (reward points) in the Reward Store.",
      "you can also do it the other way RP - $.",
      "<color=orange>/shop</color> - To view the shop.",
      "<color=orange>/s</color> - To view the Reward Store.",
      "",
      "<color=orange>Friendly Fire</color>",
      "",
      "<color=orange>/ffon</color> - Turns FF on.",
      "<color=orange>/ffoff</color> - Turns FF off."
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "VIP / Donations",
      "HeaderText": "How To Become A VIP",
      "Pages": [
      {
      "TextLines": [
      "",
      "To become a VIP and earn some nice loot and the VIP tags in game just do the following.",
      "Goto http://www.egtid.com and click on the Donations tab.",
      "Donate what you like, but £5 will get you the loot and VIP rank in game.",
      "Then just wait for us to add you to our <color=#ffff99>VIP</color> members in game.",
      "This can take a while, but it will get done in under a day.",
      "",
      "<color=yellow>Whilst in PayPal remember to leave your in game name & 64bit Steam ID. </color>",
      "<color=yellow>E.G: - Joe Blogs, Steam ID: 76661397366201091</color>"
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      },
      {
      "ButtonText": "Free Loot / Voting",
      "HeaderText": "Vote = Free Loot",
      "Pages": [
      {
      "TextLines": [
      "<color=orange>Vote</color>",
      "",
      "Step 1. use <color=orange>/vote</color> to show you the link for voting for True Survival",
      "Step 2. Visit the webpage specified and vote",
      "Step 3. use <color=orange>/claim</color> - to claim you points",
      "step 4. use <color=orange>/voterewards</color> -  to see all avilable rewards",
      "",
      "<color=#66ccff>VoteSite (1)</color> https://rust-servers.net/server/99897/",
      "<color=#66ccff>VoteSite (2)</color> http://toprustservers.com/server/20016",
      "<color=#66ccff>VoteSite (3)</color> http://www.beancan.io/server/vote/egtid-com-5x",
      "All links can be found on our home page to make it easier for you",
      "",
      "<color=#66ccff>WWW.EGTID.COM</color>"
      ],
      "ImageSettings": []
      }
      ],
      "TabButtonAnchor": 4,
      "TabButtonFontSize": 16,
      "HeaderAnchor": 0,
      "HeaderFontSize": 32,
      "TextFontSize": 16,
      "TextAnchor": 3,
      "OxideGroup": "player,moderator,admin"
      }
      ],
      "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://www.egtid.com/gallery/1_08_12_16_1_32_41.jpeg",
      "TransparencyInPercent": 0
      },
      "ActiveButtonColor": "#b3b3b3",
      "InactiveButtonColor": "#b3b3b3",
      "CloseButtonColor": "#b3b3b3",
      "NextPageButtonColor": "#b3b3b3",
      "PrevPageButtonColor": "#b3b3b3",
      "BackgroundColor": "##737373",
      "HelpButton": {
      "IsEnabled": false,
      "Text": "Help",
      "Position": {
      "MinX": 0.0,
      "MaxX": 0.05,
      "MinY": 0.1,
      "MaxY": 0.14
      },
      "Color": "#b3b3b3",
      "FontSize": 18
      },
      "UpgradedConfig": false
      }
    }
    
     
  2. Hello, the plugin no longer seems to load the custom images.
     
  3. Due to the last Rust update it would need someone to tweek the .cs file
     
  4. Anyone got a fix for the images yet?
     
  5. Can anyone take over this plugin?
    As it is used by a hell of a lot of us & is probably the best info gui out there.
     
  6. LiQ

    LiQ

    Hello.
    Can u give me this plugin? (.cs file)
    I can't download
     

    Attached Files:

  7. Wulf

    Wulf Community Admin

    It isn't maintained anymore. There may be versions posted in previous posts in this thread though.
     
  8. This is what you are looking for.
     
  9. Are there any other info GUIs? I really like this one, and yeah I guess there are a lot of people using this.
     
  10. Wulf

    Wulf Community Admin

    I'll be updating it once I get a chance if nobody else decides they'd like to take it over.
     
  11. Does anyone know if you could upload a blackgroundimage to this file? if not, is anyone willing to help me to change in the file so it works? I really like this layout, but the background looks really wierd at the moment.
     
  12. Down near the bottom of the \oxide\config\ServerInfo.json you'll see 2 lines something like this:-

    Code:
          "Url": "http://static.gamekeeper.io/wp-content/uploads/game-keeper-backdrop-1920x1080.png",
          "TransparencyInPercent": 100
    
    That first line that starts "Url" is the one you need to paste an image link in. In the above example I've used 1920x1080 as the dimensions, but I *think* it'll resize that down to fit the users resolution. Ah, and you'll need to edit the value a few lines above it that enables it.

    Code:
    "Enabled"; true,
     
  13. ServerInfo was compiled successfully in 2336ms
    Unloaded plugin ServerInfo v0.4.0 by baton
    A plugin has polluted the global namespace by defining ServerInfo.Settings: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.Position: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.HelpTab: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.HelpTabPage: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.ImageSettings: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.BackgroundImageSettings: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.HelpButtonSettings: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.PlayerInfoState: ServerInfo
    A plugin has polluted the global namespace by defining ServerInfo.Extensions.ColorExtensions: ServerInfo
     
  14. I got this too today for the first time after I'd made changes to the ServerInfo.json. I cured it by unloading the plugin and then loading it rather than doing a reload.

    Wulf, it would be really nice if you could take a look at this plugin if you have time. :) I really don't know how you manage to do so much with your time, you've always impressed me. donation coming your way.

    Edit: Wulf, Patreon seems to want to charge my CC rather than use the small pile of cash in my PayPal account. That's not going to happen. Any other way I can send you a regular amount of money?
     
    Last edited by a moderator: Jan 25, 2017
  15. did you find a fix bud im having same problems cannot get any image to load nor the background
     
  16. there is a working version of the plugin ?
     
  17. give me your version.
    I have not worked since last update game
     
  18. ok fixed my image issue my only problem now is there anyway to add a background to each button ive looked threw all 34 page and no one mentions this lol
     
  19. Hello, how did you solve the custom image problem?
     
  20. bit of tweetking here and there i will pm you with the link to grab my cs file