I'm confused of how I should do to store data in a local server and retrieve it.
In my game all users may add somenthing to a certain array, like a guild chest. My problem is that I always create references to the array in the server, so it never saves the data properly. Also it doesnt update the data, I need to close everything and open it again.
What should I do /o\ ?