Rust-Kits

Moved

Total Downloads: 70,145 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018

4.96216/5, 185 likes
  1. Search the site for
    Oxide.Plugins.Kits+UI.LoadImage
    many have posted about it
     
  2. @Kappasaurus Will the public version be getting that data file item ID to shortname conversion update that's currently in alpha on GitHub?
     
  3. How would I go to make a VIP kit?
     
  4. Yes, I will push the update.
     
  5. Follow this
    Kits
     
  6. can I get some help as when I do the oxide.grant user username permission it says that there is not one when I have made it and I put in this oxide.grant user Jones d1 please help!!!
     
  7. upload all json files
     
  8. {
    "NPC - GUI Kits": {
    "0": {
    "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
    "kits": [
    "kit1",
    "kit2",
    "starter",
    "donatortier1"
    ]
    },
    "1235439": {
    "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
    "kits": [
    "kit1",
    "kit2"
    ]
    },
    "8753201223": {
    "description": "<color=red>VIPs Kits</color>",
    "kits": [
    "kit1",
    "kit3"
    ]
    }
    },
    "CopyPaste - Parameters": [
    "autoheight",
    "true",
    "blockcollision",
    "true",
    "deployables",
    "true",
    "inventories",
    "true"
    ],
    "Custom AutoKits": {
    "0": "KitName",
    "1": "KitName",
    "2": "KitName"
    },
    "UI KeyBinding": "",
    "Kit - Logging": false,
    "Show All Kits": false,
    "Background - URL": ""
    }
     
  9. Do you not know what upload means and I need all files
     
  10. Since I have no desire to make a github account and since this thread is still open...

    Is the new iteration on umod.org have the "autokits" function added?
     
  11. Yes, uMod - Kits. You'll probably need a GitHub account eventually though, it's better you just make one now. :p You can also subscribe for updates.
     
  12. Does or will it have autokits tho?

    I didn't see anything in the page description on umod or github.
     
  13. read the overview or this page
     
  14. It does, if you click the link you can read the heading, "Default kits."
     
  15. Can someone please explain why my kits are not showing up?
    This is the data/Kit.json folder data. The data/Kits_data.json is empty for some reason
    Code:
    {
      "Kits": {
        "Vip": {
          "name": "Vip",
          "description": "Assault/ Bolt/ Ammo/ Meds/ Metal Tools/ Food/ Full Armour,
          "max": 0,
          "cooldown": 1800.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": "kits.vip",
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 1265861812,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 106433500,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 2107229499,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1211618504,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -46848560,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -533875561,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 815896488,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1035059994,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 790921853,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 991728250,
              "container": "main",
              "amount": 10,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1440143841,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1224598842,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -307490664,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1461508848,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 548699316,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -55660037,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "blueprintTarget": 0,
              "mods": [
                -141135377
              ]
            },
            {
              "itemid": 586484018,
              "container": "belt",
              "amount": 10,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
        "components": {
          "name": "Components",
          "description": "100 of all components/ 50 Rifle Bodies/ 50 SMG Bodies",
          "max": 0,
          "cooldown": 43200.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": "kits.vip",
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 1471284746,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 3552619,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -892259869,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -2092529553,
              "container": "main",
              "amount": 50,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1617374968,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -419069863,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1223860752,
              "container": "main",
              "amount": 50,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 3506418,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -847065290,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1939428458,
              "container": "main",
              "amount": 50,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1835797460,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1057402571,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1567404401,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 98228420,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 3175989,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1974032895,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1891056868,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1386464949,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
        "resources": {
          "name": "Resources",
          "description": "Wood/ Stone/ Frags/ HQM/ Leather/ Cloth/ Fuel",
          "max": 0,
          "cooldown": 21600.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": "kits.vip",
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -892070738,
              "container": "main",
              "amount": 100000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 374890416,
              "container": "main",
              "amount": 2500,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 688032252,
              "container": "main",
              "amount": 20000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -891243783,
              "container": "main",
              "amount": 20000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1436001773,
              "container": "main",
              "amount": 25000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1034048911,
              "container": "main",
              "amount": 5000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 50834473,
              "container": "main",
              "amount": 10000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 94756378,
              "container": "main",
              "amount": 10000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 3655341,
              "container": "main",
              "amount": 100000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1625468793,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
        "signal": {
          "name": "Signal",
          "description": "Signal and Bear",
          "max": 0,
          "cooldown": 86400.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -1625468793,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 640562379,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
        "autokit": {
          "name": "autokit",
          "description": null,
          "max": 0,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": true,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 102672084,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1767561705,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1397343301,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -46188931,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -148163128,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -420273765,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1289478934,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 789892804,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 110547964,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -853695669,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1571660245,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1127699509,
              "container": "belt",
              "amount": 10,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
        "build": {
          "name": "build",
          "description": "Wood/ Stone/ Metal/ Tools",
          "max": 0,
          "cooldown": 1800.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 3655341,
              "container": "main",
              "amount": 20000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -892070738,
              "container": "main",
              "amount": 20000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 688032252,
              "container": "main",
              "amount": 5000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -307490664,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1224598842,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]     
        },
        "Daily": {
          "name": "Daily",
          "description": "P250/ Ammo/ Armour/ Clothing/ Meds/ Food ",
          "max": 0,
          "cooldown": 86400.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -533875561,
              "container": "main",
              "amount": 50,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
              {
              "itemid": 1265861812,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 106433500,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 2107229499,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1211618504,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -46848560,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -337261910,
              "container": "belt",
              "amount": 10,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
         {
              "itemid": -2043730634,
              "container": "belt",
              "amount": 10,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 548699316,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
          }
        ]
         },
        "Base": {
          "name": "Base",
          "description": "Wood/ Stone/ Frags/ HQM/ Doors/ Fur/ Storage/ SupplySig/ more",
          "max": 2,
          "cooldown": 68400.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 3655341,
              "container": "main",
              "amount": 60000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -892070738,
              "container": "main",
              "amount": 60000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 688032252,
              "container": "main",
              "amount": 15000,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }, 
        {
              "itemid": -1571725662,
              "container": "main",
              "amount": 3,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
        {
              "itemid": -975723312,
              "container": "main",
              "amount": 3,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
        {
              "itemid": 374890416,
              "container": "main",
              "amount": 2500,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
        {
              "itemid": -505639592,
              "container": "main",
              "amount": 2,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
        {
              "itemid": 271534758,
              "container": "main",
              "amount": 3,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -307490664,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1224598842,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
          {
              "itemid": -1625468793,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
           }
        ]
        },
        }
      }
    }
     
  16. You have many mistakes in the file this is why upload it and the one from the config as well so it can be fixed. Did you add these by hand or edit them by hand in any way?
     
  17. huu having that .. yesterday all was fine ..

    Code:
    (16:05:06) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.91' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.Kits.GetKitData (UInt64 userID, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0

    Ps: back to normal , delete the kit.cs and all cfg, then upload all .. all is ok.. dunno wtf happening
     
    Last edited by a moderator: Jun 5, 2018
  18. you only needed to unload plugin delete the kits_data.json then reload plugin that would of fixed it
     
  19. Doesnt fix it.
    (18:23:38) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.91' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1528237775][/DOUBLEPOST]This has been going on for the past 2 days and its been breaking my kits when i add over 1 kit. How does this make any sense
     
  20. You have a image problem either with this plugin or ImageLibrary