Can't seem to get Kits to work... Am I doing something wrong?Solved

So, I'm using Rust Kits as the plugin of choice. So maybe this is my first issue. However, the following code is apart of my Kits Data file. It defines the "murderer_kit_1".

\oxide\data\Kits.json

"murderer_kit_1": {
      "name": "murderer_kit_1",
      "description": "Murder Kit 1 for Dangerous Treasures Event",
      "max": 0,
      "cooldown": 0.0,
      "authlevel": 0,
      "hide": false,
      "npconly": false,
      "permission": "kits.murderer_kit_1",
      "image": null,
      "building": null,
      "items": [
        {
          "itemid": -194509282,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": 968019378,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": -2002277461,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": 1850456855,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": 935692442,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": 21402876,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": 237239288,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        },
        {
          "itemid": -1549739227,
          "container": "main",
          "amount": 1,
          "skinid": 0,
          "weapon": false,
          "blueprintTarget": 0,
          "mods": []
        }
      ]
    }​
And following this, I've added this to the following section in the DangerousTreasures json file:

\oxide\config\DangerousTreasures.json
"NPCs": {
    "Enabled": true,
    "Scientist Weapon Accuracy (0 - 100)": 12.0,
    "Spawn Murderers": true,
    "Spawn Scientists Only": false,
    "Spawn Murderers And Scientists": false,
    "Amount To Spawn": 6,
    "Minimum Amount To Spawn": 3,
    "Despawn Inventory On Death": false,
    "Spawn Random Amount": false,
    "Health For Murderers (100 min, 5000 max)": 150.0,
    "Health For Scientists (100 min, 5000 max)": 150.0,
    "Murderer Items": [],
    "Scientist Items": [
      "hazmatsuit_scientist_peacekeeper",
      "lmg.m249"
    ],
    "Murderer Kits": [
      "murderer_kit_1"
    ],
    "Scientist Kits": [
      "scientist_kit_1",
      "scientist_kit_2"
    ],
    "Blacklisted": [
      "Bandit Camp",
      "Outpost",
      "Junkyard"
    ],
    "Random Names": [
      ""
    ]
  }​

Now I got rid of all of the items in the "Murderer Items" array, to force them to spawn with the "murderer_kit_1". However they spawn naked.

Did I set something up wrong? Or does this plugin not work with the Rust Kits plugin?

Figured it out. For those who are wondering. It was due to the permissions in the kit file not being set to null.

Thanks for sharing the fix

Locked automatically