Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. upload all json files
     
  2. ok started to work out of the random i updated a kit name and it fixed it. very odd lol
     
  3. When i added a new kit i got this and i can't see the images anymore when i type /kit.

    Code:
    (13:32:39) | Failed to call hook 'cmdUI_AddKit' on plugin 'Kits v3.2.9' (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.cmdUI_AddKit (.Arg arg) [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
    Edit: Alright its working now, i reloaded ImageLibrary then i reloaded Kits and now it's showing the new kit and the images.
     
  4. mine didnt work so good but they are fine after i did the new oxide update.
    Did u do the second update ?
     
  5. Did you have a space in it
     
  6. Can someone help me? This is the first time I've wiped the server while having this plugin installed. After the wipe it still says I have 0 kits left to redeem. Is there something that we are supposed to do after a wipe to clear this data? I tried deleting the file in the data folder but it didn't help.
    [DOUBLEPOST=1525385905][/DOUBLEPOST]nevermind I found it - /kit resetdata
     
  7. You are meant to delete the kits_data.json file when server is offline when you run the monthly update
     
  8. Does anybody know what this means... my Kits plugin just stopped working I have no clue on whats going on... I tried reloading and reinstalling ImageLibrary deleted both config and data files to test... still no good...
    That's the console report!
    Code:
    (01:15:49) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (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.BackgroundPanel (.BasePlayer player) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in <filename unknown>:
    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
     
    Last edited by a moderator: May 4, 2018
  9. did u update oxide - there was 2 updates last night not one
     
  10. Wulf

    Wulf Community Admin

    2nd Oxide update had nothing to do with this, it only addressed the OnEntityBuilt hook (which Kits has nothing to do with.)
     
  11. Calytic

    Calytic Community Admin Community Mod

    Calytic updated Kits with a new update entry:

    3.2.91

     
  12. I've noticed a few times, (when I remove kits by command) that they don't always remove. Can we get better implementation of this?
    using /kit remove <name> doesn't remove the kit in /data/kits.json .. It seems to only remove it from the GUI panel.

    I deleted two kits using that command yesterday, and today they were back in the list.
    Also, if we can get an option to block use of chat command to redeem kit, when using GUI ? :)
    Because players can redeem kits they know the name of even if the GUI doesn't show them.

    Thanks.
     
  13. @Kappasaurus can you maybe fix this that if you redeem a kit that the items are all mixed up in the inventory?
    i want to have it exact there where i have put them in each slot
     
  14. Hey everyone!
    New to Rust servers. Paying for MCProHost to run my server. I am owner but the plugin wont let me access any of the commands to create kits, I dont even have an add kit button like the video. Have I missed something stupid?
    Thanks
     
  15. You need to be an admin
     
  16. How do i go about changing that?
    and Thankyou
     
  17. Not sure if this is happening to anyone else but as soon as i create and add kits i get this

    [​IMG]

    No matter how many times i try a restart delete and readd files its still the same since New update/wipe

    Basically i have to log out and back in for it to remove off my screen
     
  18. in rcon type
    ownerid steamid64 "player name" "admin"
    then server.writecfg
    then relog if in game
    [DOUBLEPOST=1525525817][/DOUBLEPOST]
    upload all your json files
     
  19. What do you mean upload, the only file i have is a fresh download of the kits.cs then i added a kit like

    /kit add signal

    followed the correct stuff

    then tried to add it so it shows and nothing as showen in the pic


    as for my previous json files it was

    Code:
    {
      "Kits": {
        "starter": {
          "name": "Starter",
          "description": null,
          "max": 0,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": []
        },
        "autokit": {
          "name": "autokit",
          "description": null,
          "max": 0,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 115739308,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1749787215,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -46848560,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1265861812,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1211618504,
              "container": "wear",
              "amount": 1,
              "skinid": 1234693807,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 106433500,
              "container": "wear",
              "amount": 1,
              "skinid": 1150763210,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -533875561,
              "container": "main",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 790921853,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1976561211,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1063412582,
              "container": "belt",
              "amount": 100,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1440143841,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 2033918259,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "mods": []
            }
          ]
        },
        "health": {
          "name": "Health",
          "description": null,
          "max": 0,
          "cooldown": 3600.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -789202811,
              "container": "belt",
              "amount": 5,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 586484018,
              "container": "belt",
              "amount": 2,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 586484018,
              "container": "belt",
              "amount": 2,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -337261910,
              "container": "belt",
              "amount": 5,
              "skinid": 0,
              "weapon": false,
              "mods": []
            }
          ]
        },
        "supply": {
          "name": "Supply",
          "description": null,
          "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,
              "mods": []
            }
          ]
        },
        "festive": {
          "name": "Festive",
          "description": null,
          "max": 10,
          "cooldown": 86400.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": -966287254,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1540879296,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1151126752,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1926458555,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1526866730,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -460592212,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -2055888649,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1623330855,
              "container": "main",
              "amount": 2,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1693683664,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 435230680,
              "container": "main",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 205978836,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -2073307447,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 918540912,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1044400758,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -471874147,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1588977225,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            }
          ]
        },
        "admin": {
          "name": "Admin",
          "description": null,
          "max": 0,
          "cooldown": 0.0,
          "authlevel": 2,
          "hide": false,
          "npconly": false,
          "permission": null,
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 98228420,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1567404401,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1057402571,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1835797460,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1471284746,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -1617374968,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 1223860752,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -847065290,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 374890416,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 28178745,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 94756378,
              "container": "main",
              "amount": 65000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 3655341,
              "container": "main",
              "amount": 300000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            }
          ]
        }
      }
    }