Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Some ppl when they do /kit NAME it says u cant use it at this time why? @Wulf @Ankawi this happen 2 u on rustarmy?
     
  2. Could be an error, did you change anything within the configs?
     
  3. No turns out they needed to relog so thx!
     
  4. Hello,

    I need help. Everytime I edit the config file (even the most little thing) the plugin runs into a error everytime I try and reload it, so it does'nt load it.
    Please give me some sort of a fix.

    Code:
    > oxide.reload Kits
    [Oxide] 11:24 PM [Info] Loaded plugin Kits v3.1.3 by Reneb
    [Oxide] 11:24 PM [Debug] ExType: JsonSerializationException
    [Oxide] 11:24 PM [Error] Failed to initialize plugin 'Kits v3.1.3' (Form
    ion: Input string was not in the correct format)
    [Oxide] 11:24 PM [Debug]   at System.UInt64.Parse (System.String s, Numb
    style, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.UInt64.Parse (System.String s, IFormatProvider provider) [0x
    n <filename unknown>:0
      at System.Convert.ToUInt64 (System.String value, IFormatProvider provi
    00000] in <filename unknown>:0
      at System.String.System.IConvertible.ToUInt64 (IFormatProvider provide
    000] in <filename unknown>:0
      at System.Convert.ToType (System.Object value, System.Type conversionT
    rmatProvider provider, Boolean try_target_to_type) [0x00000] in <filenam
    n>:0
      at System.Convert.ChangeType (System.Object value, System.Type convers
    IFormatProvider provider) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureTy
    onsoft.Json.JsonReader reader, System.Object value, System.Globalization
    Info culture, Newtonsoft.Json.Serialization.JsonContract contract, Syste
    [Oxide] 11:24 PM [Info] Unloaded plugin Kits v3.1.3 by Reneb
    [Oxide] 11:24 PM [Info] Previous version of plugin failed to load: Kits
     
  5. You have made mistakes in the config upload the one from your data folder so it can be checked and use notepad++ to edit the file normal notepad can put extra chars in there
     
  6. How would i make the kit names Color?
     
  7. Axy

    Axy

    I can't make the chat GUI work - the plugin fails to load when the setting is made. Any ideas?
     
  8. I get this when I change the GUI to Chat.
    Code:
    > oxide.reload Kits
    [Oxide] 2:16 AM [Info] Loaded plugin Kits v3.1.3 by Reneb
    [Oxide] 2:16 AM [Debug] ExType: JsonSerializationException
    [Oxide] 2:16 AM [Error] Failed to initialize plugin 'Kits v3.1.3' (FormatException: Input string was not in the correct format)
    [Oxide] 2:16 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
    [Oxide] 2:16 AM [Info] Unloaded plugin Kits v3.1.3 by Reneb
    [Oxide] 2:16 AM [Info] No previous version to rollback plugin: Kits
     
  9. This is the problem I am getting as I stated further up. Please fix this so we can use this awesome plugin on our servers!
     
  10. Kits is broken im alson getting this and when you get that if you try and Oxide.reload Kits the server crashes!
     
  11. Axy

    Axy

    I do not have this problem, running latest version of oxide with the latest server, as well as the latest kits plugin.
     
  12. So i made a vip group with vip permissions but now i have a guy that is vip after when i imported the vip+ he has both of the tags vip and vip+ also he can get vip kit and vip+ kit how do i fix this?

    Screenshot

    Code:
     },
      "vip": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "yellow",
        "Permission": "color_vip",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[VIP]",
        "TitleColor": "orange"
      },
      "vip+": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "yellow",
        "Permission": "color_vip",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[VIP+]",
        "TitleColor": "orange"
     
  13. (Please help) Hello I cant use GUI wneh write

    Code:
    {
      "NPC - GUI Kits": {
        "chat": {
          "description": "Welcome on this server, Here is a list of free kits that you can get <color=red>only once each</color>\n\n                      <color=green>Enjoy your stay</color>",
          "kits": [
            "home",
            "shotgun"
          ]
        }
      }
    }
    
    Error:

    Code:
    [Oxide] 8:46 PM [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
    
     
  14. use 0 (zero) instead of chat
     
  15. Wish the coder would update kits with the new permission if any coder can do it and post the fix. I pmed him but no answer
    [Warning] Permission 'vip' (by plugin Kits) is not prefixed with plugin name, should be 'kits.vip'
     
  16. you need to update your config, since you define how the permission for each kit is named...

    EDIT: for all other cases, my latest version:
     

    Attached Files:

    • Kits.cs
      File size:
      41.8 KB
      Views:
      40
  17. What about the json file in data folder can the old one be used still. I know the error above was coming from the json file in the data folder and I did fix that myself, but was hoping the coder would upload a fix or at least post what people should do or a rewrite of his plugin, but so far nothing I was using the other one for some time without problems will try yours see how it goes
     
    Last edited by a moderator: Jan 17, 2016
  18. OMG! Thank you so much for fixing the GUI! You are the best! <3
     
  19. Uh, I can't use any of the commands as an admin... I get the message "You do not have access to this command". Is there something I am missing that'll give me access?
     
  20. Put this in console ownerid STEAMID64 "admin" "reasonButYouDontNeedThis"