ServerInfo

Moved

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

5/5, 53 likes
  1. That is my plugin I made for my server. It is private.
     
  2. Getting this error since yesterday with this plugin any idea why?

    NetworkData.Write - no handler to write Facepunch.ObjectList -> Facepunch.ObjectList
     
  3. Hello,

    i get Disconnect: RPC Error in AddUI

    If remove your plugin, i can connect.

    Thanks
     
  4. I have removed this from my server because you are unable to close it when connecting, you have to reconnect to be able to close it and that's bad for the playercount
     
  5. I have no problems with the version I have
     
  6. edited my config file now getting this .....
    ServerInfo v0.5.3: Failed to load config file (is the config file corrupt?) (Invalid property identifier character: {. Path 'settings', line 105, position 6.)
    ServerInfo v0.5.3: Failed to load config file (is the config file corrupt?) (Invalid property identifier character: {. Path 'settings', line 105, position 6.)
     
  7. Copy paste your config file and validate first at The JSON Validator
    You are probably missing a comma or similar.
     
  8. What is the command to bind the to a key???
     
  9. 1. Establish which command you want to bind to a key.
    It needs to be a command that ordinarily works in the CONSOLE, like "env.kill" or "env.time 800", etc.

    2. You cannot bind a CHAT command, examples are "/info" or "/remove"

    3. Go to the CONSOLE and type "bind [key] [command]"
    Example: "bind f noclip" and this will bind the letter f to let you fly, without having to type noclip in the console.

    Ignore the quotation marks.
     
  10. u can bind chat commands like this as example:

    bind KEY "chat.say /info"
    bind KEY "chat.say /remove"
     
  11. So appreciative for this bit o' info. Thanks!
     
  12. I swear I can't find the issue! Once I reload the plugin it goes back to the default config file. It passes the check on a JSON validator. Can someone help please?
    Code:
    {
       "Tabs":[
          {
             "ButtonText":"Welcome",
             "HeaderText":"Welcome",
             "Pages":[
                {
                   "TextLines":[
                      "Welcome to 0Bnoxious Server",
                      "We aim to be a friendly community server where all kinds of players can join and have a good time.",
                      "Have fun and see you guys around!",
                      "type <color=red> /info </color> to re-open this window"
                   ],
                   "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
                      }
                   ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          },
          {
             "ButtonText":"Commands",
             "HeaderText":"Commands",
             "Pages":[
                {
                   "TextLines":[
                      "Available Commands:",
                      "<color=red> /info </color> : Re-Open this window",
                      "<color=red> /kits </color> : Opens the Kits menu where you can redeem your kits",
                      "<color=red> /vote </color> : Vote to help the server Grow and get your rewards",
                      "<color=red> /rewards list </color> : List the Available rewards",
                      "<color=red> /claim </color> : Claim your rewards",
                      "<color=red> /voteday </color> : Skip Night Time",
                      "<color=red> /tpr /Player Name/ </color> : Teleport Request",
                      "<color=red> /tpa </color> : Accept Teleport Request",
                      "<color=red> /Home add /Name/ </color> : Set location as your Home (Max: 3)",
                      "<color=red> /Home remove /Name/ </color> : Remove home location",
                      "<color=red> /Home /Name/ </color> : Teleports you to your home location",
                      "<color=red> /Remove </color> : Remove any entity you own/control",
                      "PLACE HOLDER"
                   ],
                   "ImageSettings":[               ]
                },
                {
                   "TextLines":[
                      "Tickets commands",
                      "<color=red> /ticket create /Message/ </color> : Creates a New Ticket",
                      "<color=red> /ticket view /Ticket ID/ </color> : View a Ticket",
                      "<color=red> /ticket list </color> : View your Tickets",
                      "You can use this system to suggest new stuff for the server and to warn the Admins about any problems",
                      "If you spam the ticket system for no apparent reason you will get <color=red> BANNED </color>"
                   ],
                   "ImageSettings":[               ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          },
          {
             "ButtonText":"Server Rules",
             "HeaderText":"Server Rules",
             "Pages":[
                {
                   "TextLines":[
                      "Rules around here are quite simple, DON'T BE A DOUCHEBAG.",
                      "Any sort of Hacking = BAN.",
                      "Glitching without a reasonable explanation = BAN",
                      "No Rock Houses, Meaning do not glitch into a Rock and build your home. = BAN",
                      "Sexist, Racist, Homophobic or Prejudice comments or art will not be tolerated towards any player = BAN",
                      "Bottom line is, we are all here to have fun raiding each other so MORE raiding less DOUCHEBAGGERY"
                   ],
                   "ImageSettings":[               ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          }
       ],
       "ShowInfoOnPlayerInit":false,
       "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"
    }
     
  13. Not sure if I'm running a different version than yours, but try this:
    Code:
    {
    "settings": {
       "Tabs":[
          {
             "ButtonText":"Welcome",
             "HeaderText":"Welcome",
             "Pages":[
                {
                   "TextLines":[
                      "Welcome to 0Bnoxious Server",
                      "We aim to be a friendly community server where all kinds of players can join and have a good time.",
                      "Have fun and see you guys around!",
                      "type <color=red> /info </color> to re-open this window"
                   ],
                   "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
                      }
                   ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          },
          {
             "ButtonText":"Commands",
             "HeaderText":"Commands",
             "Pages":[
                {
                   "TextLines":[
                      "Available Commands:",
                      "<color=red> /info </color> : Re-Open this window",
                      "<color=red> /kits </color> : Opens the Kits menu where you can redeem your kits",
                      "<color=red> /vote </color> : Vote to help the server Grow and get your rewards",
                      "<color=red> /rewards list </color> : List the Available rewards",
                      "<color=red> /claim </color> : Claim your rewards",
                      "<color=red> /voteday </color> : Skip Night Time",
                      "<color=red> /tpr /Player Name/ </color> : Teleport Request",
                      "<color=red> /tpa </color> : Accept Teleport Request",
                      "<color=red> /Home add /Name/ </color> : Set location as your Home (Max: 3)",
                      "<color=red> /Home remove /Name/ </color> : Remove home location",
                      "<color=red> /Home /Name/ </color> : Teleports you to your home location",
                      "<color=red> /Remove </color> : Remove any entity you own/control",
                      "PLACE HOLDER"
                   ],
                   "ImageSettings":[               ]
                },
                {
                   "TextLines":[
                      "Tickets commands",
                      "<color=red> /ticket create /Message/ </color> : Creates a New Ticket",
                      "<color=red> /ticket view /Ticket ID/ </color> : View a Ticket",
                      "<color=red> /ticket list </color> : View your Tickets",
                      "You can use this system to suggest new stuff for the server and to warn the Admins about any problems",
                      "If you spam the ticket system for no apparent reason you will get <color=red> BANNED </color>"
                   ],
                   "ImageSettings":[               ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          },
          {
             "ButtonText":"Server Rules",
             "HeaderText":"Server Rules",
             "Pages":[
                {
                   "TextLines":[
                      "Rules around here are quite simple, DON'T BE A DOUCHEBAG.",
                      "Any sort of Hacking = BAN.",
                      "Glitching without a reasonable explanation = BAN",
                      "No Rock Houses, Meaning do not glitch into a Rock and build your home. = BAN",
                      "Sexist, Racist, Homophobic or Prejudice comments or art will not be tolerated towards any player = BAN",
                      "Bottom line is, we are all here to have fun raiding each other so MORE raiding less DOUCHEBAGGERY"
                   ],
                   "ImageSettings":[               ]
                }
             ],
             "TabButtonAnchor":4,
             "TabButtonFontSize":16,
             "HeaderAnchor":0,
             "HeaderFontSize":32,
             "TextFontSize":16,
             "TextAnchor":3,
             "OxideGroup":""
          }
       ],
       "ShowInfoOnPlayerInit":false,
       "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",    "HelpButton": {
          "IsEnabled": false,
          "Text": "/info",
          "Position": {
            "MinX": 0.01,
            "MaxX": 0.05,
            "MinY": 0.93,
            "MaxY": 0.985
          },
          "Color": "#127127127255",
          "FontSize": 18
        },
        "UpgradedConfig": false
      }
    }
    I added settings at the top, and the help button options at the bottom.
     
  14. Thanks Abnormal Zombie for your Help. It is working now.
     
  15. couple questions:
    Is there a way to change where the Close button and Tabs are located? i want to move the close button to just above the Next Page button, and the tabs to just slightly lower from where they are.

    Can a Text format be added to put a line through the text? There is bold and italic, but not underlined or line through (i know it is an odd request)
     

    Attached Files:

    Last edited by a moderator: Feb 1, 2018
  16. Having issues when I save the Json file after editing it it resets itself everytime
     
  17. have u maybe a error in your config file? so it resetst to default config ?
     
  18. I dont think so eerything seems to be running fine except when i update that :(
     
  19. Hi, it's possible to add a button for accept rules en close ServerInfo ?
     
  20. some players of my server has problem to close info GUI if they klick on close button. Does anyone have a idea how can i fix this?
    config json is valid i checked all