Nogrod submitted a new resource:
ItemConfig - Settings for items, blueprints, constructions...
Read more about this resource...
ItemConfig
Settings for items, blueprints, weapons, tools, etc.
Total Downloads: 5,605 - First Release: Feb 5, 2015 - Last Update: Nov 11, 2016
- 5/5, 22 likes
-
is there a way in the blue prints section to make it so it shows the name of the items of the recipe as well as the ID? takes a lot of time to go back and forward to see which item it is for the ID in the recipe when youre trying to edit it. thanks
-
this is a raw edition of the rust game items.
i guess in the absolute he could, but it would require changing a big part of his code i guess, going back and forth is the best way to keep this plugin totally clean -
hmmm im not sure i can vary the time vs worth on this one if i have to keep going back and forward, would just take forever to mod the recipes
-
then don't edit the recipes XD
-
i want too... its just painfully time consuming
-
Nogrod updated ItemConfig with a new update entry:
Blueprint ingredients with item name
-
I'm getting lots of errors when loading the config. It also doesn't seem to be (if it's actually working) changing the stack sizes. Specifically, I'm trying to change the stack size for wood in your inventory. I found the wood (514) area of the config and changed the value from 1000.0 to 10000.0, then did item.reload, and nothing seems to have changed.
Code:[Oxide] 6:17 PM [Info] Loaded plugin ItemConfig v1.0.1 by Nogrod [Oxide] 6:17 PM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token) [Oxide] 6:17 PM [Info] ItemConfig: Created new config [Oxide] 6:17 PM [Info] ItemConfig: Unknown: System.Single Value: 1000 [Oxide] 6:17 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] 6:17 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
Code:> item.reload [Oxide] 6:16 PM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token) [Oxide] 6:16 PM [Info] ItemConfig: No items in config [Oxide] 6:16 PM [Info] ItemConfig: No constructions in config [Oxide] 6:16 PM [Info] ItemConfig: Item config reloaded.
-
Looks like an outdated oxide...which version you are using?
-
Thanks for the update!
-
Every time I try to make change to the config so resources can stack it the config file resets. Also what follow the command item.reload?
Getting
Code:[Oxide] 11:40 PM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token) [Oxide] 11:40 PM [Info] ItemConfig: Created new config [Oxide] 11:40 PM [Info] ItemConfig: Unknown: System.Single Value: 1000 [Oxide] 11:40 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] 11:40 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
-
Hi!
Is this plugin the easiest way to change stack size? I am brand spankin new to Rust service moderation (as in yesterday I started). I have my kits up and running and now I am going to tackle the stack sizes. Is there a short walk through or maybe some tips on how to get that started? -
Load the plugging restart your server then go in your oxide/config folder find the file and edit it with notepad or what ever. You will see every item you can edit, in there you will see the stack size, change just the number to what ever you want the stack to max at. Make sure you read the warnings on the overview page.
-
Now can I use this cs file with Multiplaygameservers? Most of their stuff is .json. I don't see "ItemConfig" in their list of addons either which means I would upload it. Their folder structure is a little different than what I see on most forums.
-
Code:[Oxide] 10:39 AM [Info] Loaded plugin ItemConfig (v1.0.1) by Nogrod [Oxide] 10:39 AM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token) [Oxide] 10:39 AM [Info] ItemConfig: Created new config [Oxide] 10:39 AM [Info] ItemConfig: Unknown: System.Single Value: 1000 [Oxide] 10:39 AM [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] 10:39 AM [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
-
-
Ohh and when I reload the items using the "item.reload" command, I get the following:
Code:> item.reload [Oxide] 10:44 AM [Error] ItemConfig: Failed to load config file (is the config file corrupt?) (Unexpected token) [Oxide] 10:44 AM [Info] ItemConfig: No items in config [Oxide] 10:44 AM [Info] ItemConfig: No constructions in config [Oxide] 10:44 AM [Info] ItemConfig: Item config reloaded.
[DOUBLEPOST=1423238852][/DOUBLEPOST]Ok I just tested it some more and it's not working for me...
I updated my config file for stackable items to 10000 instead of the 1000 default, but it won't re-load it as you can see above.
Any help greatly appreciated.
Is this plugin working for anyone? What are you running on? Versions and stuff...
Running Oxide Version: 2.0.256, Rust Protocol: 1191 (should I upgrade to 2.0.258?)
Thanks,
-TheDoc -
I changed the json file to have an increased stack limit, but it's not taking effect into my server after I restarted it.
-
hey dude im using latest version of oxide and gettin this error when trying to load the plugin
Code:[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
Last edited by a moderator: Feb 6, 2015 -