ConstructionConfig

Set health, cost and protection of constructions

Total Downloads: 1,994 - First Release: Mar 27, 2015 - Last Update: Apr 4, 2016

4.91667/5, 12 likes
  1. Hi~I changed health of my foundation with the plugin to 1,000,000. But 10 hours later the health reduce to about 9000,000. Does anyone knows why?
     
  2. @Nogrod Feature Request. An option to turn off protocol checks. Personally I couldn't give a damn if the protocol has changed and more items have been added to the list. All I'm interested in is that the foundation parameters that I've changed don't get reset every Thursday or whenever the Rust devs decide to do an update like they did this Sunday just gone. (I've just not long ago realised I now need to go update the config AGAIN.)

    Or. If anyone knows of a simpler plugin, please let me know too.
     
  3. I'm very sure he will not remove that check, because this check protects you from any unwanted results in case of Rust changes damage-types for any types of construction. Such changes combined with an older config can result in very bad situations and very unhappy players.
    I made myself exact this experience in the past, where arrow damage-types had changed, and having the older config did fukk up my whole server.
    Trust me, you dont wanna have this ;)
     
  4. Okay. Thank you Mr Fujikura, I will take your good word for it.
     
  5. Hey, I wanted to ask - in the protection values, for, say, a Metal Door - is this the multiple of the damage that is being subtracted from the total damage, or is it the multiple being applied to the attack? I'm trying to make metal doors take 1/4 more damage from explosions, and I'm not exactly having any luck at the moment :S
     
  6. Change the version number at the bottom of ConstructionConfig.json.old to match the new one. Delete the new one and rename the .old back to just .json, reload plugin.
     
  7. Thank you OuTSMoKE, I should have come back here and said I'd started using WinMerge on the Windows dedi as someone else suggested. It only take a few seconds to compare the files and copy the old edited bits across and has the advantage that it lets you pick up all the new stuff too.
     
  8. Please I need help. I change amount of "metal.refined" (50 to 250) nedded to change foundation to armored foundation, but did not change,
    continued 50, anione can help me? Thx. I already change in config file and reup to server and reload but no modified.
     
  9. i have fresh installed this plugin and have error:
    Code:
    Failed to call hook 'OnServerInitialized' on plugin 'ConstructionConfig v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.ConstructionConfig.CreateDefaultConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ConstructionConfig.CheckConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ConstructionConfig.OnTerrainInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ConstructionConfig.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ConstructionConfig.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Apr 30, 2018
  10. same. plz fix version
     
  11. Please fix file!!
     
  12. Please fix
     
  13. It doesnt bring up the stuff to change the heath can i get help on the jason file or the cs file
     
  14. Code:
    Ignored unnecessary '// Reference: Newtonsoft.Json' in plugin 'ConstructionConfig'
    ConstructionConfig was compiled successfully in 2332ms
    Unloaded plugin ConstructionConfig v1.0.8 by Nogrod
    Failed to call hook 'OnServerInitialized' on plugin 'ConstructionConfig v1.0.8' (ArgumentNullException: Argument cannot be null.
    Parameter name: key)
      at System.Collections.Generic.Dictionary`2[System.String,System.Object].ContainsKey (System.String key) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.ConstructionConfig.UpdateConstructions () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.ConstructionConfig.OnTerrainInitialized () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.ConstructionConfig.OnServerInitialized () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.ConstructionConfig.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Calling 'OnServerInitialized' on 'ConstructionConfig v1.0.8' took 333ms
    Loaded plugin ConstructionConfig v1.0.8 by Nogrod
    Same problem here. Really like this plugin.
     
  15. no working no more
    Failed to call hook 'OnServerInitialized' on plugin 'ConstructionConfig v1.0.8' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ConstructionConfig.CreateDefaultConfig () [0x000b9] in <15ad4ace37cb4d7ea5912248680f535f>:0 at Oxide.Plugins.ConstructionConfig.CheckConfig () [0x000cc] in <15ad4ace37cb4d7ea5912248680f535f>:0 at Oxide.Plugins.ConstructionConfig.OnTerrainInitialized () [0x0000c] in <15ad4ace37cb4d7ea5912248680f535f>:0 at Oxide.Plugins.ConstructionConfig.OnServerInitialized () [0x0000b] in <15ad4ace37cb4d7ea5912248680f535f>:0 at Oxide.Plugins.ConstructionConfig.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ca] in <15ad4ace37cb4d7ea5912248680f535f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
     
  16. So seems like some value or entity from config breaks plugin load. Managed to get rid of that. Plugin loaded with no errors. But can't change foundations health. Tried to run all the commands, restarted server, nothing. Can someone help please?