Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Can you tell me how are the steps, please
     
  2. upload your kits.json from your data folder so I can see what kits you have
     
  3. You don't have the level to use this kit. - authlevel set 2 . Players cant get kit. Why? halp me=)
     
  4. Then make your self an admin go to your cfg folder and look at your users.cfg file what does it say in there
     
  5. Oh sry, Authlevel must set to 0 right? then i grant permission kit.premium - and only granted can use right?
     

    Attached Files:

  6. You had a lot of kits set to hide I also fixed your permissions now to the users file what is your steam id and the others in there are they meant to be admins or mods
    [DOUBLEPOST=1468620745][/DOUBLEPOST]moderatorid steamid64 "player name" "Mod"
    ownerid steamid64 "player name" "Admin"
    removemoderator steamid64
    removeowner steamid64

    removeowner 76561198074465102
    removeowner 76561198065746005
    removeowner 76561198198037254
    then in rcon server.writecfg
    after you have done that then you need to add each one back if they are all admins but this time with the player names so it will be


    ownerid 76561198074465102 "player name" "Admin"
    ownerid 76561198065746005 "player name" "Admin"
    ownerid 76561198198037254 "player name" "Admin"
    replace player name with the name of the player for each steamid
    then
    server.writecfg
    Each admin needs to relog if in game after you do all the above

    If you want to make anyone a mod you do this
    moderatorid steamid64 "player name" "Mod"
    just make sure they dont have both each member (admin or mod) can only be auth 1 or 2

    If you want someone to access the vip kits make a vip group and add the permission to the group Kits.vip then add that player to the vip group and also add the Kits.vip permission to the user
     

    Attached Files:

    Last edited by a moderator: Jul 15, 2016

  7. hm okey try now. But if I set authlevel 0 - then players with permission kits.premium can get this kit try this now, but I dont know - can use this command /kit premium - other users without permission or not. You think all players can use command /kit premium without permission kits.premium ?
     
  8. auth lvl has nothing to do with it
    make two groups
    group add vip
    group add premium
    then add these permissions to them
    oxide.grant group vip Kits.vip
    oxide.grant group premium Kits.premium

    then add a user to one of the groups and grant the user the same permission that the group is using

    As easy as that if you cant do this by now then there is nothing more I can do
     
  9. I use this:
    grant.permission {steamid} kits.deluxe 30d
    grant.permission {steamid} kits.deluxedrop 30d
    grant.group {steamid} DELUXE 30d

    And right now I try to set authlevel to 0 - and all players with permission can get kit now
     
  10. players are already set to auth 0 by default and when you make a kit its set to the same unless you change it and if you use the file i posted above it will be fixed
     
  11. I'm in the same boat, can someone please let us know how the VIP thing is supposed to work with OXIDE permissions, the documentation has gotten old me thinks.

    Okay, I see in the code the "player" requires an auth level of "1" before they can do "/kit list", or other. Problem is that all players (default) are auth "0" (zero) to start.

    if (!hasAccess(player)) { SendReply(player, "You don't have access to this command"); return; }

    Explains why players see this from the chat console.
     
    Last edited by a moderator: Jul 16, 2016
  12. My server players get a message "You don't have access to this command". Is there a need to set oxide permissions for "default" for the Kit plugin?! If so, what is it?
     
  13. upload your kits.json from your data folder normal player need no permission and auth 1 is for mods 2 are for admins if you set the kits up right then they will work
     
  14. Thank you for all of the help Resistance! You're the best!
     
  15. kits needs a update. still having issues after xp patch updates
    [DOUBLEPOST=1468690765][/DOUBLEPOST]
    13:35 [Error] Failed to call hook 'GetKitContents' on plugin 'Kits v3.1.10' (NullReferenceException: Object reference not set to an instance of an object)
    13:35 [Debug] at Oxide.Plugins.Kits.GetKitContents (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 (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  16. Did you edit the config in any way
     
  17. well i know we have kits added in game. not sure if we edited anything else to cause this error. I know we downloaded the latest though
     
  18. upload your config and both files from data folder
     
  19. help create new kit?
    /kit add test
    and file kit.json field: item[] - empty
     
  20. see my post on page 107