Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Hey, I'm having some problems. I'm set as owner in my server, but when I type in '/kit' and press 'add kit' nothing happens. Is there a special permission I need?
     
  2. hi again . i have problem with /kit image "URL" . When i add URL it say (imaged added ) but when i open /Kit , there is no image !

    plz help
    [DOUBLEPOST=1500661535][/DOUBLEPOST]
    hi! you should add kit with this command : /Kit add "NAME"
    Then : /Kit and select (add kit)
     
  3. I have kits set up, I just can't add them to the menu.
     
  4. You must have the items on your char before making each kit
    After you make a kit with a permission it will have the kits. in front of it so for vip it will be Kits.vip for donator it will be Kits.donator just do what I posted below and it will auto add the Kits. in front of the permission.
    The permission that you will now find in your kits.json file found in your oxide/data folder is what you will need to add to the new group you have set up for the special kit


    /kit add "autokit"
    /kit items description "This is the autokit" authlevel 2
    /kit hide true

    /kit add "daily"
    /kit items description "Daily resources for being so devoted" cooldown 86400

    /kit add "starter"
    /kit items description "Help to get started, usable twice at 1hour interval" cooldown 3600

    /kit add "sniper"
    /kit items description "Help for them raids, usable twice at 1hour interval" cooldown 3600

    /kit add "hunter"
    /kit items description "Help to hunt them beasts, usable twice at 1hour interval" cooldown 3600

    /kit add "blueprints"
    /kit items description "Couple blueprints to help you start"

    /kit add "donatorreward"
    /kit items description "Donator reward" permission donator

    /kit add "vip"
    /kit items description "VIP reward" permission vip

    /kit add "moderator"
    /kit items description "Moderator Kit" authlevel 1

    /kit add "admin"
    /kit items description "Admin Kit" authlevel 2

    There are unlimited AutoKits, there is now the ability to add as many "AutoKits" as you want.

    "AutoKits extends the default autokit functionality but gives the customization of having multiple different autokits. On respawn this plugin will check any entries in the config and if the player has permission will give the kit. To configure an autokit simply provide a permission name (you can make this up --> see example) and a kit name (this kit must exist). So for example, if you have a kit named guns.. you might make an autokit of: "guns", "guns". Once you reload Kits it will automatically register permission: Kits.guns ... if you give this permission to a group or player they will get the gun kit on EVERY respawn."

    Here is an example of what the config could look like:
    Code:
    "AutoKits": {
        "autoadmin": "autoadmin",
        "autovip": "autovip",
        "autoyoutube": "autoyoutube",
        "defaultauto": "defaultauto"
      }
    This example assumes you have kits named autoadmin, autovip, autoyoutube, defaultauto

    On reload of Kits it will automatically register "Kits.the value on the left side"... so Kits.autoadmin .. Kits.autovip.

    Now, this can sound confusing but that is because it is so simple that we all overthink it.

    So the left hand side is the permission that will be created... be default ALL permissions must be registered with the Plugins name.. therefore it makes it Kits. + your permission name...

    YOU DO NOT NEED TO CREATE PERMISSIONS.. the plugin does it automatically on load.

    The right hand side is the kit, which you have already created and exists in the Kits.json within the Data folder.

    Now, if a player has say Kits.autoadmin .. then on respawn they will get the autoadmin kit.

    If they have more then one, they get them both/all.
    AutoKitInstructions.png
    I find its easier to add the permission to the group this way you dont need to add it to every user on your server the default group will get whatever autokit you decide then you have the option to add better auto kits to custom groups like vip or donation groups
     
  5. autokits are not my problem

    making kits is not my problem

    getting the kits to show up on the menu when you type in /kits is my problem
    when i press 'add kit' nothing happens
     
  6. uhm I got a request. is there any way to make the one that do /kit "buildingname" to get the ownership of the building thats pasted in? because right now it just says unknown owner and the player cant remove the parts
     
  7. You need to add the kit names to your config file so it looks like this
    Code:
    {
      "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": [
            "admin",
            "sniper",
            "hunter",
            "elite",
            "vip",
            "moderator"
          ]
        },
    Replace with your kit names
     
  8. Hello everyone, I'm asking for advice here ;)
    I installed the plugin and created 4 kits, all were added to the menu without issues.
    The thing is... when I click on the "redeem" button, no items are added to my inventory however the cooldown and max data are updated in the UI.

    The config file is OK.
    Btw : is there a way to set Kits items content and options in a .json file instead of doing it in-game ? I read it was removed but I'm not sure.

    What have I missed ?
    Thanks

    Here's my Kits.json file.

    Code:
    {
      "NPC - GUI Kits": {
        "0": {
          "description": "<color=green>Rust in pieces</color> - Kits disponibles",
          "kits": [
            "chasseur",
            "mineur",
            "bûcheron",
            "architecte",
            "starter"
          ]
        }
      },
      "CopyPaste - Parameters": [
        "autoheight",
        "true",
        "blockcollision",
        "true",
        "deployables",
        "true",
        "inventories",
        "true"
      ],
      "Custom AutoKits": {},
      "UI KeyBinding": "",
      "Kit - Logging": true,
      "Show All Kits": false,
      "Background - URL": ""
    }
    EDIT: Is the answer here ? Kits | Page 107 | Oxide
     
    Last edited by a moderator: Jul 26, 2017
  9. Need to upload the kits file from data folder
     
  10. Guys
    oxide.group add vip
    oxide.grant group vip kits.vip
    console gives me - Permission 'kits.vip' doesn't exist Can Someone Help Me
    ???
     
  11. Are you sure that plugin Kits, register permission "kits.vip"?
     
  12. How can register kits.vip
     
  13. If i am not mistaken, when you create KIT, you can set permission:.
    Like: /kit create VIP
    /kit edit VIP
    /kit permission VIP
    Then plugin will register KIT.VIP permission.

    Them main thing that you should know:
    You can grant user permission before plugin register them.
     
  14. try scrolling up
     
  15. That's an issue from "copypaste"
     
  16. someone just updated an dll file that fixes MINE....why u delete it????
     
  17. Wulf

    Wulf Community Admin

  18. Wulf

    Wulf Community Admin

    Same issue, see the other thread.
     
  19. I see kits working on another updated server. How's that?