Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. (16:11:22) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.4' (NullReferenceException: Object reference not set to an instance of an object)
     
  2. What is the permission for using kit list!?!
     
  3. Im not familiar with SDonate. Regardless it would need to be a request in that thread... What you need to ask for (if it doesnt already exist) is the ability to execute a command on "donation". So player donates and it automatically runs on console grant user x Kits.permissionWHATEVER.

    Good luck.
    [DOUBLEPOST=1489768971][/DOUBLEPOST]
    Auth level 2 or Kits.admin
     
  4. Thank you for you'r reply i figured this out and got it all working :D
     
  5. Ah well I was thinking just for players!
     
  6. if you are talking about setting up the kit ui.. watch the video or read the overview.
     
  7. Thanks DOH!
     
  8. i cannot seem to get the kit gui to show where am i going wrong i have set the key to u in config
     
    Last edited by a moderator: Mar 18, 2017
  9. Right so..... I have kits enabled on my server. I have a VIP system, so I have a custom VIP resources kit. I created a kit called "VIP Trial Resources" and allowed for players to use it. I was able to remove the ability for VIP members to see it, however players do not have permission to use it, though they can see it on the kits menu. I tried making authlevel 0, and made a permission called trials and typed these 2 commands in console:

    grant group player kits.trial
    grant group default kits.trial

    both commands say they have granted these groups access however, every player who joins other than me (because i'm admin) claim they can't use it, with an error that reads "you do not have permission"
     
  10. There is no group called player now unless its a custom group you made.
    You dont add it to the default group if you want a vip player to use it it needs added to a custom vip group then you add the player to the custom group and also add the permission to the user.
    If you want all normal users to use this kit then remove the permission
    [DOUBLEPOST=1489904654][/DOUBLEPOST]
    watch the video
     
  11. True, however I want ONLY normal players to use the kit. Not VIP.
     
  12. then remove the permission its not needed
     
  13. If I remove the permission would it not be available for VIP too then?
     
  14. Yes you cant make a custom kit for default players only as everyone is in default group already even if in vip or any other group you make
     
  15. Ok. I understand. I am attempting to remove the permission now but I don't know how. Once I have set the kit to have a permission, how do I remove the permission without removing the whole kit.
     
  16. edit the kits.json found in the data folder with notepad++ or use the in game commands
     
  17. Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.4' (NullReferenceException: Object reference not set to an instance of an object)
    [DOUBLEPOST=1490112858][/DOUBLEPOST]help pls
     
  18. By your current issues in more then one plugin at a time, and the same problem, a NRE, i don't think that it does do any sense for a dev plugin dev to spent time on researching, as long you cannot verify yourself(server) running 100% normal.
     
  19. I know theres cooldowns but what about coolups and cooldown based on time connect true or false
     
  20. oxide v2.0.3159
    Code:
    12:13 [Error] Failed to call hook 'cmdConsoleKitClose' on plugin 'Kits v3.2.4' (KeyNotFoundException: The given key was not present in the dictionary.)
    12:13 [Stacktrace]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Kits+PLayerGUI].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdConsoleKitClose (.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 (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