I am quite curious for this one. I currently have everything loaded into plugin memory (basically a map with a (player) uuid as a key and a specific object (encapsulation) as a value). The value basically contains pretty much everything that would be needed for the player. In order to make this restart persistent, since map contents are removed (not removed but you get the point) when the plugin disables, I load contents to file and load them back on enable. When saving data, every content of the file is deleted so as not to cause any duplicate issues in case some data was removed from the map and not from file. Would it be less efficient (performance wise) to store data on file and load them back from it when I need to use it, everyitme? One benefit of this would be that in case of a crash, data would already be saved and I would no longer require to have a repeating task to save data every X seconds. The task basically acted as a fail safe for if a crash occured and the on disable method wouldn't execute. Data would already be saved so no issue there. Though, performance is being hurt with this task, a bit. Another benefit would be that I wouldn't load everything into memory and would only get something when I need it (though this may happen quite often). I am unsure whether I have a wrong perspective about something, so I'd appreciate any feedback and advice on this. Thank you in advance.