Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. i just made a kit and i have items on me
    It added the Kit to the menu but when i select it - gives me nothing
    So at moment Kits does not work.

    EDIT

    Any kits that have already been added still work
    Just cant add new ones
     
  2. Please, read the overview.
     

  3. /kit add NAME (add items in inventory)
    /kit items

    then you saved the invetory
    [DOUBLEPOST=1508602778][/DOUBLEPOST]Is there a way to turn off the ui so i only see the avavible kits in the chat?
     
  4. do /kit list
     
  5. Oh ok yeah just /kit items worked. Could have swore I never had to do that before but I dunno I could be mistaken. Thanks though.
     
  6. So i made a clothes it that consists of 1x: pant, hoodie, metal-chest plate and mask, and a pair of gloves ONLY (all skinned, in the attire bar). I create a kit and add items to the kit, redeem it, and i get the full set of clothes and get a skinned ak in my hotbar? (copied the clothes from a preexisting kit, just chucked everyone thing except the clothes)

    Also, with our vip+ kit that has a full set of clothes, armor, med syringes and lrg medkit, salvaged tools and other accessories - some people are complaining that they aren't getting their ak upon redeeming the kit, even though I am able to redeem the kit and receive every single item.

    I can confirm that I'm running the latest version of rust dedicated and oxide as of writing this message. I'm confused as to what is causing this issue, please help lol
     
  7. You need to open your kits.json file from the data folder use notepad++ and check the itemid on this site for each item
     
  8. Failed to call hook 'GiveKit' on plugin 'Kits v3.2.9' (NullReferenceException: )

    (15:09:04) | at (wrapper managed-to-native) UnityEngine.Component:get_transform ()

    at BaseEntity.get_currentTemperature () [0x00000] in <filename unknown>:0

    at PlayerInventory.ServerUpdate (Single delta) [0x00000] in <filename unknown>:0

    at PlayerInventory.OnClothingChanged (.Item item, Boolean bAdded) [0x00000] in <filename unknown>:0

    at ItemContainer.Insert (.Item item) [0x00000] in <filename unknown>:0

    at Item.SetParent (.ItemContainer target) [0x00000] in <filename unknown>:0

    at Item.MoveToContainer (.ItemContainer newcontainer, Int32 iTargetPos, Boolean allowStack) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.GiveItem (.PlayerInventory inv, .Item item, .ItemContainer container) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Kits.GiveKit (.BasePlayer player, System.String kitname) [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

    (15:09:04) | Failed to call hook 'OnEventKitGiven' on plugin 'TeamDeathmatch v0.3.52' (NullReferenceException: )

    (15:09:04) | at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)

    at UnityEngine.Component.GetComponent[TDMPlayer] () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.TeamDeathmatch.GiveTeamShirts (.BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.TeamDeathmatch.OnEventKitGiven (.BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.TeamDeathmatch.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

    help help
     
  9. Code:
      "Custom AutoKits": {
        "0": "SpawnVIP",
        "1": "SpawnAllegiance",
        "2": "SpawnVeteran",
        "3": "SpawnLegitimate",
        "4": "SpawnDefault"
      },
    Each one has permissions the same as their names and those permissions are assigned to groups. For instance:

    Code:
        "spawnvip": {
          "name": "SpawnVIP",
          "description": null,
          "max": 0,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": true,
          "npconly": false,
          "permission": "kits.spawnvip",
          "image": null,
          "building": null,
          "items": [
            {
    I tested it in the VIP group and then removed myself, added myself to the Allegiance group. I still got the VIP kit.

    Is this because I'm an admin and technically have rights to all kits?
     
  10. Yes admin technically have the rights to the highest kit
    and enabling authlevel 2 to all autokit will be good, because they will still get it but they cannot manually redeem it like /kit spawnvip
     
  11. How do i make an autospawn kit so when they die and respawn they have a few items on them

    I tried this but when i died i was naked except for rock and Torch.

    Code:
    /kit add autospawn
    /kit authlevel 2 hide true items
     
  12. Read my post on page 300
     
  13. Thanks Resistance,i wasnt far off :)

    Code:
    /kit add "autokit"
    /kit items description "This is the autokit" authlevel 2
    /kit hide true
     
  14. @Reneb Is there a way to customize the background to each kit?
     
  15. I just want a simple kit starter for players to use every hour on my server: 2k stone, 2k wood, 1 hatchet, 5 bandages, 5 chicken, 1 bow, 10 arrows
    Can anyone create this for me?

    Not having much luck with the .json and being in server creating the kit sorry :( been years since I done this stuff
     
    Last edited by a moderator: Oct 27, 2017
  16. Error while compiling: Kits.cs(407,27): error CS0117: `ConVar.Server' does not contain a definition for `Log'
     
  17. Anyone getting this for kits?
    Code:
    18:35 [Error] Error while compiling: Kits.cs(407,27): error CS0117: `ConVar.Server' does not contain a definition for `Log'
     
  18. Yes I'm getting the same error
     
  19. Wulf

    Wulf Community Admin

    You're using an old version of the plugin.
     
  20. The post on page 300 is excellant for doing kits in this plugin