Kits

Allow players to redeem sets of items

Total Downloads: 3,383 - First Release: May 15, 2015 - Last Update: May 18, 2015

5/5, 19 likes
  1. Wulf

    Wulf Community Admin

    All plugins go under saves/oxide/plugins.
     
  2. /saves/oxide/plugins
     
  3. for some reason no data or config is being created for me any suggestions?
     
  4. Check your logs for errors, maybe something is going wrong when the plugin is loading that's causing the config/datafile to not be created
     
  5. I had this working but since i added latest plugin cant get it working
    i have items in my inventory and use add command it says 7 items been added to said kit
    but when you try and redeem kit says it doesnt exist.
     
  6. Can you check if it appears in the data file after creating (you have to wait a while for the file to save though, only saves it each time the plugin is unloaded/reloaded, the server is shutdown or the server saves)
     
  7. My friend told me he had this problem too . And I just type /kit list to view the list and he had somehow ended up with it as leather-permission
    And he thought /kit leather wasn't working but he had needed to type /kit leather-permission since he had no spaces when he made it. Might not be what you have done but just thought i would throw it out there just in case :)
     
  8. Hey i get this error :S and no config file is created.
    5:53 PM [Error] Error while compiling Kits.cs(780,24): error CS0103: The name `permission' does not exist in the current context
     
  9. Wulf

    Wulf Community Admin

    Update your Oxide build.
     
  10. when i type /kit list there is no kit to view strange.
     
  11. I have this issue to. This is what i write to create a kit.

    /kit add "starter" "/kit starter" (this works and i can claim a starter kit, but as many as i want. i want to set max on 2)
    Then this to modify it
    /kit modify starter uses 1 (when i type this i get error: This kit doesn't exist)

    Also, when i type /kit list i get error and it says: This kit doesn't exist.

    Sooo confused
     
  12. Please check your Oxide log for errors, perhaps your Kits.json (from the data folder) as well.
     
  13. all the kits.json has is null
    Code:
        Line 8993: 8:54 PM [Error] Failed to call hook 'KitCommand' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
        Line 9000: 8:54 PM [Error] Failed to call hook 'KitCommand' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
        Line 9007: 8:55 PM [Error] Failed to call hook 'KitCommand' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
        Line 9014: 8:55 PM [Error] Failed to call hook 'KitCommand' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
        Line 9024: 9:06 PM [Error] Failed to call hook 'KitCommand' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
     
    Last edited by a moderator: May 23, 2015
  14. Looks like the datafile got corrupted then, try deleting it and reloading the plugin. It might require a shutdown, removing the file and then starting up the server again if the just removing the file and reloading the plugin isn't working.
     
  15. Tried that didnt work
     
  16. Are you getting any errors then when loading the plugin? Because the datafile should never be null or empty, it should at least contain
    Code:
    {}
     
  17. no dont seem to, but will check tomorrow .....but thanks m8 for your help on this
     
  18. I deleted the kits file and reinstalled it, then restarted the server. I even loaded the file through console, but i can't get the plugin to work at all now. What am i doing wrong?
     
  19. Check the config & data folder for kits.json and check if they hold any values. Another thing you'd want to check is your Oxide log for any errors that the server has encountered.
     
  20. kits_list.json holdsthis "{}"
    kits_Data.json holds this:

    {
    "76561198001609246": {},
    "76561198229898844": {}
    }

    EDIT: Can't really find anything in oxide logs that mention kits plugin


    EDIT: It works now, however, still same issue as the other post i made. This kit doesn't exist.
     
    Last edited by a moderator: May 23, 2015