Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Wulf

    Wulf Community Admin

    All plugins configuration files are in JSON.
     
  2. It use a .json file and can be found under oxide/configs and if you want to validate your config(to check commas and other stuff) use jsonlint.com
     
  3. anyone want to share their kit's list so I can get some ideas lol
    [DOUBLEPOST=1435563968,1435538606][/DOUBLEPOST]I did /kit add Admin -authlevel2

    and anyone can spawn it... that was a nightmare lol
     
  4. Pls can you add an autokit which ONLY NEW player get on connect? :)
     
  5. EDIT: stupid me didn't reload the plugin my bad haha !
     
    Last edited by a moderator: Jun 29, 2015
  6. lol ^^ loaded the version for oxide 2.0 and it still give me this errors:
    Code:
    4:26 AM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'Kits'
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Facepunch.ID.dll
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Facepunch.MeshBatch.dll
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Google.ProtocolBuffers.dll
    4:26 AM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'Kits'
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Facepunch.ID.dll
    4:26 AM [Error] Plugin failed to compile: Kits (leaving previous version loaded)
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Facepunch.MeshBatch.dll
    4:26 AM [Error] Plugin failed to compile: Kits (leaving previous version loaded)
    4:26 AM [Error] Assembly referenced by Kits plugin does not exist: Google.ProtocolBuffers.dll
    4:26 AM [Error] Plugin failed to compile: Kits (leaving previous version loaded)
    [DOUBLEPOST=1435631198][/DOUBLEPOST]says i have legacy version of script in .cs? xD
     
  7. Code:
    [Oxide] 11:31 PM [Info] Loaded plugin Kits v2.0.11 by Reneb
    [Oxide] 11:31 PM [Error] Failed to call hook 'Loaded' on plugin 'Kits' (JsonReaderException: After parsing a value an unexpected character was encountered: {. Path 'welcome.items.main[7]', line 58, position 9.)
    [Oxide] 11:31 PM [Debug]   at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    71.88.65.19:54682/76561198056070968/IProAssassin disconnecting: disconnect
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    172.6.244.97:65510/76561198044578139/Plebasaurus Rekt disconnecting: disconnect
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.SendList (System.Object source) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.SendList (System.Object source) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 11:31 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:31 PM [Debug]   at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Fresh install of Oxide, Fresh Wipe of server, Tried to make a kit, and my console caught on fire.
     
  8. anybody knows how to set minimum players for an event? Now we can start it with 2 guys....it's easy to abuse for groups when not so much player are online :/ because i make the events automatic
     
  9. Wulf

    Wulf Community Admin

    Your editing corrupted the configuration file, use jsonlint.com to validate.
     
  10. Ah.... A damn "." >.>
    Thank you Wulf

    I should really not try to code drunk. Posting and doing all kinds of shit wrong.
     
    Last edited by a moderator: Jun 30, 2015
  11. I just added this in

    /kit add "WipeRefund" "MAKE SURE UR INV IS EMPTY!!" -max1


    And when we try to redeem it, it says it doesn't exist. It's in the kits_list.json file. Any ideas? My new starter kit worked.
     
  12. hey
    try to type the description of the kit when in description is an space use ""
     
  13. He has a description. ..
     
  14. i know.....to get the kit he should try the desctext
    [DOUBLEPOST=1435796925][/DOUBLEPOST]its worked for me because some users have same problem :)
    i was self woundering because it was 100% the description not the name
    // PS: don't be so mad ;)
     
    Last edited by a moderator: Jul 2, 2015
  15. I have issue where they can claim max 2 kits indefinitely
     
  16. Well, today.... it's working lol. Rolls eyes.....
     
  17. same cmd?
     
  18. Hi, i have a problem where upon death you receive the autokit fine, but if you are killed while sleeping, upon re spawn you start with nothing. Rhis is a huuuuge problem for me.... am i doing something wrong?
     
  19. Code:
    [Oxide] 5:15 PM [Info] Unloaded plugin Kits v2.0.11 by Reneb
    [Oxide] 5:15 PM [Info] Loaded plugin Kits v2.0.11 by Reneb
    [Oxide] 5:15 PM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 5:15 PM [Debug]   at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.GetKitLeft (.BasePlayer player, System.String kitname, Int32 max) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1436487834][/DOUBLEPOST]@Wulf my kits data says null... how do i fix this lol
    [DOUBLEPOST=1436488598][/DOUBLEPOST]looks like I just needed to add { } to it
     
  20. -snip-
    Solved.
    *Apparently I can't delete my posts*
     
    Last edited by a moderator: Jul 10, 2015