ItemConfig

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

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

5/5, 22 likes
  1. I use GameServers and LOVE them so far! Super quick Oxide updates, quick FTP, simple interface.

    -TheDoc
     
  2. Wulf

    Wulf Community Admin

    Let's take the GSP discussion to another thread please. This thread is not for that.
     
  3. moreover, when I reset the server, the JSON file goes aback to its original state.
     
  4. i did the free server from muliplay for a awhile and the fact they only allow certain plugins really bothered me. dont go with nitrous either, they have horrible customer service. im using gameservers.com, i have been pretty happy with it. if you go with them make sure they have a server near you first
    [DOUBLEPOST=1423243542][/DOUBLEPOST]
    sorry didnt see your post
    [DOUBLEPOST=1423250339][/DOUBLEPOST]are we able to add blueprints to things that dont have them? like the empty can of tuna or the rad pills? and not everything has a
    Code:
    "stackable": 100.0,
    will it work with me just adding it in or will it break?
     
  5. Nogrod updated ItemConfig with a new update entry:

    Improved config file handling


    [DOUBLEPOST=1423256355][/DOUBLEPOST]
    "stackable" defaults to 1 if it's not present, so if you add it, it should work.
    should be possible to add blueprints but i think the client wouldn't notice them, test it ;) it shouldn't break at all just have no effect
     
  6. Thanks for the update man, but it's still broken!

    I removed it, and deleted the config file and when I load it I still get the following:
    Code:
    [Oxide] 4:09 PM [Info] Loaded plugin ItemConfig (v1.0.2) by Nogrod
    [Oxide] 4:09 PM [Info] ItemConfig: Incorrect config version() move to .old
    [Oxide] 4:09 PM [Info] ItemConfig: Unexpected token
    [Oxide] 4:09 PM [Info] ItemConfig: Created new config
    [Oxide] 4:09 PM [Info] ItemConfig: Unknown: System.Single Value: 1000
    [Oxide] 4:09 PM [Info] ItemConfig: Unknown: System.Collections.Generic.List`1[[ItemAmount, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] Value: System.Collections.Generic.List`1[ItemAmount]
    [Oxide] 4:09 PM [Error] ItemConfig: NullReferenceException while calling OnServerInitialized: Object reference not set to an instance of an object
      at Oxide.Plugins.ItemConfig.UpdateConstructions () [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
    [Oxide] 4:09 PM [Info] ItemConfig: Unexpected token
    Please HELP!
     
    Last edited by a moderator: Feb 7, 2015
  7. Which oxide build do you use?
     
  8. Running Oxide Version: 2.0.256, Rust Protocol: 1191 (should I upgrade to 2.0.258?)

    Thanks,
    -TheDoc
     
  9. Hi i use 2.0.258 rust and i have this error
    Code:
    [Oxide] 12:53 AM [Info] Unloaded plugin ItemConfig v1.0.2 by Nogrod
    [Oxide] 12:53 AM [Info] Loaded plugin ItemConfig v1.0.2 by Nogrod
    [Oxide] 12:53 AM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token)
    [Oxide] 12:53 AM [Info] ItemConfig: Unexpected token
     
    Last edited by a moderator: Feb 7, 2015
  10. Can someone please help me with the stack sizes? No matter how I configure if, the stack sizes don't work
     
  11. Yes I just upgraded to the latest

    Oxide Version: 2.0.258, Rust Protocol: 1191

    On Load
    Code:
    [Oxide] 7:56 PM [Info] Unloaded plugin ItemConfig v1.0.2 by Nogrod
    [Oxide] 7:56 PM [Info] Loaded plugin ItemConfig v1.0.2 by Nogrod
    [Oxide] 7:56 PM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token)
    [Oxide] 7:56 PM [Info] ItemConfig: Unexpected token
    Trying to reload:
    Code:
    > item.reload
    [Oxide] 7:55 PM [Info] ItemConfig: Unexpected token
    And still no go!

    Anyone got this working?
     
  12. Error when loading plugin:

    Code:
    [Oxide] 5:50 PM [Info] ItemConfig plugin was compiled successfully in 246ms
    [Oxide] 5:50 PM [Info] Loaded plugin ItemConfig v1.0.2 by Nogrod
    [Oxide] 5:50 PM [Info] ItemConfig: Incorrect config version() move to .old
    [Oxide] 5:50 PM [Info] ItemConfig: Unexpected token
    [Oxide] 5:50 PM [Info] ItemConfig: Created new config
    [Oxide] 5:50 PM [Info] ItemConfig: Unknown: System.Single Value: 1000
    [Oxide] 5:50 PM [Info] ItemConfig: Unknown: System.Collections.Generic.List`1[[ItemAmount, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] Value: System.Collections.Generic.List`1[ItemAmount]
    [Oxide] 5:50 PM [Error] ItemConfig: NullReferenceException while calling OnServerInitialized: Object reference not set to an instance of an object
      at Oxide.Plugins.ItemConfig.UpdateConstructions () [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
    error when using item.reload command:
    Code:
    > item.reload wood 5000
    [Oxide] 5:52 PM [Info] ItemConfig: Unexpected token
    Any idea what im doing wrong and how could I fix this? Ive seen the plugin working on other servers.

    Oxide Version: 2.0.258
     
    Last edited by a moderator: Feb 7, 2015
  13. I am getting the same "Unexpected token" response as well.

    I am running Oxide Version Oxide 2 Build 2.0.258
     
  14. for me, it doesnt work as well :(
     
  15. thx for the comment, unfortunately, I do not bring it to work


    Edit: or the link is broken
     
    Last edited by a moderator: Feb 7, 2015
  16. Just find the latest dnapshots there is only 1 link for rust in the snapchotsnapchot
     
  17. oxide build 260 or higher is needed for all with "Unexpected token" error
     
  18. works perfectly!!!!!
    Thanks alot :)
     
  19. can anyone link a compiled version of b260?