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"}