It looks like getModData() can be used to attach custom data to a specific object. Is there a standardized way to persist information outside of this? For instance,
It seems a few mods use get getGameTime():getModData(), which seems to store the information in map_t.bin, but I've read that this data could potentially be deleted during a soft reset.
Another option would be to use the file system, possibly through bcUtils.writeINI/bcUtils.readINI.
Does anyone have any information on this, and how to go about persisting this data "server side"?