Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. alright
     

    Attached Files:

  2. You cannot have a space in the kit name
    Code:
    "hazmat suit": {
          "name": "Hazmat suit",
    should be like
    Code:
    "hazmatsuit": {
          "name": "Hazmatsuit",
    I also removed 5 of your kits as you never put any items in them the permissions are right but as you had two errors in the file it would cause the file to not load you really need to check your logs each server restart or config reloads for errors

    Follow these steps to the letter

    1. unload plugin by typing in rcon o.unload Kits
    2. delete kits_data.json from the data folder
    3. upload the files below by using filezilla
    4. reload the plugin by typing o.reload Kits
    5. remake the vip and vip++ kits and make sure you add the items to the kit this time
    6. once made make a vip and vip++ group
    oxide.group add vip
    oxide.group add vip++
    • then add the permissions to these groups
    oxide.grant group vip kits.vip
    oxide.grant group vip++ kits.vip++
     

    Attached Files:

  3. alright, my vips are: vip, vip+ and vip++.

    for the vip+ do i need to do make the kit, then in the console oxide.grant group vip+ kits.vip+ right?
    [DOUBLEPOST=1531390951][/DOUBLEPOST]@Resistance how can i give someone the permission to vip group?
     
  4. I have this on a Fresh install, anyone know why ? I'm sure it will be something stupid on my part but I can't see it xD

    -It was images unable to load.. I think !

    02:37 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.92' (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 <3f6c0e88d6034987982898ca124cd995>:0
    at Oxide.Plugins.Kits.CreateKitEntry (BasePlayer player,
     
    Last edited by a moderator: Jul 13, 2018
  5. Did you add a image in the config file?
    [DOUBLEPOST=1531492306][/DOUBLEPOST]
    oxide.grant user steamid/player name kits.vip <---- permission in red change to what is needed blue either use steamid or player name

    You must also add the user to the group as well
    oxide.usergroup add player name vip <---- change group to the correct one you want to vip, vip+ or vip++
     
    Last edited by a moderator: Jul 13, 2018
  6. Get this from time to time on our arena server

    Code:
    Failed to call hook 'OnPlayerRespawned' on plugin 'Kits v3.2.92' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
      at BaseEntity.get_currentTemperature () [0x00000] in <82990a8f4ed340279903f2a71725fee1>:0
      at PlayerInventory.ServerUpdate (System.Single delta) [0x00028] in <82990a8f4ed340279903f2a71725fee1>:0
      at PlayerInventory.OnClothingChanged (Item item, System.Boolean bAdded) [0x00010] in <82990a8f4ed340279903f2a71725fee1>:0
      at ItemContainer.Insert (Item item) [0x00052] in <82990a8f4ed340279903f2a71725fee1>:0
      at Item.SetParent (ItemContainer target) [0x00045] in <82990a8f4ed340279903f2a71725fee1>:0
      at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack) [0x0035c] in <82990a8f4ed340279903f2a71725fee1>:0
      at Oxide.Plugins.Kits.GiveItem (PlayerInventory inv, Item item, ItemContainer container) [0x00010] in <250fb892820646f0920d5503c8b5f35f>:0
      at Oxide.Plugins.Kits.GiveKit (BasePlayer player, System.String kitname) [0x000f4] in <250fb892820646f0920d5503c8b5f35f>:0
      at Oxide.Plugins.Kits.OnPlayerRespawned (BasePlayer player) [0x00045] in <250fb892820646f0920d5503c8b5f35f>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002f0] in <250fb892820646f0920d5503c8b5f35f>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <2dad53883fcd4b7faaf900f511ce972a>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <a178d34943f746dd9b92eeffb8beec48>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <a178d34943f746dd9b92eeffb8beec48>:0
     
  7. Question 1: After a map wipe, would typing /kit resetdata reset the cooldown/uses for kits? (I only want my players to be able to use it once per wipe)

    Question 2: How do I go about setting a cooldown/uses for /kit building ?

    I have a shelf with 2 boxes full of items that I give my VIPs once per wipe and I'm trying to decide on the best way for them to claim it whether it is to claim kits or have them paste the shelf themselves, because currently, I am going up to each individual player and pasting the shelf with items for them through copypaste.

    Thank you.
     
  8. delete the kits_data.json when server is offline as to your other question and any others you might have see this post
     
  9. disregard, sorry
     
    Last edited by a moderator: Jul 16, 2018
  10. So my kits are working perfectly fine for Admins, but when a player types in the /kit command, they get the empty GUI, with only a red close button on the bottom right ... no Add Kit button on the bottom left of the GUI? Any ideas?
     
  11. @wease169 if you dont upload your json file no one can help and as I have been having big problems on this site with lag, errors and pages not loading for a few days now I cant be sure if I can help
     
  12. My json file code below :

    Code:
    {
      "Kits": {
        "starter": {
          "name": "starter",
          "description": "A welcome pack to get you started quickly",
          "max": 1,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -1754948969,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1252059217,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1302129395,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 1548091822,
              "container": "belt",
              "amount": 4,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -700591459,
              "container": "belt",
              "amount": 4,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": 363467698,
              "container": "belt",
              "amount": 2,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            },
            {
              "itemid": -1039528932,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "blueprintTarget": 0,
              "mods": []
            }
          ]
        },
      }
    }
     
  13. You also have a error in that file so here is the fix

    Follow these steps to the letter

    1. unload plugin by typing in rcon o.unload Kits
    2. delete kits_data.json from the data folder
    3. upload the files below by using filezilla
    4. reload the plugin by typing o.reload Kits
    Note: If you don't follow these steps as above, it could reset all your files to default
     

    Attached Files:

    Last edited by a moderator: Jul 18, 2018
  14. ok im tired of this happening. so Ill post up my stuff. Im using custom autokits. no autokits. one is the one everyone spawns with the other is the one members spawn with and need permissions. I have given permissions to the members group, i have also given permissions to myself to see if any difference. It works as it should, but if we wipe the map or restart the server everyone always gets the default custom autokit. People with permissions can claim the members kits but will never spawn with it. Sometimes it comes around and just starts working. But the server is server that wipes 2 times a week so by the time it starts working it messes up again the next day. So im posting up the configs and hoping theres just something in the wrong place and can make it happen. Again I know it works, it has been working. Then all of sudden it doesnt.
     

    Attached Files:

  15. Need Help I Created A Vip Kit That Can Only Be Uses Once A Wipe So I Put Max Uses 1 But Every Time I Wipe My Server It Doesn't Reset How Can I Make It Reset The Uses??
    [DOUBLEPOST=1531948377][/DOUBLEPOST]Need help how can I make that the kits max reset every wipe!
     
  16. @madcock83 try to set the auto kit then go to your game create the kit with the name that you chose and the do /kit items (so it copies the items for the kit from your inv). the go to the console and do oxide.reload Kits if it doesn't give any error it should be ok.
     
  17. i get what your saying, thats to setup an autokit. Im doing custom Autokits. autokits are just one kit everyone gets. custom auokits are kits that people get based off permissions. Like a normal user gets a kit but someone that donates to the server might get a better kit on spawn. the kits are already setup. people with the right permissions can claim the kits, they just dont spawn with them. They did and all of sudden it stops working with a server restart.
     
  18. Someone teaches me how to create VIP kits?
     
  19. ive been having this problem for a while now. When i try /kit it comes up with a black screen on my server and if i re download the plugin it still happens
    (22:09:08) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.92' (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 <6ae87a8e22e74dc1a6a0eb39ffa4c782>:0

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

    at Oxide.Plugins.Kits.RefreshKitPanel (BasePlayer player, System.UInt64 guiId, System.Int32 page) [0x001de] in <6ae87a8e22e74dc1a6a0eb39ffa4c782>:0

    at Oxide.Plugins.Kits.NewKitPanel (BasePlayer player, System.UInt64 guiId) [0x00022] in <6ae87a8e22e74dc1a6a0eb39ffa4c782>:0

    at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x0001a] in <6ae87a8e22e74dc1a6a0eb39ffa4c782>:0

    at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <6ae87a8e22e74dc1a6a0eb39ffa4c782>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <db8eacac902a4df4bfeb92f0619ac1c8>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0