Angel 7 Report post Posted February 16, 2018 Good morning, Just playing around with the window.localStorage to try to save some basic settings (default skin, vehicle colour). This seems to be working, but the data is lost when restarting the game. Turns out that if a CachePath (in CefSettings) is not provided to CEF, it runs in incognito mode. So my suggestion is that there is an option to enable a persistent cache. This would allow the server creators to pass off storage of non critical data (skins, colours, etc) to the client. The more that can be distributed to the client, the less that needs to be stored on the server. Share this post Link to post Share on other sites
ragempdev 651 Report post Posted February 16, 2018 Check mp.storage at clientside, it suits your needs. 1 Share this post Link to post Share on other sites
Angel 7 Report post Posted February 17, 2018 thanks - just a case of RTFM. hahaha Share this post Link to post Share on other sites
GreenFanta 15 Report post Posted March 11, 2018 FYI: LocalStorage will flush when user closes client. SessionStorage will flush when server restart. 1 Share this post Link to post Share on other sites