Plugin would wipe after server restarts?Not An Issue

Hello guys, I have a question before installing this plugin. So we have daily server restarts scheduled just to refresh the server's blood. As I good understand, this plugin will perform a whole wipe after each server restart? That would be real bad in our case, as players would "kill me". Haha. 

Thanks a lot,
Phoenix

This plugin wipes the configured data files of other plugins when the server generates a "new" map save, which is only the case when the map does not already have a save, so this plugin will do nothing for normal restarts.

Many plugins such as Backpacks already have a feature to clear data files on map wipe and use the same hooks as this plugin to do so, yet some server owners opt to use this plugin instead since it allows centralized configuration for all plugin data files, and since it allows manual wiping of data files, which is sometimes necessary if you accidentally start your server and create your first save without Oxide installed because then no plugins detect the wipe.

Thank you so much for the very detailed response, much appreciated! :))

Merged post

{
  "Filenames, without .json": [
    "*", //Will wipe all the datafiles under ~/oxide/data directory (except Oxide's itself) AND subdirectories
    "SomeDirectoryName/*" //Will wipe all the datafiles inside ~/oxide/data/SomeDirectoryName directory
  ]
}

Just another quick one. In case if I would like to wipe only a specified file under SomeDirectoryName: instead using SomeDirectoryName/* will have to use the file name I want to wipe? So SomeDirectoryName/SomeFileName.json? This way any other files would be untouched under SomeDirectoryName folder?

Thank you

xTheLastPhoenix

Thank you so much for the very detailed response, much appreciated! :))

Merged post

{
  "Filenames, without .json": [
    "*", //Will wipe all the datafiles under ~/oxide/data directory (except Oxide's itself) AND subdirectories
    "SomeDirectoryName/*" //Will wipe all the datafiles inside ~/oxide/data/SomeDirectoryName directory
  ]
}

Just another quick one. In case if I would like to wipe only a specified file under SomeDirectoryName: instead using SomeDirectoryName/* will have to use the file name I want to wipe? So SomeDirectoryName/SomeFileName.json? This way any other files would be untouched under SomeDirectoryName folder?

Thank you

Yes but without the .json on the end of it.

Yes yes, figured it out, thank you! :)

Locked automatically