Hi everyone. I have some sort of loadout system, where player decides himself what weapons should be given him on spawn. I have a weapon table like
soc.weps = {
[101] = {
class = "weapon_fists",
name = "Hands",
price = 0,
model = "models/weapons/w_hands.mdl",
},
[102] = {
class = "weapon_physgun",
name = "Physgun",
price = 0,
model = "models/weapons/w_superphyscannon.mdl",
},
[103] = {
class = "gmod_camera",
name = "Camera",
price = 0,
model = "models/maxofs2d/camera.mdl",
...
so each player has a table representing his loadout
ply.soc_loadout = {101, 102, 103}
So here is the question - is it okay to use file based database in that case? Is it good to system to store about 8,000 (approximated amount of unique players joined to server over last 6 months) files 1Kb each? Or probably I should create a SQL table with 2 columns (SteamID, JSON with loadout)?