Hello guys!
Looking to delete a previously created file in the Data.
I have a Townie Plugin and I am storing each town in an individual json file. But if a town is disbanded I need the ability to delete the json file for that town. How do I do this?
I am guessing it would look something like:
Interface.Oxide.DataFileSystem.DeleteObject()
Just curious as I can't find anything in the docs regarding file deletion.
Looking to delete a previously created file in the Data.
I have a Townie Plugin and I am storing each town in an individual json file. But if a town is disbanded I need the ability to delete the json file for that town. How do I do this?
I am guessing it would look something like:
Interface.Oxide.DataFileSystem.DeleteObject()
Just curious as I can't find anything in the docs regarding file deletion.