Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. This post? Kits | Page 107 | Oxide
    [DOUBLEPOST=1456713478][/DOUBLEPOST]
    okay lets asume that this kits.cs does so if i set colldown on one of my kits to 3600 thats 1 hour and someone joins for the first time they cant use it untill hour later?
     
    Last edited by a moderator: Feb 29, 2016
  2. no they can get it as soon as they login for the first time the timer only starts once they get the kit
     
  3. Worked when I replaced chat to 0
     
  4. I did see you never set it to 0 but was going to check over the whole file but glad its working for you
     
  5. Whats the admin permission for making a kit?
     
  6. You dont need any just need to have ownerid
     
  7. how do you set up a donator kit? and Vip kits ? I cant seem to get this to work..
     
  8. Check my post on page 107
     
  9. how does the permission system work? i cant seem to get it going.
    I have kits working but i just cant set a permission to a bp kit i want for regulars only.
    can anyone help out? cheers
     
  10. regulars? do you mean normal players
     
  11. players who have been on the server long term, i just want to set them apart from newbies and part time players.
     
  12. Hello! When I`ve tried to enable GUI by replacing "NPC id with "chat" word in config folder / Kits.json occured next error.
    Will be greatfull for solution.

    Code:
    [Oxide] 1:32 PM [Error] Failed to initialize plugin 'Kits v3.1.6' (ArgumentException: Can not add property 8753201223 to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.)
    [Oxide] 1:32 PM [Debug]   at Newtonsoft.Json.Linq.JObject.ValidateToken (Newtonsoft.Json.Linq.JToken o, Newtonsoft.Json.Linq.JToken existing) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JContainer.InsertItem (Int32 index, Newtonsoft.Json.Linq.JToken item, Boolean skipParentCheck) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JObject.InsertItem (Int32 index, Newtonsoft.Json.Linq.JToken item, Boolean skipParentCheck) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JContainer.AddInternal (Int32 index, System.Object content, Boolean skipParentCheck) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JContainer.AddAndSkipParentCheck (Newtonsoft.Json.Linq.JToken token) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JTokenWriter.AddParent (Newtonsoft.Json.Linq.JContainer container) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Linq.JTokenWriter.WritePropertyName (System.String name) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0 
     
  13. Make a new group call it regular then make a kit you want just for that group the permission will be Kits.regular also add Kits.regular permission to the group as well then add the player to the group also add the permission to the user as well. If you are not sure how to do all this pm me your skype info will help you
    [DOUBLEPOST=1456834385][/DOUBLEPOST]
    You are using an out of date plugin
     
  14. Says I don't have permission even though I set myself to owner. Is there a specific permission that I would have to give myself like:

    oxide.grant user <me> <permission>

    EDIT: Never mind, apparently fixed itself.
     
    Last edited by a moderator: Mar 1, 2016
  15. All good mate, after lots of rooting around i finally got it. original problem was i wasnt putting the "kits." in front of the permission name. [facepalm]
    thanks heaps for your quick reply
     
  16. Ok. Several folks have been asking for an edit where the kit cooldown is displayed in minutes. Well, without further ado, here it is thanks to my friend APK.

    No other changes to the plugin except the cooldown is now display in minutes, with one decimal point. You must still enter the cooldown in seconds in game, so whip out your calculator and do the simple math conversion. Attached is how it shows in game. I added decimal point so people know how long into their minute they are.

    I do not know if this works with the GUI, because I don't use it. If anyone really wants it added to the GUI let me know, I'll see if APK can give us an edit on that too. Enjoy!
     

    Attached Files:

  17. I`ve updated plugin, but error still there

    Code:
    [Oxide] 12:50 AM [Error] Failed to initialize plugin 'Kits v3.1.7' (FormatException: Input string was not in the correct format)[Oxide] 12:50 AM [Debug]   at System.UInt64.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.UInt64.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.Convert.ToUInt64 (System.String value, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.String.System.IConvertible.ToUInt64 (IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0 
     

    Attached Files:

  18. try this
     

    Attached Files:

  19. Hello, sorry for my bad english i'm a french, but i have a question, what is a name of permission ? for the command "grant user "name ....."
    Thanks for your answer
     
  20. Using Oxide's permission system | Oxide