Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Why is /kit remove "KITNAME" not working for me? it seems that after using the command it works, but only until the server is restarted or the plugin is reloaded. Seems like I had to manually remove the kit from the kits.json data file. Any information on this, or am I just doing something wrong?
     
  2. So, persay I wanted to give a kit from the kits plugin Kits for Rust | Oxide | How would I do that via C# in a different plugin?
     
    Last edited by a moderator: Mar 5, 2016
  3. Have a look at kits and call whatever function you need. Off the top of my head I think it's GiveKit(BasePlayer player, string kitname)

    Edit more detail
    Reference the plugin
    [PluginReference]
    Plugin Kits
    Call the function
    Kits?.Call("GiveKit", new object[] {player, kitname});
     
  4. [Oxide] 8:52 PM [Error] Failed to load plugin 'kits' (no source found)

    Please explain, and yes, I do have kits.cs loaded in the correct folder.
     
    Last edited by a moderator: Mar 5, 2016
  5. you need to upload the file
     
  6. The file should be called Kits.cs
     
  7. it is NOT called kits (5) in my server folder. The reason (5) is there is because I've been re-downloading/re-installing the kits plugin a few times to see if it may just have been the downloaded. Still, no dice. Again, in my server it is called kits.cs
     

    Attached Files:

  8. That error message says 'kits' it's Kits.cs the only reason it would say no source found is if the file name does not match the plugin title.
     
  9. Take a look at attached. kitsss.png


    FIXED. Thanks K1lly0u
    Edit: Not fixed, it loads but /kit does not work in game
    [DOUBLEPOST=1457148428][/DOUBLEPOST]This is the same problem I had earlier, someone mentioned permissions but I don't believe there are permissions other than created ones for this plugin. I'm at a total loss now.

    [Oxide] 9:25 PM [Info] Unloaded plugin Kits v3.1.7 by Reneb
    [Oxide] 9:25 PM [Info] Loaded plugin Kits v3.1.7 by Reneb

    Edit:

    Fixed it. Thanks for all of the help!
     
    Last edited by a moderator: Mar 5, 2016
  10. Thanks Pix31...appreciate the info and help
     
  11. Ok...another issue ::sigh:: (Im such a noob at this stuff)
    So, plugin is installed, it all looks good.
    So, I went to add an autokit and it took however, when I re spawned it gave me nothing in inventory,not even a rock now.
    (Probably because I used auth 2 hide true)
    All I am wanting is to have a player spawn with a few items even after death. No other kits to be made available.
    What am i doing wrong
     
  12. I have added the kit gui code but when i type /kit ingame it says unknown command, also in console it says "unloaded plugin kits v3.1.7 by Reneb" then "previous version of plugin failed to load"
     
  13. upload your config
    [DOUBLEPOST=1457235688][/DOUBLEPOST]
    Check my post on page 107 to see about making kits
     
  14. {
    "NPC - GUI Kits": {
    "1235439": {
    "description": "Welcome on this server, Here is a list of free kits that you can get <color=red>only once each</color>\n\n <color=green>Enjoy your stay</color>",
    "kits": [
    "kit1",
    "kit2"
    ]
    },
    "chat": {
    "description": "<color=red>Starter kit giver</color>",
    "kits": [
    "Starter",
    "Weekly",
    "Once",
    ]
    }
    }
    }
     
  15. Change 1235439 to 0 and chat to 0
     
  16. Well you say to add Permission to create new kits it's -> oxide.grant user "PLAYERNAME" PERMISSIONNAME
    But you never told the permission name, or am i just stupid ?
     
  17. The permission is what you what it to be see the vip and donator kit you will see what i mean.

    From my post on page 107
    Here you go just copy and paste each one.
    You must have the items on your char before making each 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 Kits.donator

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

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

    /kit add "admin"
    /kit items description "Admin Kit" authlevel 2
     
  18. Well that's not what I menth, what I want is to let my admin create a kit, not use a kit. For example: grant group admin *create kit*.

    Thanks for support!
     
  19. That is how an admin creates a kit an admin has already got the permission with auth 2 they dont need any other permission as there is none
     
  20. Is anyone else getting erroneous kit cooldowns on your server? People who just joined for the first time since the last restart already have kits on cooldown