Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. /kit add "starter"
    What team should be entered then that this whale would be given to players of times an hour?
     
  2. Good I inform you that the plugin will not recognize me I did not on my server Respond please
     
  3. Okay, so, I have been reading this thread and I still do not see the answer to my problem. I have installed this plugin, i checked the log file and it says it installed. When I go to create a kit it says "you do not have access to that command". I have added myself as admin using Rusty. I have regular admin permissions but I cannot get kits to work.
     
  4. And what are you typing in game for this plugin
     
  5. /kit add autokit (into chat)
     
  6. 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" max 2 cooldown 3600

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

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

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

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

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

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

    /kit add "admin"
    /kit items description "Admin Kit" authlevel 2
    Or download the attachment and place in data folder put please stop server first
     

    Attached Files:

    Last edited by a moderator: Oct 23, 2015
  7. Thank you I will give this a try.
    [DOUBLEPOST=1444100298,1444092500][/DOUBLEPOST]
    Nope, it didn't work. I cannot create a kit at all. I even reinstalled the server, then shut it down then I installed the latest updated Oxide then installed the plugin and then started it up, and lastly I saved changes in Rusty to the server.writecfg to add myself as owner and moderator. When I try to add a kit it stops me there every time. I cannot even set a description or any of that other stuff.

    Is there something I am missing? Perhaps another plugin I need to get this to work, or I need to add myself as admin to Oxide some how. I don't know, I am new to all of this.
     
    Last edited by a moderator: Oct 6, 2015
  8. pm me your skype info if you dont have skype go download it
     
  9. Anyone else having issues after updating today with Kits gui not showing up?

    Edit: Never mind, fixed it
     
    Last edited by a moderator: Oct 6, 2015
  10. nice example but i have question if use max 2 cooldown 3600 mean every 1 hour can give kits 2 time ? yes or no

    because i config max 1 cooldown 3600 should mean (every 1 hour can give 1 time) but before 1 hour can't give kits have message "already redeem"
     
  11. newest oxide, breaks the GUI

    [Oxide] 6:59 AM [Warning] [Kits] Unable to call hook directly: Init
     
  12. Send you the kit file in your data folder would need to look over it
     
  13. Try this :
     

    Attached Files:

    • Kits.cs
      File size:
      43 KB
      Views:
      33
  14. *** and player cooldown time ***

    "ws": {
    "cooldown": "1443864681.97663", <<< before 1 hour this time
    "max": "1"
     

    Attached Files:

    • Kits.cs
      File size:
      43 KB
      Views:
      36
  15. Plugin causes error listed below every time i type /kit command (with chat GUI enabled). For first kit everything works great but when second kit was added error occured. Kit config and data file attached. Please help.


    Code:
    [Oxide] 9:39 AM [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.0.6' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 9:39 AM [Debug]   at Oxide.Plugins.Kits.GetData (.BasePlayer player, System.String kitname, System.String dataname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, System.String guiId, Int32 minKit) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, System.String guiId) [0x00000] in <filename unknown>:0
      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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    UPDATED!

    Also noticed that this error appears everytime when command /kit is used (and it is doesnt metter if GUI is on or off). Dunno know if it will help but /kit list shows all the kits that were added and same time /kit shows only first added kit (autokit doesnt counts).

    Doesnt sure but i guess it caused by some items because added one more kit and it is shown as should be.

    After deleting hunter kit error disappears. Hmmm.
     

    Attached Files:

    Last edited by a moderator: Oct 6, 2015
  16. The plugin works, but things are not issues.
    Created autokit and a test set of wood.
    After the death of autokit is issued and a set of writes wood that stood out, although it is not ...
     
  17. Someone will need to fix it for me i dont have access to any computer for 4days
     
  18. Change:
    440 line
    Code:
    ""parent"": ""Overlay"",
    to
    440 line
    Code:
    ""parent"": ""HUD/Overlay"",
     
  19. who can advise me for fix problem can't use give kit every 1 hour 1 kit