Since the last update, Oxide is no longer storing data from plugins. For example zLevels or Economics.
I've tried everything.
Finally, the server re-set up. Just installed the current Oxide build.
If I now upload a plugin oxide also create the necessary file in the data folder. But he does not save anything after that.
Only when I reload the plugin the current values are written into the data.
Typically, changes to oxides are immediately written to a file, such as groups or permissions.
The problem exists since the last update.
In addition, I have searched all log files, but could not find any unusual errors.
Maybe someone here has an idea what I could make.
Apparently, I am also the only one with this problem.
PS: Translated with Google
Fixed Plugin data not saving in OnServerSave
Discussion in 'Rust Discussion' started by ScHigGn, Mar 7, 2017.
-
Wulf Community Admin
Nothing has changed in probably a year or more with how data and configs are stored and read. What you are describing sounds like filesystem permission issues with your server, which I'm assuming is Linux.
-
It was tried with Linux and with Windows. Always the same problem since Thursday.
-
Wulf Community Admin
-
Server.Save works for me but ya my interval save isnt working, i mean it works to save the server itself, but not when it comes to saving plugin data for some reason.
-
-
Wulf Community Admin
-
hmm... when i type server.save in console, all PluginData ist written to each DataFile in Data Folder.
But on autosave Intervall nothing happend in Oxide Data Folder... -
Wulf Community Admin
-
For Exampel:
Fresh new Installed Server
Fresh new last Oxide Build
Only ZLevelsRemastered Plugin
Code:void OnServerSave() { if (initialized) Interface.Oxide.DataFileSystem.WriteObject(this.Title, playerPrefs); }
Chopping again Some Trees -> Level UP to Level 3 -> waiting for AutoSave -> Nothing Happens...
How it could be ?
No Errors in Any LogFiles.
Same with Economics
Code:private void OnServerSave() { SaveEconomics(); }
-
Wulf Community Admin