InfoPanel

Moved

Total Downloads: 55,749 - First Release: Sep 25, 2015 - Last Update: Mar 13, 2018

5/5, 160 likes
  1. How can I make text colored? coordinates text or other ones

    Ty,
     
    Last edited by a moderator: Apr 27, 2016
  2. how to change the language in this panel from English to any other???? and how to remove this Leroy Jenkins?????
     
  3. oxide/config line 32
     
  4. I dont know if this has been covered or not.Is there a way to add an image to the middle of the panel.Ive seen some servers with it but cant fig it out for nothing
     
  5. Code:
    "BigLogo": {
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Autoload": true,
          "Available": true,
          "BackgroundColor": "0 0 0 0.4",
          "Dock": "BottomDock",
          "Height": 1,
          "Margin": "0 0 0.001 0.024",
          "Order": 9,
          "Image": {
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Available": true,
            "BackgroundColor": "0 0 0 0.4",
            "Height": 0.95,
            "Margin": "0 0.00 0.0 0.00",
            "Order": 1,
            "Url": "http://yourimage.jpg",
            "Width": 2
          },
          "Width": 0.055
        },
    "SmallLogo": {
          "AnchorX": "Right",
          "AnchorY": "Bottom",
          "Autoload": true,
          "Available": true,
          "BackgroundColor": "0 0 0 0",
          "Dock": "BottomDock",
          "Height": 1,
          "Margin": "0 0 0 0.002",
          "Order": 6,
          "Image": {
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Available": true,
            "BackgroundColor": "0 0 0 0",
            "Height": 1.2,
            "Margin": "0 0 0 0",
            "Order": 1,
            "Url": "http://yourimage.jpg",
            "Width": 0.89
          },
          "Width": 0.055
        }
    Add this to the bottom, right under the sleepers. (Do not forget to add a ", " after the previous curly bracket.)
    You need to add your own image, in the "Url" section and also tweek the height, width and margins to fit your images if needed
     
    Last edited by a moderator: May 3, 2016
  6. thank you very much
     
  7. Hello, who can fix this for the new version please ? (0.9.3)
    The author doesn't connect since oct 2015 and I need this colors for my infopanel but for 0.9.3.
    Because it's doesn't works, error of compile.
    Please :) (add new features to, like compas)

    thx
     
  8. just now i changed the json 2 add messages worked fine then i added another one and now the infopanel isnt showing on screen ill send the json
     
  9. Check your json file on this site for errors
    JSONLint - The JSON Validator.
     
  10. {
    "CompassDirections": {
    "e": "East",
    "n": "North",
    "ne": "Northeast",
    "nw": "Northwest",
    "s": "South",
    "se": "Southeast",
    "sw": "Southwest",
    "w": "West"
    },
    "Docks": {
    "BottomDock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.005",
    "Width": 0.99
    },
    "TopDock": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.005",
    "Width": 0.99
    }
    },
    "Messages": [
    "Welcome!",
    "there coming for you LOOK here comes one of them now",
    "hey hey hey",
    "NO KOS (kill on sight) can result in a ban",
    "YOU MUST CALL RAID BEFORE AND RAID END WHEN FINISHED RAIDING",
    "expect the house you are raiding to become pvp during the raid",
    "kits are (starter) (gun) (clothes) and an auto kit"],
    "Panels": {
    "AirdropEvent": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.1 0.1 0.1",
    "Order": 1,
    "Url": "http://i.imgur.com/dble6vf.png",
    "Width": 0.8
    },
    "Margin": "0 0 0 0.005",
    "Order": 4,
    "PanelSettings": {
    "ActiveColor": "0 1 0 1",
    "InactiveColor": "1 1 1 0.1"
    },
    "Width": 0.018
    },
    "Clock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0.1 0.1 0.1 0",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Margin": "0 0 0 0",
    "Order": 1,
    "PanelSettings": {
    "ClockUpdateFrequency (seconds)": 4,
    "TimeFormat": "HH:mm"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 14,
    "Height": 0.95,
    "Margin": "0 0.01 0 0.01",
    "Order": 0,
    "Width": 1.0
    },
    "Width": 0.045
    },
    "Compass": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.01 0.1 0.03",
    "Order": 1,
    "Url": "http://i.imgur.com/dG5nOOJ.png",
    "Width": 0.188
    },
    "Margin": "0 0 0 0.005",
    "Order": 8,
    "PanelSettings": {
    "RefreshRate(s)": "1",
    "TextOrAngle": "text"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 12,
    "Height": 1.0,
    "Margin": "0 0.02 0 0",
    "Order": 2,
    "Width": 0.76
    },
    "Width": 0.07
    },
    "Coordinates": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.01 0.1 0.01",
    "Order": 1,
    "Url": "http://i.imgur.com/Kr1pQ5b.png",
    "Width": 0.13
    },
    "Margin": "0 0 0 0.005",
    "Order": 7,
    "PanelSettings": {
    "RefreshRate(s)": "3"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 12,
    "Height": 1.0,
    "Margin": "0 0.02 0 0",
    "Order": 2,
    "Width": 0.848
    },
    "Width": 0.095
    },
    "HelicopterEvent": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.15 0.1 0.1",
    "Order": 1,
    "Url": "http://i.imgur.com/hTTyTTx.png",
    "Width": 0.75
    },
    "Margin": "0 0 0 0.0005",
    "Order": 5,
    "PanelSettings": {
    "ActiveColor": "0.7 0.2 0.2 1",
    "InactiveColor": "1 1 1 0.1"
    },
    "Width": 0.02
    },
    "MessageBox": {
    "AnchorX": "Right",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Margin": "0 0 0 0.005",
    "Order": 7,
    "PanelSettings": {
    "MessageUpdateFrequency (seconds)": 20,
    "MsgOrder": "normal"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 14,
    "Height": 0.95,
    "Margin": "0 0 0 0.005",
    "Order": 0,
    "Width": 1.0
    },
    "Width": 0.3
    },
    "OPlayers": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.05 0.1 0.05",
    "Order": 1,
    "Url": "http://i.imgur.com/n9EYIWi.png",
    "Width": 0.17
    },
    "Margin": "0 0 0 0.005",
    "Order": 2,
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 14,
    "Height": 1.0,
    "Margin": "0 0 0 0.005",
    "Order": 2,
    "Width": 0.68
    },
    "Width": 0.07
    },
    "Radiation": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.15 0.1 0.1",
    "Order": 1,
    "Url": "http://i.imgur.com/owVdFsK.png",
    "Width": 0.75
    },
    "Margin": "0 0 0 0.0005",
    "Order": 6,
    "PanelSettings": {
    "ActiveColor": "1 1 0 1",
    "InactiveColor": "1 1 1 0.1",
    "RefreshRate(s)": "3"
    },
    "Width": 0.02
    },
    "Sleepers": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomDock",
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.05 0.1 0.05",
    "Order": 1,
    "Url": "http://i.imgur.com/XIIZkqD.png",
    "Width": 0.22
    },
    "Margin": "0 0 0 0.005",
    "Order": 3,
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FontColor": "1 1 1 1",
    "FontSize": 14,
    "Height": 1.0,
    "Margin": "0 0 0 0.005",
    "Order": 2,
    "Width": 0.63
    },
    "Width": 0.055
    }
    },
    "ThirdPartyPanels": {},
    "TimeFormats": [
    "H:mm",
    "HH:mm",
    "h:mm",
    "h:mm tt"
    ]
    }
     
  11. Here you go make sure you use notepad++ to edit json files from now on
     

    Attached Files:

  12. says its valid
    [DOUBLEPOST=1462675708][/DOUBLEPOST]thanks
     
  13. make sure you reload the plugin after you upload the config
     
  14. hi team
    Code:
    (09:47:11) | 187.109.161.2:59560/76561198192761327/BigBoy kicked: RPC Error: sv_requestfile
    (09:47:11) | InvalidOperationException: data is NULL
    (09:47:12) | [Oxide] 09:46 [Error] Failed to run a 1.00 timer in 'InfoPanel v0.9.3' (NullReferenceException: Object reference not set to an instance of an object)
    (09:47:12) | [Oxide] 09:46 [Debug]   at Oxide.Plugins.InfoPanel+Compass.GetDirection (System.String PlayerID) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.InitializeGUI (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.GUITimerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel+<OnPlayerInit>c__AnonStorey1.<>m__1 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 8, 2016

  15. work?

    test in my server erro

    Code:
    (09:55:02) | [Oxide] 09:53 [Warning] [InfoPanel] Reordering Panels.
    (09:55:02) | [Oxide] 09:53 [Error] Failed to initialize plugin 'InfoPanel v0.9.3' (NullReferenceException: Object reference not set to an instance of an object)
    (09:55:02) | [Oxide] 09:53 [Debug]   at Oxide.Plugins.InfoPanel.PanelReOrder (System.String DockName, System.String AnchorX) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.LoadConfigValues () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    (09:55:02) | [Oxide] 09:53 [Info] Unloaded plugin InfoPanel v0.9.3 by Ghosst
    (09:55:02) | [Oxide] 09:53 [Info] No previous version to rollback plugin: InfoPanel
     
  16. You have a bad config delete it then reload plugin
     
  17. Mine randomly stopped working from last night to this morning.
     
  18. Awesome plugin!

    Can you insert Economic $ balance into the pannel?
    ...or can you pls insert here the lines I must copy/paste into the config?
    Thanks
     
  19. that would be awesome. How about adding player's ping too ?
     
  20. Erro plugin

    Code:
    (12:46:51) | XXX.XXX.XXX.XXX:XXXX/765XXXXXXXXXX/Morgante joined [windows/765XXXXXXXXXX]
    (12:47:00) | XXX.XXX.XXX.XXX:XXXX/765XXXXXXXXXX/Morgante kicked: RPC Error: sv_requestfile
    (12:47:00) | InvalidOperationException: data is NULL
    (12:47:00) | [Oxide] 12:45 [Error] Failed to run a 1.00 timer in 'InfoPanel v0.9.3' (NullReferenceException: Object reference not set to an instance of an object)
    (12:47:00) | [Oxide] 12:45 [Debug]   at Oxide.Plugins.InfoPanel+Compass.GetDirection (System.String PlayerID) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.InitializeGUI (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.GUITimerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel+<OnPlayerInit>c__AnonStorey1.<>m__1 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0