Is there a way to delete a file in the oxide data folder lets say playerdata?
Lets say I have a folder structure like so BanManager/Bans/{steamid}
Is there a way to delete a file so if I unban someone that it deletes the steamid file?
Solved DataFile deletion from plugin?
Discussion in 'Rust Development' started by Austinv900, Oct 3, 2016.
-
nope..you have no access to System.IO, and the DataFileSystem has only creation or modify commands.
-
I suggest using an SQLite database if you need something like this.
-
Still learning SQLite and MySQL unfortunately. Thanks guys
