So I want to do messaging system for my game and right now I store the data like this:
local profile = {
Data = {
OpenedChats = {
["System"]
},
Messages = {
["System"] = {["ADAWDAWD"]},
["Player"] = {["Hi", "Nope"]},
}
}
}
This is all like a placeholder, but I would like to hear opinions on how to improve this system
for example, how to store the data better because I feel as if when you have messaged a lot with a player it will get too big for the data store and stuff like efficiency and stuff like that.
Also this is all done with Profile Service module!
And maybe later on I want to also store dates and hours the msg were sent etc…