How can i remove DataFile?
Or like at least, how to change folder?
Cause i have file: "*****/{player.userID}", and i need to remove this file, or change location of this file like "*****/Closed/{player.userID}".
Deleting/moving a datafile?
Discussion in 'Rust Development' started by HOUGAN_Y, Aug 21, 2017.
-
Wulf Community Admin
You can null out the datafile or manually remove it while the plugin isn't loaded. To set a folder, just add the folder to the name.
-
Cause i have checks like: if ****.ExistsDataFile, then.
And i need to remove data file while plugin work. -
Wulf Community Admin
-
/s.add Hougan -> That will create file for me
and /s.remove Hougan -> That will remove file for me
Cause i have a lot of files of one plugin, something like that.
So, i am looking at, how to remove file, or like as Plan "B", to change location, and ****.ExistDataFile(****/{player.userID}) will not find it, cause it will be in (****/Deleted/{player.userID}). -
-
So topic is not close, i need idea how i can delete / move Data File -