InfoPanel

Moved

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

5/5, 160 likes
  1. Is there a way I can create a command to turn on or off only one of the docks? the /ipanel hide/show turns it all on or off
     
  2. Look at the config
     
  3. hi, ok that comment is a bit unhelpful.. I've looked at the config? so I'm still confused as to how to make a command turn on or off one of the actual panel's or docks.

    I was looking at the api on the front page thinking I might have to use something from that...???

    Code:
            /// <summary>
            /// Hide or show the panel
            /// </summary>
            public void Blink()
            {
                if(IsActive)
                {
                    IsActive = false;
                    InfoPanel.Call("HidePanel", "ApiTest", "BlinkPanel");
                }
                else
                {
                    IsActive = true;
                    InfoPanel.Call("ShowPanel", "ApiTest", "BlinkPanel");
                }
            }
    A pointer in the right direction would be useful :D

    Ps. I am aware of the autoload function but how would I turn off a single panel?
     
    Last edited by a moderator: Apr 14, 2018
  4. My radiation icon is not working. its constantly on yellow.

    the heli and air drop icons work but not the radiation.
     
    Last edited by a moderator: Apr 14, 2018
  5. Thats how it was originally designed to work by the original developer. It shows the global option, not the player status ;)
     
  6. Why are there some addons without ID?
     
  7. open the config file with notepad++ you will see how to turn it off its not hard to work out
     
  8. I am getting this line in console 4 times:
    NetworkData.Write - no handler to write Facepunch.ObjectList -> Facepunch.ObjectList
    While my versions are

    Protocol: 2081.160.1
    Build Date: 04/12/2018 17:17:58
    Unity Version: 2017.1.3f1
    Changeset: 26442
    Branch: release

    No addon with ID is outdated. I have around 98 adons, and 4 without ID.
     
  9. This plugin does not use "ObjectList".
     
  10. Love this plugin. We are having an issue however with the CUI elements preventing access to buttons on the G map in game. Is there a solution to this? Thanks.
     
  11. anyone care to upload their files? wanting to test out some new fresh layouts.
     
  12. On my server the new CH47 isn*t detected by the plugin. Is this a normal behavior?
     
  13. @FuJiCuRa Is it possible to add a dock for a book text field and permanent please ?
     
  14. Will Ch47 icon be added?
     
  15. Can someone help me with my config please? This is exactly how I want the positioning but I want there to be a perfect background box with a light color shade like the health and food levels in the bottom right. Just one single rectangle that that goes behind all 3 of them.

    Code:
    {
    "CompassDirections": {
    "e": "East",
    "n": "North",
    "ne": "Northeast",
    "nw": "Northwest",
    "s": "South",
    "se": "Southeast",
    "sw": "Southwest",
    "w": "West"
    },
    "Docks": {
    "BottomLeftDock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.162 0.005 0.005",
    "Width": 0.18
    },
    "BottomRightDock": {
    "AnchorX": "Right",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.165",
    "Width": 0.19
    },
    "TopLeftDock": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.175 0.005 0.005",
    "Width": 0.175
    },
    "TopRightDock": {
    "AnchorX": "Right",
    "AnchorY": "Top",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.005",
    "Width": 0.39
    },
    "BottomDock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.005",
    "Width": 0.99
    },
    "TopDock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Height": 0.03,
    "Margin": "0.005 0.005 0.005 0.005",
    "Width": 0.99
    },
    "Time": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.02,
    "Margin": "0.002 0.003 0.005 0.035",
    "Width": 0.025
    },
    "Players": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.02,
    "Margin": "0.003 0.0281 0.002 0.0695",
    "Width": 0.035
    },
    "Sleepers1": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.02,
    "Margin": "0.003 0.058 0.002 0.20",
    "Width": 0.030
    },
    "Airdrop": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.197 0.005 0.196",
    "Width": 0.018
    },
    "Helicopter": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.2199 0.005 0.2215",
    "Width": 0.03
    },
    "Cords": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.2545 0.005 0.3",
    "Width": 0.2
    },
    "Message": {
    "AnchorX": "Left",
    "AnchorY": "Top",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.03,
    "Margin": "0.005 0.359 0.005 0.2525",
    "Width": 0.5
    }
    },
    "Messages": [
    "Welcome!",
    "Respect all players",
    "Pizza is good",
    "x25 gather bonus",
    "Tip: press F1 and type bind b backpacks.open",
    "Fishing is available"
    ],
    "Panels": {
    "AirdropEvent": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Dock": "Airdrop",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0",
    "Height": 0.55,
    "Margin": "0 0.19 0.18 0.18",
    "Order": 1,
    "Url": "http://i.imgur.com/CibgP2c.png",
    "Width": 0.55
    },
    "Margin": "0 0 0 0.005",
    "Order": 4,
    "PanelSettings": {
    "ActiveColor": "0 0 1 1",
    "InactiveColor": "1 1 1 1"
    },
    "Width": 1
    },
    "Balance": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomLeftDock",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.01 0.1 0.01",
    "Order": 1,
    "Url": "http://i.imgur.com/HhL5TvU.png",
    "Width": 0.1
    },
    "Margin": "0 0 0 0.01",
    "Order": 7,
    "PanelSettings": {
    "RefreshRate(s)": "5"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 1.0,
    "Margin": "0 0.02 0 0",
    "Order": 2,
    "Width": 0.848
    },
    "Width": 0.8
    },
    "Clock": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Dock": "Time",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Margin": "0 0 0 0",
    "Order": 1,
    "PanelSettings": {
    "ClockUpdateFrequency (seconds)": 20,
    "TimeFormat": "HH:mm"
    },
    "Text": {
    "Align": 4,
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 0.95,
    "Margin": "0 0.01 0 0",
    "Order": 0,
    "Width": 1.0
    },
    "Width": 1
    },
    "Compass": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "BottomRightDock",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "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.01",
    "Order": 8,
    "PanelSettings": {
    "RefreshRate(s)": "1",
    "TextOrAngle": "text"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 1.0,
    "Margin": "0 0.02 0 0",
    "Order": 2,
    "Width": 0.76
    },
    "Width": 0.5
    },
    "Coordinates": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Dock": "Cords",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.8,
    "Margin": "0 0.01 0.075 0",
    "Order": 1,
    "Url": "https://i.imgur.com/PjuE2AZ.png",
    "Width": 0.13
    },
    "Margin": "0 0 0 0.01",
    "Order": 7,
    "PanelSettings": {
    "RefreshRate(s)": "3"
    },
    "Text": {
    "Align": "MiddleCenter",
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 1.0,
    "Margin": "0 0 0 0",
    "Order": 2,
    "Width": 0.848
    },
    "Width": 0.5
    },
    "HelicopterEvent": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Dock": "Helicopter",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 1.3,
    "Margin": "0 0.12 -0.2 0.13",
    "Order": 1,
    "Url": "http://i.imgur.com/pBoGZgG.png",
    "Width": 0.71
    },
    "Margin": "0 0 0 0.0005",
    "Order": 5,
    "PanelSettings": {
    "ActiveColor": "1 0 0 1",
    "InactiveColor": "1 1 1 1"
    },
    "Width": 1
    },
    "MessageBox": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0.203 0.596 0.858 0.6",
    "Dock": "Message",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Margin": "0 0 0 0.005",
    "Order": 7,
    "PanelSettings": {
    "MessageUpdateFrequency (seconds)": 15,
    "MsgOrder": "normal"
    },
    "Text": {
    "Align": 3,
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 0.95,
    "Margin": "0 0.01 0 0.005",
    "Order": 0,
    "Width": 1.0
    },
    "Width": 1
    },
    "OPlayers": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Dock": "Players",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.55,
    "Margin": "0 0.02 0.25 0.002",
    "Order": 1,
    "Url": "http://i.imgur.com/gdBmzCN.png",
    "Width": 0.18
    },
    "Margin": "0 0 0 0.0005",
    "Order": 2,
    "Text": {
    "Align": 4,
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 1.0,
    "Margin": "0 -0.15 0 -0.12",
    "Order": 2,
    "Width": 0.85
    },
    "Width": 1
    },
    "Radiation": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": false,
    "BackgroundColor": "0 0 0 0.4",
    "Dock": "TopLeftDock",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": false,
    "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.01",
    "Order": 6,
    "PanelSettings": {
    "ActiveColor": "1 1 0 1",
    "InactiveColor": "1 1 1 0.1",
    "RefreshRate(s)": "3"
    },
    "Width": 0.1
    },
    "Sleepers": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Autoload": true,
    "Available": true,
    "BackgroundColor": "0 0 0 0",
    "Dock": "Sleepers1",
    "FadeOut": 0.0,
    "Height": 0.95,
    "Image": {
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Height": 0.55,
    "Margin": "0 0.001 0.23 0",
    "Order": 1,
    "Url": "https://i.imgur.com/OlF6qLV.png",
    "Width": 0.325
    },
    "Margin": "0 0 0 0.005",
    "Order": 3,
    "Text": {
    "Align": 4,
    "AnchorX": "Left",
    "AnchorY": "Bottom",
    "Available": true,
    "BackgroundColor": "0 0 0 0.4",
    "Content": "No Content",
    "FadeIn": 0.0,
    "FadeOut": 0.0,
    "FontColor": "1 1 1 1",
    "FontSize": 11,
    "Height": 1.0,
    "Margin": "0 -0.15 0 -0.12",
    "Order": 2,
    "Width": 0.775
    },
    "Width": 1
    }
    },
    "ThirdPartyPanels": {},
    "TimeFormats": [
    "H:mm",
    "HH:mm",
    "h:mm",
    "h:mm tt"
    ]
    }
     
  16. Or if that can't be done does anyone know a way to make the images and text translucent?
     
  17. I think i need to re-ask the question because I still don't know, how do I make a command turn off a single part of the infopanel? (I don't want to disable a part of the panel completely, I want a command to turn part of it on/off) if that makes sense? All I can think of doing now is looking at the cs file for the /infopanel command and copy it, rename it but change it/somehow only link it to part of the panel?

    Maybe it's simple to you Resistance but everyone has different levels of knowledge and your comments don't give any advice as to how to solve the problem?
     
  18. Hi, I know that if you change this line:

    "BackgroundColor": "0 0 0 0.4",

    This will change the transparency of the background atleast, i think 0.2 is more transparent and 0.6 is less transparent (might be wrong)

    there is also a font color
    "FontColor": "1 1 1 1",

    Changing this may change the font transparency.

    Hope that helps!
     
  19. Configuration:
    Available: (Default: true), With this option u can turn on or off a panel.

    Dock: (Default: BottomPanel) , With this option u can choose the dock panel.
    Order: With this option u can set the order of the panels. (Panels with the same dock and AnchorX)
    AnchorX: (Default: Left), You can pull the panel to the left or right side of the dock. (Left/Right)
    AnchorY: (Default: Bottom), You can pull the panel to the top or bottom of the dock/screen. (Top/Bottom)
    Width: Panel width. (0-1)
    Height: Panel height. (0-1)
    Margin: (Default: 0 0 0 0.005) Panel margin (Top,Right,Bottom,Left)
    Autoload: (Default: true) If u turn this off (false). The panel not will be displayed automatically. But other plugins can trigger it.