Data file changes not being used on reload
I've made changes tot he data file / unloaded all the old files / reloaded my new data file then i reloaded my .json setup and last reloaded the .cs for the plugin.

Rcon shows it loads properly with no errors, but the prices and items do nt change.
I even tried a fresh install of the plugin with no changes to settings and none of the vendings change.

I am on linux based server hosted if it makes any difference.
Plugins have to be unloaded for oxide/data to be edited, otherwise they will save from memory and overwrite your changes.
when i delete the .cs from oxide/plugins i get a rcon message saying the plugin has unloaded.

when i reload it all it reloads looking correct.

am i missing a step to unload it further?
Does the file still have the changes you made after the plugin is loaded again?
yes its retaining the old data somehow even though im deleting the data file for it (only see 1 data file for it).
I replace and overwirte that old data file with a edited one and reload the .cs

logon and old vending data is still there somehow
You keep saying "reload", not "unload"; which would overwrite the data with what is already cached in memory. Are you unloading first BEFORE overwriting the data or just overwriting and reloading?
i delete All files to plugin, data/json/cfg wheni delete the .cs i see in rcon it says the plugin has Unloaded

After that is all deleted i then do these 3 steps:

1. i load the data file back on first the one i configged with new items into oxide/data.
2. i then load the .json file back on into oxide/cfg
3. last i load the .cs file onto server into oxide/plugins
And the oxide/data file for the plugin isn't reset after loading the plugin? If the file is physically changing back to the original, that would indicate it isn't valid JSON or didn't match the format the plugin expected it to be.
I have tried many times and several ways from full delete of the plugin and only drag back on the main .cs fresh.

What im getting i see is the default settings overwrite my settings.
I am loading the .cs file last and when i do it puts a new data file each time seems like back to the plugins default.

Merged post

Ended up making my changes to data file, loading it onto server then reboot server.
Upon reboot the changes are made, it seems for me each time i would load my data file onto server and then load the .cs for plugin it would just overwrite my data.

Even if i completely removed the plugin,.json and data files.
I would load the data file first, then the .cs and it would overwrite.
Did you figuure out then how to make it work? I am still struggling with this issue
5c5ce186e573f.jpg SlyStone
I have tried many times and several ways from full delete of the plugin and only drag back on the main .cs fresh.

What im getting i see is the default settings overwrite my settings.
I am loading the .cs file last and when i do it puts a new data file each time seems like back to the plugins default.

Merged post

Ended up making my changes to data file, loading it onto server then reboot server.
Upon reboot the changes are made, it seems for me each time i would load my data file onto server and then load the .cs for plugin it would just overwrite my data.

Even if i completely removed the plugin,.json and data files.
I would load the data file first, then the .cs and it would overwrite.

The way you are supposed to do it is to remove all your data/config/lang files for the plugin then remove the plugin,
Then you reinstall the plugin and when it is confirmed to be working you "unload" the plugin (not "uninstall")  then you change what you want in the data file and config and when the changes have been saved you "reload" the plugin, You dont reinstall the plugin (.cs file)again  or it will overwrite everything as it creates the lang/data/and config files with default information when you first install it (or replace a removed installation)

pretend i am an idiot, how do i unload the plugin
Curben
pretend i am an idiot, how do i unload the plugin

in rcon type   oxide.unload CompoundOptions
and you will get a confirmation that is unloaded, when you have finished with data file edit you then type
oxide.reload CompoundOptions

cool

server running or no?

Curben

cool

server running or no?

Yes the server can be running