Plugin merges config files on reload

I've got a custom config file, but every time I reload the plugin, it gets merged with the default one.

This is the file I am trying to use:

After Reload:

{ "ActiveButtonColor": "#00FFFFFF", "BackgroundColor": "#000000FF", "BackgroundImage": { "Enabled": true, "Position": { "MaxX": 1.0, "MaxY": 1.0, "MinX": 0.0, "MinY": 0.0 }, "TransparencyInPercent": 100, "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg" }, "CloseButtonColor": "#7F7F7FFF", "InactiveButtonColor": "#7F7F7FFF", "NextPageButtonColor": "#7F7F7FFF", "Position": { "MaxX": 0.9, "MaxY": 0.9, "MinX": 0.15, "MinY": 0.2 }, "PrevPageButtonColor": "#7F7F7FFF", "settings": { "Tabs": [ { "ButtonText": "First Tab", "HeaderText": "First Tab", "Pages": [ { "TextLines": [ "This is first tab, first page.", "Add some text here by adding more lines.", "You should replace all default text lines with whatever you feel up to", "type  /info  to open this window", "Press next page to check second page.", "You may add more pages in config file." ], "ImageSettings": [ { "Position": { "MinX": 0.0, "MaxX": 0.5, "MinY": 0.0, "MaxY": 0.5 }, "Url": "http://th04.deviantart.net/fs70/PRE/f/2012/223/4/4/rust_logo_by_furrypigdog-d5aqi3r.png", "TransparencyInPercent": 100 }, { "Position": { "MinX": 0.5, "MaxX": 1.0, "MinY": 0.0, "MaxY": 0.5 }, "Url": "http://files.enjin.com/176331/IMGS/LOGO_RUST1.fw.png", "TransparencyInPercent": 100 }, { "Position": { "MinX": 0.0, "MaxX": 0.5, "MinY": 0.5, "MaxY": 1.0 }, "Url": "http://files.enjin.com/176331/IMGS/LOGO_RUST1.fw.png", "TransparencyInPercent": 100 }, { "Position": { "MinX": 0.5, "MaxX": 1.0, "MinY": 0.5, "MaxY": 1.0 }, "Url": "http://th04.deviantart.net/fs70/PRE/f/2012/223/4/4/rust_logo_by_furrypigdog-d5aqi3r.png", "TransparencyInPercent": 100 } ] }, { "TextLines": [ "This is first tab, second page", "Add some text here by adding more lines.", "You should replace all default text lines with whatever you feel up to", "type  /info  to open this window", "Press next page to check third page.", "Press prev page to go back to first page.", "You may add more pages in config file." ], "ImageSettings": [] }, { "TextLines": [ "This is first tab, third page", "Add some text here by adding more lines.", "You should replace all default text lines with whatever you feel up to", "type  /info  to open this window", "Press prev page to go back to second page." ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" }, { "ButtonText": "Second Tab", "HeaderText": "Second Tab", "Pages": [ { "TextLines": [ "This is second tab, first page.", "Add some text here by adding more lines.", "You should replace all default text lines with whatever you feel up to", "type  /info  to open this window", "You may add more pages in config file." ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" }, { "ButtonText": "Third Tab", "HeaderText": "Third Tab", "Pages": [ { "TextLines": [ "This is third tab, first page.", "Add some text here by adding more lines.", "You should replace all default text lines with whatever you feel up to", "type  /info  to open this window", "You may add more pages in config file." ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" } ], "ShowInfoOnPlayerInit": true, "ShowInfoOnlyOncePerRuntime": true, "TabToOpenByDefault": 0, "Position": { "MinX": 0.15, "MaxX": 0.9, "MinY": 0.2, "MaxY": 0.9 }, "BackgroundImage": { "Enabled": false, "Position": { "MinX": 0.0, "MaxX": 1.0, "MinY": 0.0, "MaxY": 1.0 }, "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg", "TransparencyInPercent": 100 }, "ActiveButtonColor": "#0255255255", "InactiveButtonColor": "#127127127255", "CloseButtonColor": "#127127127255", "NextPageButtonColor": "#127127127255", "PrevPageButtonColor": "#127127127255", "BackgroundColor": "#000255", "HelpButton": { "IsEnabled": false, "Text": "Help", "Position": { "MinX": 0.0, "MaxX": 0.05, "MinY": 0.1, "MaxY": 0.14 }, "Color": "#127127127255", "FontSize": 18 }, "UpgradedConfig": false }, "ShowInfoOnPlayerInit": true, "Tabs": [ { "ButtonText": "Information", "HeaderAnchor": 0, "HeaderFontSize": 32, "HeaderText": "Welcome to the Ferric Oxide Rust Server", "OxideGroup": "", "Pages": [ { "ImageSettings": [], "TextLines": [ "We have active Admins on most of the time. Reach out to us if needed", "-", "This is a modified Rust server with 3x gather rate, and 3x stacks on resources.", "We are also running no decay on bases, as we know everyone cannot be online 24/7", "-", "Join us in Discord here: link", "If you want to view this window again, type /info" ] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "TextAnchor": 3, "TextFontSize": 16 }, { "ButtonText": "Commands", "HeaderAnchor": 0, "HeaderFontSize": 32, "HeaderText": "Server Commands", "OxideGroup": "", "Pages": [ { "ImageSettings": [], "TextLines": [ "/gather - Show current gather settings", "/info - Show this window" ] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "TextAnchor": 3, "TextFontSize": 16 } ], "TabToOpenByDefault": 0}

 

Original

{ "Tabs": [ { "ButtonText": "Information", "HeaderText": "Welcome to the Ferric Oxide Rust Server", "Pages": [ { "TextLines": [ "We have active Admins on most of the time. Reach out to us if needed", "-", "This is a modified Rust server with 3x gather rate, and 3x stacks on resources.", "We are also running no decay on bases, as we know everyone cannot be online 24/7", "-", "Join us in Discord here: link", "If you want to view this window again, type /info" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" }, { "ButtonText": "Commands", "HeaderText": "Server Commands", "Pages": [ { "TextLines": [ "/gather - Show current gather settings", "/info - Show this window" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" } ], "ShowInfoOnPlayerInit": true, "TabToOpenByDefault": 0, "Position": { "MinX": 0.15, "MaxX": 0.9, "MinY": 0.2, "MaxY": 0.9 }, "BackgroundImage": { "Enabled": true, "Position": { "MinX": 0.0, "MaxX": 1.0, "MinY": 0.0, "MaxY": 1.0 }, "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg", "TransparencyInPercent": 100 }, "ActiveButtonColor": "#00FFFFFF", "InactiveButtonColor": "#7F7F7FFF", "CloseButtonColor": "#7F7F7FFF", "NextPageButtonColor": "#7F7F7FFF", "PrevPageButtonColor": "#7F7F7FFF", "BackgroundColor": "#000000FF"}
that is what i am trying to do aswell but keeps loading defalt ? 

The documentation is wrong

This should get you going

{ "settings": { "Tabs": [ { "ButtonText": "Welcome", "HeaderText": "Welcome", "Pages": [ { "TextLines": [ "Line One", "Line Two", "Line Three", "Line Four" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" }, { "ButtonText": "Commands", "HeaderText": "Server Commands", "Pages": [ { "TextLines": [ "", "/gather - Show current gather settings", "/info - Show this window", "/report - Report something to Admins" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" } ], "ShowInfoOnPlayerInit": true, "ShowInfoOnlyOncePerRuntime": true, "TabToOpenByDefault": 0, "Position": { "MinX": 0.15, "MaxX": 0.9, "MinY": 0.2, "MaxY": 0.9 }, "BackgroundImage": { "Enabled": false, "Position": { "MinX": 0.0, "MaxX": 1.0, "MinY": 0.0, "MaxY": 1.0 }, "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg", "TransparencyInPercent": 100 }, "ActiveButtonColor": "#0255255255", "InactiveButtonColor": "#127127127255", "CloseButtonColor": "#127127127255", "NextPageButtonColor": "#127127127255", "PrevPageButtonColor": "#127127127255", "BackgroundColor": "#000255", "HelpButton": { "IsEnabled": false, "Text": "Help", "Position": { "MinX": 0.0, "MaxX": 0.05, "MinY": 0.1, "MaxY": 0.14 }, "Color": "#127127127255", "FontSize": 18 }, "UpgradedConfig": false }}
Thank you i will give this a go
I tried using the config file that you posted and when I reload the plugin, it deletes all of what I had.
My serverinfo isn't having any dramas? I ran your config though JSONLint and it came back valid, so ....... ?

I am also having this issue. Changing anything in the config defaults back to the default config.
everything i enter wipes and goes to default also
I altered my ServerInfo config last night to add some information and it worked fine? I think you guys MUST be having formatting issues.

Merged post

This is mine, try it out. (Edited some information out, but have tested it working)

https://pastebin.com/i0adL4pU
In response to LoneWolfAU ():
I altered my ServerInfo config last night to add some information and it worked fine? I think you gu...
that seems to work... thanks, not sure why the other constantly reverts to original template.
Because you had a formatting error, that's what they do when you mess something up :)
In response to Evostance ():
I've got a custom config file, but every time I reload the plugin, it gets merged with the default o...
{ "settings": { "Tabs": [ { "ButtonText": "Information", "HeaderText": "Welcome to the Ferric Oxide Rust Server", "Pages": [ { "TextLines": [ "We have active Admins on most of the time. Reach out to us if needed", "-", "This is a modified Rust server with 3x gather rate, and 3x stacks on resources.", "We are also running no decay on bases, as we know everyone cannot be online 24/7", "-", "Join us in Discord here: link", "If you want to view this window again, type /info" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" }, { "ButtonText": "Commands", "HeaderText": "Server Commands", "Pages": [ { "TextLines": [ "/gather - Show current gather settings", "/info - Show this window" ], "ImageSettings": [] } ], "TabButtonAnchor": 4, "TabButtonFontSize": 16, "HeaderAnchor": 0, "HeaderFontSize": 32, "TextFontSize": 16, "TextAnchor": 3, "OxideGroup": "" } ], "ShowInfoOnPlayerInit": true, "TabToOpenByDefault": 0, "Position": { "MinX": 0.15, "MaxX": 0.9, "MinY": 0.2, "MaxY": 0.9 }, "BackgroundImage": { "Enabled": true, "Position": { "MinX": 0.0, "MaxX": 1.0, "MinY": 0.0, "MaxY": 1.0 }, "Url": "http://7-themes.com/data_images/out/35/6889756-black-backgrounds.jpg", "TransparencyInPercent": 100 }, "ActiveButtonColor": "#00FFFFFF", "InactiveButtonColor": "#7F7F7FFF", "CloseButtonColor": "#7F7F7FFF", "NextPageButtonColor": "#7F7F7FFF", "PrevPageButtonColor": "#7F7F7FFF", "BackgroundColor": "#000000FF"}

Try this one!