Method to delete data files?Solved
internal static void Reset(ulong Furnaceid)
            {

                FurnaceData data = Interface.Oxide.DataFileSystem.ReadObject<FurnaceData>($"Furnaces/{Furnaceid}");

                if (data == null) return;

                data = new FurnaceData();

                data.Save(Furnaceid);
                FurnaceStats.Remove(Furnaceid);
            }

I have this and I want to have the corresponding data file deleted from the data folder. How can I do this?

No, you can only nullify them. There is no file system access to delete files via a plugin with the sandbox enabled.
5e13a8d5b2bc5.jpg Wulf
No, you can only nullify them. There is no file system access to delete files via a plugin with the sandbox enabled.

ok, thanks. :)

Locked automatically