Config file reset when realoading pluginSolved

I am trying to use custom kits [Rust Kits] for my guards. I have setup a kit called "guard".

Any time I change any difficulty level of the config file to:

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": [guard],

and then "oxide.reload GuardedCrate" on my console... The GuardedCrate.json file is wiped and reset back to default.

The config file is not reset if I make changes to agro distance, for example.

Any help is much appreicated.
Thank you

when using kits you have to include the "" in the kit name
Here is my config (and as this is a DATA config you must edit it with the plugin unloaded)

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["stripe"],
"NpcName (custom name)": "Easy crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["crate"],
"NpcName (custom name)": "Medium Crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["cratespecial"],
"NpcName (custom name)": "Hard Crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["crateveryhard"],
"NpcName (custom name)": "Elite Guard",

YKoH8zrqtMDXVUf.jpg pookins

when using kits you have to include the "" in the kit name
Here is my config (and as this is a DATA config you must edit it with the plugin unloaded)

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["stripe"],
"NpcName (custom name)": "Easy crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["crate"],
"NpcName (custom name)": "Medium Crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["cratespecial"],
"NpcName (custom name)": "Hard Crate Guard",

"UseKits (use custom kits plugin)": true,
"Kits (custom kits)": ["crateveryhard"],
"NpcName (custom name)": "Elite Guard",

Worked perfectly once I included the quotation marks ["guard"] around my Kit name. 

 

Thank you so much pookins!

5C0Xw6u37EN0uL5.jpg ReddSoloCup

Worked perfectly once I included the quotation marks ["guard"] around my Kit name. 

 

Thank you so much pookins!

Thats good to hear, can you change the status to "solved" , saves clicking back on it  :)

Locked automatically