of     1   

ALLCAPSUSERNAME
#182319601Sunday, January 24, 2016 6:08 PM GMT

Probably a simple question. What's the best way to go about storing data serverside that the client cannot see or access? It needs to be able to be edited several times in a minute. As far as I see it, there are two main options: One - Use a selection of Number and String values in ServerStorage. As it is dealing with instances, I thought this might not be ideal. Two - Use a global variable table to store everything. As the table is stored on the global scope, I thought this might lag the game. So, which of these methods is the best? Unless theres another way to do it, maybe using ModuleScripts.
Hedr0n
#182319947Sunday, January 24, 2016 6:12 PM GMT

Neither. Use a private metatable
ALLCAPSUSERNAME
#182327426Sunday, January 24, 2016 7:49 PM GMT

I looked up metatables before. Isn't it basically just a way to run a function when you modify a table? If not, can someone link me to a guide that explains how i use them in any useful way?
ALLCAPSUSERNAME
#182329325Sunday, January 24, 2016 8:13 PM GMT

Bump
128Gigabytes
#182329536Sunday, January 24, 2016 8:17 PM GMT

I would go with instances rather than global variables It provides more flexibility (Or rather, easier flexibility) and this is more opinion but it also looks cleaner.
ALLCAPSUSERNAME
#182331428Sunday, January 24, 2016 8:41 PM GMT

Bump
ALLCAPSUSERNAME
#182345227Sunday, January 24, 2016 11:53 PM GMT

Bump2

    of     1