ItemConfig

Settings for items, blueprints, weapons, tools, etc.

Total Downloads: 5,649 - First Release: Feb 5, 2015 - Last Update: Nov 11, 2016

5/5, 22 likes
  1. Not working after today's rust update.

    the config file has only this:

    Code:
    {
      "Blueprints": [],
      "Items": [],
      "Version": 1261
    }
     
  2. Same for me......
    [DOUBLEPOST=1431646638][/DOUBLEPOST]Pleeeease uuuuuup... Don't want raid pickaxe back ! :(
     
  3. Hoping for a quick fix, the banned items such as wooden barricades are going to be a problem with 90 people on right now, and nothing stacks right without this.
     
  4. This should fix it.
     

    Attached Files:

  5. When I used your file just now.
    Code:
    > oxide.reload ItemConfig
    [Oxide] 7:13 PM [Info] Unloaded plugin ItemConfig v1.0.15 by Nogrod
    [Oxide] 7:13 PM [Info] Loaded plugin ItemConfig v1.0.15 by Nogrod
    [Oxide] 7:13 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'ItemConfig' (IndexOutOfRangeException: Array index is out of range.)
    [Oxide] 7:13 PM [Debug]   at Oxide.Plugins.ItemConfig.UpdateItem (.ItemDefinition definition, JSON.Object item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemConfig.UpdateItems () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemConfig.OnServerInitialized () [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
     
  6. Dunno how you did that but its working back, thanks !
     
  7. How did you get it to work, I dropped it in, replaced the old one. Then ran the oxide.reload for it and it broke.
     
  8. You deleted all config files and plugin and upload new?
     
  9. That's what I ended up doing, it's working now :)
     
  10. Nogrod updated ItemConfig with a new update entry:

    Rust Update


    [DOUBLEPOST=1431651975][/DOUBLEPOST]at the new stuff i'll have a look tomorrow...but it should work for now
     
  11. How can i disable item from drop list?
     
  12. Nogrod,
    Is it possible to add resistance tool? Because people cry on my server because i didn't upgrade the gather.
    I want to do a better salavaged axe, hit at same speed than hatchet, with dmg reduced on buildings, bug axe salvaged is really fragile...
     
  13. Any idea about this error I'm getting with a fresh install of the Plugin.
    Code:
    Creating invalid/missing item!
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)
    NullReferenceException: Object reference not set to an instance of an object
    at ItemModCookable+<OnItemCreated>c__AnonStorey36.<>m__7E (.Item item, Single delta) [0x00000] in <filename unknown>:0
    at Item.OnCycle (Single delta) [0x00000] in <filename unknown>:0
    at ItemContainer.OnCycle (Single delta) [0x00000] in <filename unknown>:0
    at PlayerInventory.ServerUpdate (Single delta) [0x00000] in <filename unknown>:0
    at BasePlayer.InventoryUpdate () [0x00000] in <filename unknown>:0
    (Filename: Line: -1)
    Creating invalid/missing item!
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)
    NullReferenceException: Object reference not set to an instance of an object
    at ItemModCookable+<OnItemCreated>c__AnonStorey36.<>m__7E (.Item item, Single delta) [0x00000] in <filename unknown>:0
    at Item.OnCycle (Single delta) [0x00000] in <filename unknown>:0
    at ItemContainer.OnCycle (Single delta) [0x00000] in <filename unknown>:0
    at PlayerInventory.ServerUpdate (Single delta) [0x00000] in <filename unknown>:0
    at BasePlayer.InventoryUpdate () [0x00000] in <filename unknown>:0
    (Filename: Line: -1)
     
    Last edited by a moderator: May 21, 2015
  14. Hi Nogrod!

    Do you think you could add "Attire" (clothing) data? like armour amount, what kind of wearable (head,leg, ect.)

    Thank you!

    I've looked at ItemModWearable but I don't understand much.. :(
     
  15. Nogrod updated ItemConfig with a new update entry:

    ItemModWearable

     
  16. what are you changing in the config file to stop it ? I mean the raid with pickaxe.
     
    Last edited by a moderator: May 21, 2015
  17. I did it, but i ask Die wilde Betty to do a uptade for resistance tool but, never answerd...

    Do it and i will reduce damage on build with pickaxe, don't do it when server is running, stop it, modify json file, and start server.
    Code:
    "displayDescription": {
            "english": "Pick Axe",
            "token": "item_desc_pickaxe",
            "translated": "Pick Axe"
          },
          "displayName": {
            "english": "Pick Axe",
            "token": "item_name_pickaxe",
            "translated": "Pick Axe"
          },
          "itemid": -578028723.0,
          "modules": [
            {
              "attackRadius": 0.3,
              "damageTypes": [
                {
                  "amount": 0.1,
                  "type": "Stab"
                },
                {
                  "amount": 8.0,
                  "type": "Slash"
                }
              ],
              "isAutomatic": true,
              "maxDistance": 1.25,
              "repeatDelay": 1.5,
              "type": "ItemModEntityBaseMelee"
            }
          ],
          "rarity": "Rare",
          "shortname": "pickaxe",
          "stackable": 1.0
        },
        {
          "category": "Tool",
          "condition": {
            "enabled": true,
            "max": 100.0,
            "repairable": false
          },
     
    Last edited by a moderator: May 21, 2015
  18. thx
    [DOUBLEPOST=1432243052][/DOUBLEPOST]after last update
    Code:
    2:19 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'ItemConfig' (NullReferenceException: Object reference not set to an instance of an object)
    2:19 PM [Debug]   at JSON.Object.GetString (System.String key, System.String strDEFAULT) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemConfig.UpdateItem (.ItemDefinition definition, JSON.Object item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemConfig.UpdateItems () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemConfig.OnServerInitialized () [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
    2:19 PM [Warning] CallHook 'OnServerInitialized' on plugin 'ItemConfig' took: 6470ms
     
    Last edited by a moderator: May 21, 2015
  19. Anyone on here have a hotfix for todays update?
     
  20. Doesn't works...