InfoPanel

Moved

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

5/5, 160 likes
  1. Well it wont let me upload it says its to large its 2kb lol so ill post the code

    Zlevels .json
    Code:
    {
      "CUI": {
        "Bounds": {
          "HeightLower": "0.018",
          "HeightUpper": "0.125",
          "WidthLeft": "0.00",
          "WidthRight": "0.2"
        },
        "BoundsBackground": "0.0 0.0 0.0 0.0",
        "cuiEnabled": true,
        "FontColor": "0.74 0.76 0.78 1",
        "FontSizeBar": 11,
        "FontSizeLevel": 10,
        "FontSizePercent": 11,
        "TextShadowEnabled": true,
        "XpBarBackground": "255 255 255 0.04",
        "XpBarColors": {
          "A": "0 0.8 0 0.5",
          "C": "0.2 0.72 0.5 0.5",
          "M": "0.1 0.5 0.8 0.5",
          "S": "0.8 0.1 0 0.5",
          "WC": "0.8 0.4 0 0.5"
        }
      },
      "Functions": {
        "CollectibleEntitys": {
          "corn-collectable": true,
          "halloween-bone-collectable": true,
          "halloween-metal-collectable": true,
          "halloween-stone-collectable": true,
          "halloween-sulfur-collectible": true,
          "halloween-wood-collectable": true,
          "hemp-collectable": true,
          "metal-collectable": true,
          "mushroom-cluster-5": true,
          "mushroom-cluster-6": true,
          "pumpkin-collectable": true,
          "stone-collectable": true,
          "sulfur-collectable": true,
          "wood-collectable": true
        },
        "enableCollectiblePickup": true,
        "enableCropGather": true,
        "enableDispenserGather": true
      },
      "Generic": {
        "enableLevelupBroadcast": true,
        "enablePermission": false,
        "exludeWeaponsOnGather": false,
        "gameProtocol": 1956,
        "penaltyMinutes": 10,
        "penaltyOnDeath": false,
        "permissionName": "zlevelsremastered.use",
        "playerCuiDefaultEnabled": true,
        "playerPluginDefaultEnabled": true,
        "pluginPrefix": "<color=orange>ZLevels</color>:",
        "wipeDataOnNewSave": false
      },
      "NightBonus": {
        "broadcastEnabledBonus": true,
        "enableNightBonus": true,
        "logEnabledBonusConsole": false,
        "PointsPerHitAtNight": {
          "A": 60,
          "M": 60,
          "S": 60,
          "WC": 60
        },
        "ResourcePerLevelMultiplierAtNight": {
          "A": 2.0,
          "M": 2.0,
          "S": 2.0,
          "WC": 2.0
        }
      },
      "Settings": {
        "CraftingDetails": {
          "PercentFasterPerLevel": 5,
          "TimeSpent": 1,
          "XPPerTimeSpent": 3
        },
        "DefaultResourceMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "LevelCaps": {
          "A": 200,
          "C": 20,
          "M": 200,
          "S": 200,
          "WC": 200
        },
        "PercentLostOnDeath": {
          "A": 10,
          "C": 10,
          "M": 10,
          "S": 10,
          "WC": 10
        },
        "PointsPerHit": {
          "A": 30,
          "M": 30,
          "S": 30,
          "WC": 30
        },
        "ResourcePerLevelMultiplier": {
          "A": 2.0,
          "M": 2.0,
          "S": 2.0,
          "WC": 2.0
        },
        "SkillColors": {
          "A": "#ADD8E6",
          "C": "#CCFF99",
          "M": "#DDDDDD",
          "S": "#FFDDDD",
          "WC": "#FFDDAA"
        }
      }
    }

    InfoPanel.json

    Code:
    {
      "Docks": {
        "BottomLeftDock": {
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.099,
          "Height": 0.022,
          "BackgroundColor": "0 0 0 0.7",
          "Margin": "0.567 0.4682 0 0.023"
        },
        "BottomRightDock": {
          "Available": true,
          "AnchorX": "left",
          "AnchorY": "Bottom",
          "Width": 0.0735,
          "Height": 0.022,
          "BackgroundColor": "0 0 0 0.7",
          "Margin": "0.642 0.568 0 0.023"
        },
        "TopLeftDock": {
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.0465,
          "Height": 0.022,
          "BackgroundColor": "0 0 0 0.7",
          "Margin": "0.394 0.345 0 0.023"
        },
        "TopRightDock": {
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.0755,
          "Height": 0.022,
          "BackgroundColor": "0 0 0 0.7",
          "Margin": "0.450 0.392 0 0.023"
        },
        "BottomLeftDockEconomics": {
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.05,
          "Height": 0.028,
          "BackgroundColor": "1 1 1 0.03",
          "Margin": "0.516 0.472 0.146 0.179"
        },
        "BottomLeftDockRP": {
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.75,
          "Height": 0.028,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0.671 0.307 0.977 1"
        }
      },
      "Panels": {
        "AirdropEvent": {
          "Autoload": true,
          "Dock": "BottomRightDock",
          "PanelSettings": {
            "ActiveColor": "1 1 1 1",
            "InactiveColor": "1 1 1 0"
          },
          "Image": {
            "Width": 0.85,
            "Url": "https://i.imgur.com/yfYdka9.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.95,
            "Order": 3,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.33,
          "Height": 0.95,
          "Order": 3,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "Balance": {
          "Autoload": true,
          "Dock": "TopRightDock",
          "PanelSettings": {
            "RefreshRate(s)": "5"
          },
          "Image": {
            "Width": 0.2,
            "Url": "https://i.imgur.com/NVqmjTn.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.2,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 -.09 0"
          },
          "Text": {
            "Width": 0.55,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 12,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 2,
            "BackgroundColor": "0 0 0 0.4",
            "Margin": "0 0.02 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 1.0,
          "Height": 1.0,
          "Order": 7,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "BalanceRP": {
          "Autoload": false,
          "Dock": "BottomLeftDockRP",
          "PanelSettings": {
            "RefreshRate(s)": "5"
          },
          "Image": {
            "Width": 0.1,
            "Url": "https://i.imgur.com/tZP8eZW.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.8,
            "Order": 1,
            "BackgroundColor": "0 0 0 0.4",
            "Margin": "0 0.01 0.1 0.01"
          },
          "Text": {
            "Width": 0.9,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 12,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": false,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 2,
            "BackgroundColor": "0 0 0 0.4",
            "Margin": "0 0.02 0 0"
          },
          "FadeOut": 0.0,
          "Available": false,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 1.0,
          "Height": 1.0,
          "Order": 7,
          "BackgroundColor": "0.32 0.32 0.31 0.4",
          "Margin": "0 0 0 0.01"
        },
        "Clock": {
          "Autoload": true,
          "Dock": "TopLeftDock",
          "PanelSettings": {
            "ClockUpdateFrequency (seconds)": 4,
            "TimeFormat": "HH:mm"
          },
          "Text": {
            "Width": 1.0,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 14,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.95,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 1.0,
          "Height": 0.95,
          "Order": 1,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "Compass": {
          "Autoload": true,
          "Dock": "BottomLeftDockEconomics",
          "PanelSettings": {
            "RefreshRate(s)": "1",
            "TextOrAngle": "text"
          },
          "Image": {
            "Width": 0.0,
            "Url": "",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.0,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "Text": {
            "Width": 1.0,
            "Align": "MiddleCenter",
            "FontColor": "0 1 0 1",
            "FontSize": 12,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 2,
            "BackgroundColor": "0 0 0 0.4",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 1.0,
          "Height": 0.95,
          "Order": 8,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "Coordinates": {
          "Autoload": false,
          "Dock": "BottomLeftDockEconomics",
          "PanelSettings": {
            "RefreshRate(s)": "3"
          },
          "Image": {
            "Width": 0.13,
            "Url": "http://i.imgur.com/Kr1pQ5b.png",
            "Available": false,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.8,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "Text": {
            "Width": 0.848,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 12,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": false,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 2,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": false,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.5,
          "Height": 0.95,
          "Order": 7,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "HelicopterEvent": {
          "Autoload": true,
          "Dock": "BottomRightDock",
          "PanelSettings": {
            "ActiveColor": "1 1 1 1",
            "InactiveColor": "1 1 1 0"
          },
          "Image": {
            "Width": 0.85,
            "Url": "https://i.imgur.com/GzKGTUO.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.95,
            "Order": 2,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.33,
          "Height": 0.95,
          "Order": 2,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "MessageBox": {
          "Autoload": true,
          "Dock": "BottomLeftDockRP",
          "PanelSettings": {
            "MessageUpdateFrequency (seconds)": 20,
            "MsgOrder": "normal"
          },
          "Text": {
            "Width": 0.5,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 14,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.95,
            "Order": 0,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 1.0,
          "Height": 0.95,
          "Order": 8,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "OPlayers": {
          "Autoload": true,
          "Dock": "BottomLeftDock",
          "Image": {
            "Width": 0.24,
            "Url": "http://i.imgur.com/AUwCC4F.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.9,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "Text": {
            "Width": 0.6,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 14,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 2,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.6,
          "Height": 0.95,
          "Order": 2,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "Radiation": {
          "Autoload": true,
          "Dock": "BottomRightDock",
          "PanelSettings": {
            "ActiveColor": "1 1 1 1",
            "InactiveColor": "1 1 1 0",
            "RefreshRate(s)": "1"
          },
          "Image": {
            "Width": 0.85,
            "Url": "https://i.imgur.com/QDLHk6r.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.95,
            "Order": 1,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.33,
          "Height": 0.95,
          "Order": 1,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        },
        "Sleepers": {
          "Autoload": true,
          "Dock": "BottomLeftDock",
          "Image": {
            "Width": 0.19,
            "Url": "https://i.imgur.com/44o8p3K.png",
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 0.9,
            "Order": 3,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "Text": {
            "Width": 0.3,
            "Align": "MiddleCenter",
            "FontColor": "1 1 1 1",
            "FontSize": 14,
            "Content": "No Content",
            "FadeIn": 0.0,
            "FadeOut": 0.0,
            "Available": true,
            "AnchorX": "Left",
            "AnchorY": "Bottom",
            "Height": 1.0,
            "Order": 4,
            "BackgroundColor": "0 0 0 0",
            "Margin": "0 0 0 0"
          },
          "FadeOut": 0.0,
          "Available": true,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.75,
          "Height": 0.98,
          "Order": 4,
          "BackgroundColor": "0 0 0 0",
          "Margin": "0 0 0 0"
        }
      },
      "ThirdPartyPanels": {},
      "Messages": [
        "Welcome to <color=red>Hard Rust Life</color> Server!",
        "The Admin/Owner is <color=orange>SgtMorningWood</color> !",
        "Free kits available use <color=cyan>/Kit</color>",
        "You rank up the longer you play, Higher rank = more user commands!",
        "Check out commands for each user rank! Use <color=cyan>/ui</color> to view.",
        "Don't forget to check out the <color=yellow>Dangerous Treasure</color> events!",
        "Welcome to <color=red>Hard Rust Life</color> Server!",
        "The Admin/Owner is <color=orange>SgtMorningWood</color> !",
        "Add friends, use <color=cyan>/addfriend 'Name'</color>",
        "Turn on or off Friendly Fire, use <color=cyan>/ff on</color> or <color=cyan>/ff off</color>",
        "Create a <color=orange>CLAN</color>, use <color=cyan>/clan help</color>",
        "The last wipe was <color=green>11/23/2017</color> Server wipe every 21 days!"
      ],
      "TimeFormats": [
        "H:mm",
        "HH:mm",
        "h:mm",
        "h:mm tt"
      ],
      "CompassDirections": {
        "e": "East",
        "n": "North",
        "ne": "North-East",
        "nw": "North-West",
        "s": "South",
        "se": "South-East",
        "sw": "South-West",
        "w": "West"
      }
    }
     
  2. Awesome thanks man. Yeah something weird is going on with the forum the past day or so. I'm pulling my son in a wagon(all I'm good for :p) and I have about a half of mile left when I get home I'll dump in the data and see how it all works out! Thanks again man.
     
  3. Hello, im having a problem, everytime i change the availability of a dock to false it shows anyway
     

  4. HORY SHET

    ever since i saw your pic i wanted that.. but not like it exactly. can you tell me what setting in the zlevels config tells it where to locate on the CUI.. like it want it just above and as wide as the health water and food meters.
     
  5. "Bounds": {
    "HeightLower": "0.018",
    "HeightUpper": "0.125",
    "WidthLeft": "0.00",
    "WidthRight": "0.2"
    },

    this here has to do with the location
     
  6. Hey Brohawk, your Infopanel looks amazing - i want that for my server too. I'm using Oxide since 1 day now, so i don't know how this copy/paste thing with the codes work correctly:
    Do i have to copy your code and paste it over the entire standard code (delete the standard code) or do i have to let something in there from the standard code?

    Thanks in advance!
     
  7. yes copy my entire code and paste it over the original code then save it and reload plugin
     
  8. Hmm.. i think i do something wrong because when i overrite the standard code with ur code there isn't even anything from the Infopanel in the game :((.
    Thats why i asked if i need to let something from the old code in there ...
    [DOUBLEPOST=1512546337][/DOUBLEPOST]Same with Zlevels - as soon as i delete the original code and paste in your code there is nothing of this mod in the game anymore.
    I think i do any noob mistake.
    I'll explain shortly how i do this: I rented a gameserver so i have to upload the plugins on the WebTFP of the Webside of the histingprovider under the Oxide -> Plugin folder. Before i do that i open the cs file with editor and delete the original code and paste in your code. Then i save the new cs file and upload it on the serverFTP. Then i restart the game server and log in.

    So is there anything i do totally wrong?
     
  9. no not the .cs file
    go to oxide then config then open the .json for info panel edit there not the .cs file under plugin folder
     
  10. Omg... thank you mate - now it works :)
    [DOUBLEPOST=1512548426][/DOUBLEPOST]
    It works perfectly, thank you - but i have one more question: Now over the item bar there is a "combass" which is telling me in words (South, West ...) where i am looking at. How can i remove this thing? And what exactly is "RP"?
     
    Last edited by a moderator: Dec 6, 2017
  11. open up the json for info panel and find the dock BottomLeftDockEconomics and set to false RP is RewardPoints for Server Rewards plugin
     
  12. Do i have to reboot my server to make it work ?
     
  13. you have to reload the plugin i asume u use a rcon tool if so type in o.reload InfoPanel in the command line and execute
     
  14. Ty, rebooting my server worked :)
     
  15. Can somebody help me with making the box in the middle like this? I have been trying to make it like it is in the screen shot with no success :(
     

    Attached Files:

  16. what do you mean?? you want it to look like the pic u posted if so where do u want it located at on the screen??
     
  17. i want it to be located in the top middle of the screen
     
  18. Tell me please how to remove from the bottom section for money $
    [DOUBLEPOST=1512858441][/DOUBLEPOST]And please tell me how to remove zatamnenie would just do what it was not
     
  19. set that dock to false for availible

    Code:
    {
      "Docks": {
        "BottomLeftDock": {
          "Available": false,
          "AnchorX": "Left",
          "AnchorY": "Bottom",
          "Width": 0.099,
          "Height": 0.022,
          "BackgroundColor": "0 0 0 0.7",
          "Margin": "0.567 0.4682 0 0.023"
        },
    which ever dock has that attached to it
     
  20. @Wulf , i love that plugin and tryed to costomize as man as i can, but now im stuck.

    would it be possible to add EventManager & ZLevelsRemastered Support?
    i mean the on/off Icons like Airplane... but only für Running EventManager Event and ZLevels Night Gather Bonus.